-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(demo-integrations):
AlertService
fix cypress-test (#1730)
- Loading branch information
1 parent
07ce038
commit cb3ff8b
Showing
3 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
projects/demo-integrations/cypress/tests/core/alert-service/alert-service.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
describe('AlertService', () => { | ||
beforeEach(() => { | ||
cy.viewport(720, 720); | ||
}); | ||
|
||
it('is shown correctly', () => { | ||
cy.tuiVisit(`/services/alert-service`); | ||
|
||
cy.get(`tui-alerts-example-1 button`).first().click().wait(1000); | ||
|
||
cy.get('tui-alert').first().matchImageSnapshot('alert'); | ||
}); | ||
}); |
13 changes: 0 additions & 13 deletions
13
.../demo-integrations/cypress/tests/core/notifications-service/notifications-service.spec.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters