Skip to content

Commit

Permalink
test(interstitialscreenviewmodule): add default state AVT check (carb…
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeethababu9223 authored May 15, 2024
1 parent b28dc6c commit e172e90
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"disttags",
"dragbar",
"draggable",
"interstitialscreenviewmodule",
"draghandle",
"dragmode",
"editinplace",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* Copyright IBM Corp. 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('InterstitialScreenViewModule @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'InterstitialScreenViewModule',
id: 'ibm-products-novice-to-pro-interstitial-screen-interstitialscreenviewmodule--interstitial-screen-view-module',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations(
'InterstitialScreenViewModule @avt-default-state'
);
});
});

0 comments on commit e172e90

Please sign in to comment.