mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fix tests
no issue
- 19ca4ca0b7
contained a wording change that was not taken into account in the tests
This commit is contained in:
parent
e34c6a14c4
commit
bb19365a37
1 changed files with 4 additions and 4 deletions
|
@ -349,9 +349,9 @@ describe('Acceptance: Editor', function () {
|
||||||
'publish menu is not shown after closed'
|
'publish menu is not shown after closed'
|
||||||
).to.not.exist;
|
).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')
|
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(
|
expect(
|
||||||
find('[data-test-publishmenu-trigger]').text().trim(),
|
find('[data-test-publishmenu-trigger]').text().trim(),
|
||||||
|
@ -541,9 +541,9 @@ describe('Acceptance: Editor', function () {
|
||||||
// Dropdown menu should be 'Update Post' and 'Unschedule'
|
// Dropdown menu should be 'Update Post' and 'Unschedule'
|
||||||
expect(find('[data-test-publishmenu-trigger]').text().trim(), 'text in save button for scheduled post')
|
expect(find('[data-test-publishmenu-trigger]').text().trim(), 'text in save button for scheduled post')
|
||||||
.to.equal('Scheduled');
|
.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')
|
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 () {
|
it('shows author token input and allows changing of authors in PSM', async function () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue