mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
Fixed tests for copy changes
This commit is contained in:
parent
fd26864c28
commit
17ef3efcef
@ -348,9 +348,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 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')
|
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(
|
expect(
|
||||||
find('[data-test-publishmenu-trigger]').textContent.trim(),
|
find('[data-test-publishmenu-trigger]').textContent.trim(),
|
||||||
@ -540,9 +540,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]').textContent.trim(), 'text in save button for scheduled post')
|
expect(find('[data-test-publishmenu-trigger]').textContent.trim(), 'text in save button for scheduled post')
|
||||||
.to.equal('Scheduled');
|
.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')
|
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 () {
|
it('shows author token input and allows changing of authors in PSM', async function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user