Skip to content

Commit

Permalink
Merge branch 'main' into text-input-rtl
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Aug 25, 2022
2 parents 67d16fc + f9a5687 commit f695dd7
Show file tree
Hide file tree
Showing 24 changed files with 759 additions and 838 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.16
16.17
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
37 changes: 37 additions & 0 deletions e2e/components/TreeView/TreeView-test.e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/**
* Copyright IBM Corp. 2016, 2018
*
* 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';

const { expect, test } = require('@playwright/test');
const { themes } = require('../../test-utils/env');
const { snapshotStory, visitStory } = require('../../test-utils/storybook');

test.describe('TreeView', () => {
themes.forEach((theme) => {
test.describe(theme, () => {
test('treeview @vrt', async ({ page }) => {
await snapshotStory(page, {
component: 'TreeView',
id: 'components-treeview--default',
theme,
});
});
});
});

test('accessibility-checker @avt', async ({ page }) => {
await visitStory(page, {
component: 'TreeView',
id: 'components-treeview--default',
globals: {
theme: 'white',
},
});
await expect(page).toHaveNoACViolations('TreeView');
});
});
Loading

0 comments on commit f695dd7

Please sign in to comment.