Skip to content

Commit

Permalink
fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewJakubowicz committed Oct 6, 2023
1 parent afe6d3c commit 7822fe3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ test.describe('docs/components/styles', () => {

// Wait for the exact playground preview we want to load.
await page.waitForSelector(
'litdev-example[project="v2-docs/components/style/superstyles"] playground-preview [part="preview-loading-indicator"][aria-hidden="true"]'
'litdev-example[project="v3-docs/components/style/superstyles"] playground-preview [part="preview-loading-indicator"][aria-hidden="true"]'
);
// Wait for the loading bar to fade out.
await page.waitForTimeout(250);

await expect(
await page
.locator(
'litdev-example[project="v2-docs/components/style/superstyles"] playground-preview'
'litdev-example[project="v3-docs/components/style/superstyles"] playground-preview'
)
.screenshot()
).toMatchSnapshot('inheritingStylesPlaygroundPreview.png');
Expand Down

0 comments on commit 7822fe3

Please sign in to comment.