Skip to content

Commit

Permalink
Added failing test for lichess
Browse files Browse the repository at this point in the history
  • Loading branch information
yusungsim committed Feb 8, 2024
1 parent 4205756 commit 05fd650
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/online/lichess/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { delay } from '../../../dist/tests/test-utils.cjs'

export default async function test(analyser) {
const url = 'https://lichess.org/analysis'
const page = await analyser.start(url, { headless: false })


const switchButton = page.locator('#analyse-toggle-ceval')
//await switchButton.waitFor({state: 'visible'})

await switchButton.dispatchEvent('click')

await delay(10000)

return await analyser.stop()
}

0 comments on commit 05fd650

Please sign in to comment.