Skip to content

Commit

Permalink
test(HTTPError403): add default state AVT (carbon-design-system#5109)
Browse files Browse the repository at this point in the history
* test(HTTPError403): add default state AVT

* Update cspell.json

---------

Co-authored-by: Anna Wen <[email protected]>
  • Loading branch information
makafsal and annawen1 committed May 16, 2024
1 parent c8f60e5 commit 2534568
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions e2e/components/HTTPError403/HTTPError403-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* Copyright IBM Corp. 2024, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

import { expect, test } from '@playwright/test';
import { visitStory } from '../../test-utils/storybook';

test.describe('HTTPError403 @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'HTTPError403',
id: 'ibm-products-patterns-http-errors-httperror403--with-all-props-set',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations('HTTPError403 @avt-default-state');
});
});

0 comments on commit 2534568

Please sign in to comment.