From a4e8efb63981d46b7e3b4900219d414a6361ddbe Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Fri, 9 Oct 2020 17:15:21 +0200 Subject: [PATCH] Fixed test for scheduling copy change no refs. --- tests/acceptance/editor-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/editor-test.js b/tests/acceptance/editor-test.js index 9e6a91ac6..0a4ef1abc 100644 --- a/tests/acceptance/editor-test.js +++ b/tests/acceptance/editor-test.js @@ -361,7 +361,7 @@ describe('Acceptance: Editor', function () { expect( find('[data-test-editor-post-status]').textContent.trim(), 'scheduled post status' - ).to.match(/Will be published in (4|5) minutes./); + ).to.match(/Will be published in (4|5) minutes/); // Re-schedule await click('[data-test-publishmenu-trigger]'); @@ -388,7 +388,7 @@ describe('Acceptance: Editor', function () { expect( find('[data-test-editor-post-status]').textContent.trim(), 'scheduled status text' - ).to.match(/Will be published in (4|5) minutes\./); + ).to.match(/Will be published in (4|5) minutes/); // unschedule await click('[data-test-publishmenu-trigger]');