From bb19365a37ec57c4c680cc3dea19c55a4e4bda87 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Thu, 17 May 2018 15:18:09 +0100 Subject: [PATCH] Fix tests no issue - https://github.com/TryGhost/Ghost-Admin/commit/19ca4ca0b7daaeed2709a2c3552041169681c197 contained a wording change that was not taken into account in the tests --- ghost/admin/tests/acceptance/editor-test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ghost/admin/tests/acceptance/editor-test.js b/ghost/admin/tests/acceptance/editor-test.js index c6ccf45dc1..0b1ba2ce33 100644 --- a/ghost/admin/tests/acceptance/editor-test.js +++ b/ghost/admin/tests/acceptance/editor-test.js @@ -349,9 +349,9 @@ describe('Acceptance: Editor', function () { 'publish menu is not shown after closed' ).to.not.exist; - // expect countdown to show warning, that post will be published in x minutes + // expect countdown to show warning, that post will go live in x minutes expect(find('[data-test-schedule-countdown]').text().trim(), 'notification countdown') - .to.contain('Post will be published in'); + .to.contain('Post will go live in'); expect( find('[data-test-publishmenu-trigger]').text().trim(), @@ -541,9 +541,9 @@ describe('Acceptance: Editor', function () { // Dropdown menu should be 'Update Post' and 'Unschedule' expect(find('[data-test-publishmenu-trigger]').text().trim(), 'text in save button for scheduled post') .to.equal('Scheduled'); - // expect countdown to show warning, that post will be published in x minutes + // expect countdown to show warning, that post will go live in x minutes expect(find('[data-test-schedule-countdown]').text().trim(), 'notification countdown') - .to.contain('Post will be published in'); + .to.contain('Post will go live in'); }); it('shows author token input and allows changing of authors in PSM', async function () {