Skip to content

Commit

Permalink
trying to get avajs to work with playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
eklem committed Jan 24, 2024
1 parent fe6d32a commit 3735b05
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/test/ui-test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { chromium } = require('playwright')
const test = require('ava')
const browserPromise = chromium.launch({
headless: false
headless: true
// slowMo: 350
})

Expand All @@ -18,8 +18,9 @@ async function pageMacro (t, callback) {
}

test('Add numbers 4 and 7, subtract 7 from 4, multiply 4 and finally divide 4 by 7', pageMacro, async (t, page) => {
// t.plan(4)
t.timeout(60000)
t.plan(4)
t.timeout(30000)

const filePath = await path.resolve(__dirname, '../demo/index.html')
const url = 'file://' + filePath

Expand Down

0 comments on commit 3735b05

Please sign in to comment.