mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
Fixed Slack integration test
refs 63b1e1d385
- test was using an old `/settings/design` route as something to navigate away to but the behaviour no longer matched the test expectations
- switched to using `/settings` as a more stable route
This commit is contained in:
parent
63b1e1d385
commit
463a1ea763
@ -123,14 +123,14 @@ describe('Acceptance: Settings - Integrations - Slack', function () {
|
||||
await fillIn('[data-test-slack-url-input]', 'https://hooks.slack.com/services/1275958430');
|
||||
await blur('[data-test-slack-url-input]');
|
||||
|
||||
await visit('/settings/design');
|
||||
await visit('/settings');
|
||||
|
||||
expect(findAll('.fullscreen-modal').length, 'modal exists').to.equal(1);
|
||||
|
||||
// Leave without saving
|
||||
await click('.fullscreen-modal [data-test-leave-button]');
|
||||
|
||||
expect(currentURL(), 'currentURL').to.equal('/settings/design');
|
||||
expect(currentURL(), 'currentURL').to.equal('/settings');
|
||||
|
||||
await visit('/integrations/slack');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user