Fixed test for scheduling copy change

no refs.
This commit is contained in:
Peter Zimon 2020-10-09 17:15:21 +02:00
parent 2654dcc432
commit a4e8efb639
1 changed files with 2 additions and 2 deletions

View File

@ -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]');