mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed save test
no issue
This commit is contained in:
parent
4f8e9b9bd8
commit
2e1fc80849
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ describe('Acceptance: Settings - Code-Injection', function () {
|
|||
let params = JSON.parse(lastRequest.requestBody);
|
||||
|
||||
expect(params.settings.findBy('key', 'codeinjection_head').value).to.equal('');
|
||||
expect(find('[data-test-save-button]').textContent.trim(), 'save button text').to.equal('Saved');
|
||||
expect(find('[data-test-save-button]').textContent.trim(), 'save button text').to.equal('Save');
|
||||
|
||||
// CMD-S shortcut works
|
||||
await triggerEvent('.gh-app', 'keydown', {
|
||||
|
@ -101,7 +101,7 @@ describe('Acceptance: Settings - Code-Injection', function () {
|
|||
params = JSON.parse(newRequest.requestBody);
|
||||
|
||||
expect(params.settings.findBy('key', 'codeinjection_head').value).to.equal('');
|
||||
expect(find('[data-test-save-button]').textContent.trim(), 'save button text').to.equal('Saved');
|
||||
expect(find('[data-test-save-button]').textContent.trim(), 'save button text').to.equal('Save');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue