Fix outdated selector. Add debug info.
This commit is contained in:
committed by
Teffen Ellis
parent
c861a1d796
commit
7f2b1dcd22
@ -8,7 +8,7 @@ describe("browser", true, () => {
|
||||
firefox: "Firefox",
|
||||
webkit: "Safari",
|
||||
}
|
||||
const userAgent = await codeServerPage.page.evaluate("navigator.userAgent")
|
||||
const userAgent = await codeServerPage.page.evaluate(() => navigator.userAgent)
|
||||
|
||||
expect(userAgent).toContain(displayNames[browserName])
|
||||
})
|
||||
|
Reference in New Issue
Block a user