Fixed tests for copy changes

This commit is contained in:
Rish 2019-11-13 09:43:41 +05:30
parent e68002b0db
commit 9ff39e5f0a
1 changed files with 4 additions and 4 deletions

View File

@ -348,9 +348,9 @@ describe('Acceptance: Editor', function () {
'publish menu is not shown after closed'
).to.not.exist;
// expect countdown to show warning, that post will go live in x minutes
// expect countdown to show warning, that post is scheduled to be published and sent in x minutes
expect(find('[data-test-schedule-countdown]').textContent.trim(), 'notification countdown')
.to.contain('Post will go live in');
.to.contain('Scheduled to be published and sent');
expect(
find('[data-test-publishmenu-trigger]').textContent.trim(),
@ -540,9 +540,9 @@ describe('Acceptance: Editor', function () {
// Dropdown menu should be 'Update Post' and 'Unschedule'
expect(find('[data-test-publishmenu-trigger]').textContent.trim(), 'text in save button for scheduled post')
.to.equal('Scheduled');
// expect countdown to show warning, that post will go live in x minutes
// expect countdown to show warning, that post is scheduled to be published and sent in x minutes
expect(find('[data-test-schedule-countdown]').textContent.trim(), 'notification countdown')
.to.contain('Post will go live in');
.to.contain('Scheduled to be published and sent');
});
it('shows author token input and allows changing of authors in PSM', async function () {