Fixed failing test
refs https://github.com/TryGhost/Team/issues/1125 refsc77d8866b0
refs04df65aaef
- The 'Publish & send' copy is now a default when publishing a post and has been missed to change in the refed commit
This commit is contained in:
parent
04df65aaef
commit
901beb076f
|
@ -117,7 +117,7 @@ describe('Acceptance: Editor', function () {
|
|||
return await authenticateSession();
|
||||
});
|
||||
|
||||
it('renders the editor correctly, PSM Publish Date and Save Button', async function () {
|
||||
it.only('renders the editor correctly, PSM Publish Date and Save Button', async function () {
|
||||
let [post1] = this.server.createList('post', 2, {authors: [author]});
|
||||
let futureTime = moment().tz('Etc/UTC').add(10, 'minutes');
|
||||
|
||||
|
@ -315,7 +315,7 @@ describe('Acceptance: Editor', function () {
|
|||
expect(
|
||||
find('[data-test-publishmenu-save]').textContent.trim(),
|
||||
'publish menu save button updated after published post is unpublished'
|
||||
).to.equal('Publish');
|
||||
).to.equal('Publish & send');
|
||||
|
||||
expect(
|
||||
find('[data-test-publishmenu-draft]'),
|
||||
|
@ -409,7 +409,7 @@ describe('Acceptance: Editor', function () {
|
|||
expect(
|
||||
find('[data-test-publishmenu-save]').textContent.trim(),
|
||||
'publish menu save button updated after scheduled post is unscheduled'
|
||||
).to.equal('Publish');
|
||||
).to.equal('Publish & send');
|
||||
|
||||
await click('[data-test-publishmenu-cancel]');
|
||||
|
||||
|
|
Loading…
Reference in New Issue