diff --git a/packages/beeq/src/components/alert/__tests__/bq-alert.e2e.ts b/packages/beeq/src/components/alert/__tests__/bq-alert.e2e.ts index 7cb388247..9fc5350ca 100644 --- a/packages/beeq/src/components/alert/__tests__/bq-alert.e2e.ts +++ b/packages/beeq/src/components/alert/__tests__/bq-alert.e2e.ts @@ -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 () => { @@ -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 () => {