1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00

Fix tests

no issue
- 150f68e826 contained a wording change that was not taken into account in the tests
This commit is contained in:
Kevin Ansfield 2018-05-17 15:18:09 +01:00
parent 4b45a95cd4
commit faba3f59e2

View file

@ -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 () {