Skip to content

Commit

Permalink
test(CreateFullPage): add default state avt test (carbon-design-syste…
Browse files Browse the repository at this point in the history
…m#5147)

* test(CreateFullPage): add default state avt test

* test(CreateFullPage): add default state avt test
  • Loading branch information
devadula-nandan authored May 13, 2024
1 parent 0e22dd2 commit aa48146
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions e2e/components/CreateFlows/CreateFullPage-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// cspell:words createfullpage

/**
* 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('CreateFullPage @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'CreateFullPage',
id: 'ibm-products-patterns-create-flows-createfullpage--create-full-page',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations(
'CreateFullPage @avt-default-state'
);
});
});

0 comments on commit aa48146

Please sign in to comment.