From f2e8cc3926b6024a52c46f48e82ca860e9e0a0ae Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Thu, 21 Oct 2021 13:16:20 +0100 Subject: [PATCH] Fixed tests refs https://github.com/TryGhost/Admin/commit/b474e00cf8cc8c4b97f626cf32ad6fc679a13af0 - the editor test state has no email setup so the publish button will show "Publish" rather than "Publish & send" --- ghost/admin/tests/acceptance/editor-test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ghost/admin/tests/acceptance/editor-test.js b/ghost/admin/tests/acceptance/editor-test.js index 21ce69cea9..1257933121 100644 --- a/ghost/admin/tests/acceptance/editor-test.js +++ b/ghost/admin/tests/acceptance/editor-test.js @@ -206,7 +206,7 @@ describe('Acceptance: Editor', function () { expect( find('[data-test-publishmenu-save]').textContent.trim(), 'draft post publish button text' - ).to.equal('Publish & send'); + ).to.equal('Publish'); // Publish the post await click('[data-test-publishmenu-save]'); @@ -315,7 +315,7 @@ describe('Acceptance: Editor', function () { expect( find('[data-test-publishmenu-save]').textContent.trim(), 'publish menu save button updated after published post is unpublished' - ).to.equal('Publish & send'); + ).to.equal('Publish'); expect( find('[data-test-publishmenu-draft]'), @@ -409,7 +409,7 @@ describe('Acceptance: Editor', function () { expect( find('[data-test-publishmenu-save]').textContent.trim(), 'publish menu save button updated after scheduled post is unscheduled' - ).to.equal('Publish & send'); + ).to.equal('Publish'); await click('[data-test-publishmenu-cancel]');