Fixed failing test

refs https://github.com/TryGhost/Team/issues/1125
refs c77d8866b0
refs 04df65aaef

- 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:
Naz 2021-10-07 13:09:55 +02:00
parent 04df65aaef
commit 901beb076f
1 changed files with 3 additions and 3 deletions

View File

@ -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]');