-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
93 changed files
with
747 additions
and
1,167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@primer/react': minor | ||
--- | ||
|
||
Modules under an internal export pattern are not able to be imported from outside @primer/react |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@primer/react': patch | ||
--- | ||
|
||
Update PageLayout.Pane to provide a warning instead of an error when overflow is detected and no label has been provided |
This file was deleted.
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...nts/IconButton.test.ts-snapshots/IconButton-Invisible-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+0 Bytes
(100%)
...nts/IconButton.test.ts-snapshots/IconButton-Invisible-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+0 Bytes
(100%)
...ts/components/IconButton.test.ts-snapshots/IconButton-Invisible-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-6 Bytes
(100%)
...r.test.ts-snapshots/PageHeader-With-Leading-and-Trailing-Actions-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4 Bytes
(100%)
....test.ts-snapshots/PageHeader-With-Leading-and-Trailing-Actions-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+220 KB
...out.test.ts-snapshots/PageLayout-Custom-Sticky-Header-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+220 KB
...eLayout.test.ts-snapshots/PageLayout-Custom-Sticky-Header-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+215 KB
....test.ts-snapshots/PageLayout-Custom-Sticky-Header-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+216 KB
...nts/PageLayout.test.ts-snapshots/PageLayout-Custom-Sticky-Header-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+220 KB
...out.test.ts-snapshots/PageLayout-Custom-Sticky-Header-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+215 KB
...ut.test.ts-snapshots/PageLayout-Custom-Sticky-Header-light-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+218 KB
...test.ts-snapshots/PageLayout-Custom-Sticky-Header-light-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+215 KB
...ts/PageLayout.test.ts-snapshots/PageLayout-Custom-Sticky-Header-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+215 KB
...ut.test.ts-snapshots/PageLayout-Custom-Sticky-Header-light-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.8 KB
...nents/PageLayout.test.ts-snapshots/PageLayout-Default-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.8 KB
...omponents/PageLayout.test.ts-snapshots/PageLayout-Default-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11 KB
...ts/PageLayout.test.ts-snapshots/PageLayout-Default-dark-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.8 KB
...shots/components/PageLayout.test.ts-snapshots/PageLayout-Default-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.8 KB
...nents/PageLayout.test.ts-snapshots/PageLayout-Default-dark-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.9 KB
...ents/PageLayout.test.ts-snapshots/PageLayout-Default-light-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11 KB
...s/PageLayout.test.ts-snapshots/PageLayout-Default-light-high-contrast-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.9 KB
...hots/components/PageLayout.test.ts-snapshots/PageLayout-Default-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.9 KB
...ents/PageLayout.test.ts-snapshots/PageLayout-Default-light-tritanopia-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+150 KB
....test.ts-snapshots/PageLayout-Nested-Scroll-Container-dark-colorblind-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+151 KB
...yout.test.ts-snapshots/PageLayout-Nested-Scroll-Container-dark-dimmed-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+147 KB
...st.ts-snapshots/PageLayout-Nested-Scroll-Container-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+148 KB
.../PageLayout.test.ts-snapshots/PageLayout-Nested-Scroll-Container-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+150 KB
....test.ts-snapshots/PageLayout-Nested-Scroll-Container-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+148 KB
...test.ts-snapshots/PageLayout-Nested-Scroll-Container-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+148 KB
...t.ts-snapshots/PageLayout-Nested-Scroll-Container-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+147 KB
...PageLayout.test.ts-snapshots/PageLayout-Nested-Scroll-Container-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+148 KB
...test.ts-snapshots/PageLayout-Nested-Scroll-Container-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+43.9 KB
.../PageLayout.test.ts-snapshots/PageLayout-Pull-Request-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+43.1 KB
...ents/PageLayout.test.ts-snapshots/PageLayout-Pull-Request-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+42.9 KB
...geLayout.test.ts-snapshots/PageLayout-Pull-Request-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+43.5 KB
.../components/PageLayout.test.ts-snapshots/PageLayout-Pull-Request-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+43.9 KB
.../PageLayout.test.ts-snapshots/PageLayout-Pull-Request-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+43.6 KB
...PageLayout.test.ts-snapshots/PageLayout-Pull-Request-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+43 KB
...eLayout.test.ts-snapshots/PageLayout-Pull-Request-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+43.5 KB
...components/PageLayout.test.ts-snapshots/PageLayout-Pull-Request-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+43.5 KB
...PageLayout.test.ts-snapshots/PageLayout-Pull-Request-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.53 KB
...ageLayout.test.ts-snapshots/PageLayout-Resizable-Pane-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.57 KB
...ts/PageLayout.test.ts-snapshots/PageLayout-Resizable-Pane-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.73 KB
...Layout.test.ts-snapshots/PageLayout-Resizable-Pane-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.47 KB
...omponents/PageLayout.test.ts-snapshots/PageLayout-Resizable-Pane-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.53 KB
...ageLayout.test.ts-snapshots/PageLayout-Resizable-Pane-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.61 KB
...geLayout.test.ts-snapshots/PageLayout-Resizable-Pane-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.63 KB
...ayout.test.ts-snapshots/PageLayout-Resizable-Pane-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.58 KB
...mponents/PageLayout.test.ts-snapshots/PageLayout-Resizable-Pane-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.61 KB
...geLayout.test.ts-snapshots/PageLayout-Resizable-Pane-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+11.6 KB
...s/PageLayout-Scroll-Container-Within-Page-Layout-Pane-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+11.6 KB
...shots/PageLayout-Scroll-Container-Within-Page-Layout-Pane-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+11.6 KB
...ageLayout-Scroll-Container-Within-Page-Layout-Pane-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+11.5 KB
...ts-snapshots/PageLayout-Scroll-Container-Within-Page-Layout-Pane-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+11.6 KB
...s/PageLayout-Scroll-Container-Within-Page-Layout-Pane-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+11.7 KB
.../PageLayout-Scroll-Container-Within-Page-Layout-Pane-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+11.6 KB
...geLayout-Scroll-Container-Within-Page-Layout-Pane-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+11.6 KB
...s-snapshots/PageLayout-Scroll-Container-Within-Page-Layout-Pane-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+11.7 KB
.../PageLayout-Scroll-Container-Within-Page-Layout-Pane-light-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+221 KB
...s/PageLayout.test.ts-snapshots/PageLayout-Sticky-Pane-dark-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+223 KB
...nents/PageLayout.test.ts-snapshots/PageLayout-Sticky-Pane-dark-dimmed-linux.png
Oops, something went wrong.
Binary file added
BIN
+217 KB
...ageLayout.test.ts-snapshots/PageLayout-Sticky-Pane-dark-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+219 KB
...s/components/PageLayout.test.ts-snapshots/PageLayout-Sticky-Pane-dark-linux.png
Oops, something went wrong.
Binary file added
BIN
+221 KB
...s/PageLayout.test.ts-snapshots/PageLayout-Sticky-Pane-dark-tritanopia-linux.png
Oops, something went wrong.
Binary file added
BIN
+219 KB
.../PageLayout.test.ts-snapshots/PageLayout-Sticky-Pane-light-colorblind-linux.png
Oops, something went wrong.
Binary file added
BIN
+218 KB
...geLayout.test.ts-snapshots/PageLayout-Sticky-Pane-light-high-contrast-linux.png
Oops, something went wrong.
Binary file added
BIN
+218 KB
.../components/PageLayout.test.ts-snapshots/PageLayout-Sticky-Pane-light-linux.png
Oops, something went wrong.
Binary file added
BIN
+219 KB
.../PageLayout.test.ts-snapshots/PageLayout-Sticky-Pane-light-tritanopia-linux.png
Oops, something went wrong.
Binary file modified
BIN
-24 Bytes
(100%)
...nents/TextInput.test.ts-snapshots/TextInput-With-Trailing-Action-dark-linux.png
Oops, something went wrong.
Binary file modified
BIN
+5 Bytes
(100%)
...ents/TextInput.test.ts-snapshots/TextInput-With-Trailing-Action-light-linux.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,268 @@ | ||
import {test, expect} from '@playwright/test' | ||
import type {Page} from '@playwright/test' | ||
import {visit} from '../test-helpers/storybook' | ||
import {themes} from '../test-helpers/themes' | ||
|
||
const isInViewPort = (page: Page, boundingBox: {x: number; y: number; width: number; height: number}) => { | ||
let width | ||
let height | ||
const viewportSize = page.viewportSize() | ||
if (viewportSize !== null) { | ||
width = viewportSize.width | ||
height = viewportSize.height | ||
} | ||
|
||
return ( | ||
width !== undefined && | ||
height !== undefined && | ||
boundingBox.x >= 0 && | ||
boundingBox.y >= 0 && | ||
boundingBox.x + boundingBox.width <= width && | ||
boundingBox.y + boundingBox.height <= height | ||
) | ||
} | ||
|
||
test.describe('PageLayout', () => { | ||
test.describe('Default', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout--default', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`PageLayout.Default.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout--default', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('Pull Request', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout-features--pull-request', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`PageLayout.Pull Request.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout-features--pull-request', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('Sticky Pane', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout-features--sticky-pane', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`PageLayout.Sticky Pane.${theme}.png`) | ||
|
||
const content = page.getByTestId('content3') | ||
content.scrollIntoViewIfNeeded() | ||
|
||
const paragraphRect = await page.getByTestId('paragraph0').boundingBox() | ||
if (paragraphRect) { | ||
expect(isInViewPort(page, paragraphRect)).toBe(true) | ||
} | ||
}) | ||
|
||
test('non sticky pane', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout-features--sticky-pane', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
args: { | ||
sticky: false, | ||
numParagraphsInPane: '6', | ||
numParagraphsInContent: '30', | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot() | ||
|
||
const content3 = page.getByTestId('content3') | ||
await content3.scrollIntoViewIfNeeded() | ||
const paragraphRect = await page.getByTestId('paragraph0').boundingBox() | ||
if (paragraphRect) { | ||
expect(isInViewPort(page, paragraphRect)).toBe(true) | ||
} | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout-features--sticky-pane', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('Nested Scroll Container', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout-features--nested-scroll-container', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`PageLayout.Nested Scroll Container.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout-features--nested-scroll-container', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('Custom Sticky Header', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout-features--custom-sticky-header', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`PageLayout.Custom Sticky Header.${theme}.png`) | ||
|
||
const content = page.getByTestId('content3') | ||
content.scrollIntoViewIfNeeded() | ||
|
||
const paragraphBoundaries = await page.getByTestId('paragraph0').boundingBox() | ||
const stickyHeaderBoundaries = await page.getByTestId('sticky-header').boundingBox() | ||
if (paragraphBoundaries) { | ||
expect(isInViewPort(page, paragraphBoundaries)).toBe(true) | ||
} | ||
|
||
if (stickyHeaderBoundaries) { | ||
expect(isInViewPort(page, stickyHeaderBoundaries)).toBe(true) | ||
} | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout-features--custom-sticky-header', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('Resizable Pane', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout-features--resizable-pane', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot(`PageLayout.Resizable Pane.${theme}.png`) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout-features--resizable-pane', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
|
||
test.describe('Scroll Container Within Page Layout Pane', () => { | ||
for (const theme of themes) { | ||
test.describe(theme, () => { | ||
test('default @vrt', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout-features--scroll-container-within-page-layout-pane', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
|
||
// Default state | ||
expect(await page.screenshot()).toMatchSnapshot( | ||
`PageLayout.Scroll Container Within Page Layout Pane.${theme}.png`, | ||
) | ||
}) | ||
|
||
test('axe @aat', async ({page}) => { | ||
await visit(page, { | ||
id: 'components-pagelayout-features--scroll-container-within-page-layout-pane', | ||
globals: { | ||
colorScheme: theme, | ||
}, | ||
}) | ||
await expect(page).toHaveNoViolations() | ||
}) | ||
}) | ||
} | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.