mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
Fixed tests
refs b474e00cf8
- the editor test state has no email setup so the publish button will show "Publish" rather than "Publish & send"
This commit is contained in:
parent
b474e00cf8
commit
f2e8cc3926
@ -206,7 +206,7 @@ describe('Acceptance: Editor', function () {
|
||||
expect(
|
||||
find('[data-test-publishmenu-save]').textContent.trim(),
|
||||
'draft post publish button text'
|
||||
).to.equal('Publish & send');
|
||||
).to.equal('Publish');
|
||||
|
||||
// Publish the post
|
||||
await click('[data-test-publishmenu-save]');
|
||||
@ -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 & send');
|
||||
).to.equal('Publish');
|
||||
|
||||
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 & send');
|
||||
).to.equal('Publish');
|
||||
|
||||
await click('[data-test-publishmenu-cancel]');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user