Skip to content

Commit

Permalink
Modified headless:true
Browse files Browse the repository at this point in the history
  • Loading branch information
yusungsim committed Feb 7, 2024
1 parent 16aaa79 commit 4205756
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/online/bullet/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { delay } from '../../../dist/tests/test-utils.cjs'

export default async function test(analyser) {
const url = 'https://magnum.graphics/showcase/bullet/'
const page = await analyser.start(url, { headless: false })
const page = await analyser.start(url, { headless: true })

const mainCanv = page.locator('#canvas')
await mainCanv.waitFor({state: 'visible'})
Expand Down
2 changes: 1 addition & 1 deletion tests/online/factorial/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { expect } from 'playwright/test'

export default async function test(analyser) {
const url = 'https://www.hellorust.com/demos/factorial/index.html'
const page = await analyser.start(url, { headless: false })
const page = await analyser.start(url, { headless: true })

const textInput = page.locator('#input')
await textInput.waitFor({state: 'visible'})
Expand Down
2 changes: 1 addition & 1 deletion tests/online/fractals/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { delay } from '../../../dist/tests/test-utils.cjs'

export default async function test(analyser) {
const url = 'https://raw-wasm.pages.dev/'
const page = await analyser.start(url, { headless: false })
const page = await analyser.start(url, { headless: true })

const canvas = page.locator('#mandelImage')
await canvas.waitFor({state: 'visible'})
Expand Down
2 changes: 1 addition & 1 deletion tests/online/hnset-bench/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { delay } from '../../../dist/tests/test-utils.cjs'

export default async function test(analyser) {
const url = 'https://raw.githack.com/gorhill/uBlock/master/docs/tests/hnset-benchmark.html'
const page = await analyser.start(url, { headless: false })
const page = await analyser.start(url, { headless: true })

const lookupButton = page.locator('#lookupBenchmark')
await lookupButton.waitFor({state: 'visible'})
Expand Down

0 comments on commit 4205756

Please sign in to comment.