Skip to content

Commit

Permalink
fix(Alert): fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cata1989 committed Jan 15, 2024
1 parent e004d62 commit cc5bb76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/beeq/src/components/alert/__tests__/bq-alert.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('bq-alert', () => {

const element = await page.find('bq-alert');
expect(element).toEqualAttribute('aria-hidden', 'true');
expect(element).toHaveClass('is-hidden');
expect(element).not.toHaveClass('is-hidden');
});

it('should render as hidden with `open="false"`', async () => {
Expand All @@ -36,7 +36,7 @@ describe('bq-alert', () => {

const element = await page.find('bq-alert');
expect(element).toEqualAttribute('aria-hidden', 'true');
expect(element).toHaveClass('is-hidden');
expect(element).not.toHaveClass('is-hidden');
});

it('should render as open', async () => {
Expand Down

0 comments on commit cc5bb76

Please sign in to comment.