mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Fixed save test
no issue
This commit is contained in:
parent
4f8e9b9bd8
commit
2e1fc80849
@ -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…
Reference in New Issue
Block a user