Skip to content

Commit

Permalink
chore: set a viewport size for anvil cmg tests (#4329)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpaten committed Jan 7, 2025
1 parent a98f46f commit fb2cfd6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion e2e/testFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ export async function testSortAzul(
await expect(sortIconLocator).not.toHaveCSS("opacity", "0");
// Save the selected sort icon locator
lastElementSortIconLocator = sortIconLocator;
await expect(false);
}
}
return true;
Expand Down
1 change: 1 addition & 0 deletions playwright_anvil-catalog.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const config: PlaywrightTestConfig = {
use: {
baseURL: "http://localhost:3000/",
screenshot: "only-on-failure",
viewport: { height: 1080, width: 1960 },
},
webServer: {
command:
Expand Down

0 comments on commit fb2cfd6

Please sign in to comment.