Skip to content

Commit ba3a383

Browse files
committed
bump playwright to 1.39 (fix issue with z-index test)
No big feature we need, I just had this on my to-do list since upgrading other deps. I had noticed the z-index test didn't like 1.39 and was curious if it was an easy fix. Luckily it was. They changed the message on a thrown error we were matching on.
1 parent bd65b9d commit ba3a383

File tree

3 files changed

+25
-25
lines changed

3 files changed

+25
-25
lines changed

app/test/e2e/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export async function expectObscured(locator: Locator) {
154154
// fail fast if not clickable.
155155
await expect(
156156
async () => await locator.click({ trial: true, timeout: 50 })
157-
).rejects.toThrow(/locator.click: Timeout 50ms exceeded/)
157+
).rejects.toThrow(/Timeout 50ms exceeded/)
158158
}
159159

160160
export const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms))

package-lock.json

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"devDependencies": {
7676
"@ladle/react": "^3.2.1",
7777
"@mswjs/http-middleware": "^0.8.0",
78-
"@playwright/test": "^1.38.1",
78+
"@playwright/test": "^1.39.0",
7979
"@testing-library/dom": "^9.3.3",
8080
"@testing-library/jest-dom": "^6.1.4",
8181
"@testing-library/react": "^14.0.0",

0 commit comments

Comments
 (0)