Skip to content

Commit

Permalink
chore(demo-integrations): AlertService fix cypress-test (#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov authored May 6, 2022
1 parent 07ce038 commit cb3ff8b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
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');
});
});

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
<li i18n>
To pass notification with custom content, you can use
<a
routerLink="/services/notifications-service"
routerLink="/services/alert-service"
fragment="example-template"
tuiLink
>
Expand Down

0 comments on commit cb3ff8b

Please sign in to comment.