0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fixed failing test

refs https://github.com/TryGhost/Team/issues/1125
refs 4f3e340c03

- 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 12:55:08 +02:00
parent fd5e009d29
commit 40269466f2

View file

@ -206,7 +206,7 @@ describe('Acceptance: Editor', function () {
expect( expect(
find('[data-test-publishmenu-save]').textContent.trim(), find('[data-test-publishmenu-save]').textContent.trim(),
'draft post publish button text' 'draft post publish button text'
).to.equal('Publish'); ).to.equal('Publish & send');
// Publish the post // Publish the post
await click('[data-test-publishmenu-save]'); await click('[data-test-publishmenu-save]');