Skip to content

Commit

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

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

const textInput = page.locator('#wasm-terminal')
await textInput.waitFor({state: 'visible'})
console.log(1)

await textInput.pressSequentially('quickjs\n')
await delay(100)



await delay(1000)

return await analyser.stop()
}

0 comments on commit debba21

Please sign in to comment.