Skip to content

Commit

Permalink
Merge branch 'carbon-design-system:main' into useWebTerminal
Browse files Browse the repository at this point in the history
  • Loading branch information
anamikaanu96 authored May 13, 2024
2 parents f393220 + 03131bb commit 586fdb2
Show file tree
Hide file tree
Showing 7 changed files with 128 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"version": "0.1",
"language": "en",
"dictionaries": [
"contributors",
"html",
"packages"
],
"dictionaries": ["contributors", "html", "packages"],
"dictionaryDefinitions": [
{
"name": "contributors",
Expand Down Expand Up @@ -97,6 +93,7 @@
"editsidepanel",
"emptystate",
"expressivecard",
"fullpageerror",
"gridcell",
"guidebanner",
"haspopup",
Expand Down
24 changes: 24 additions & 0 deletions e2e/components/Checklist/Checklist-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* 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('Checklist @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'Checklist',
id: 'ibm-products-novice-to-pro-checklist--checklist',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations('Checklist @avt-default-state');
});
});
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'
);
});
});
24 changes: 24 additions & 0 deletions e2e/components/EditInPlace/EditInPlace-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* 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('EditInPlace @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'EditInPlace',
id: 'ibm-products-patterns-edit-and-update-editinplace--default',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations('EditInPlace @avt-default-state');
});
});
24 changes: 24 additions & 0 deletions e2e/components/FullPageError/FullPageError-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* 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('FullPageError @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'FullPageError',
id: 'ibm-products-patterns-full-page-error-fullpageerror--full-page-error',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations('FullPageError @avt-default-state');
});
});
26 changes: 26 additions & 0 deletions e2e/components/UserAvatar/UserAvatar-test.avt.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// cspell:words useravatar

/**
* 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('UserAvatar @avt', () => {
test('@avt-default-state', async ({ page }) => {
await visitStory(page, {
component: 'UserAvatar',
id: 'ibm-products-components-user-avatar-useravatar--default',
globals: {
carbonTheme: 'white',
},
});
await expect(page).toHaveNoACViolations('UserAvatar @avt-default-state');
});
});

0 comments on commit 586fdb2

Please sign in to comment.