dequelabs / watcher-examples

2 stars 7 forks source link

Create multi-page TS example for Puppeteer #137

Closed dequejenn closed 1 year ago

dequejenn commented 1 year ago

Create a multi-page test in Puppeteer in typescript that already has Watcher integrated into it. When run, the test should result in a few accessibility errors. Verify these results make it up to developer hub and are expected and consistent before closing this ticket.

padmavemulapati commented 1 year ago

giving error in setup.ts file for - Module "@axe-core/watcher"' has no exported member 'wrapPuppeteer'.

Image

Obseved that there is no pupperteerWrapping.d.ts file in dist

stephenmathieson commented 1 year ago

Be sure you have the @next version installed. The v2.0.0 version doesn't support wrapping Puppeteer yet.

padmavemulapati commented 1 year ago

Be sure you have the @next version installed. The v2.0.0 version doesn't support wrapping Puppeteer yet.

Yes Stephen, Thank you , now updated to 2.0.0-next.e2ca8d21 - no error now.

padmavemulapati commented 1 year ago

multi-page example working as expected.

https://github.com/dequelabs/watcher-examples/assets/47409579/03ed6084-7131-40ef-8d15-58b6ae668fac

Environment:

Label Value
Server URL https://axe.dequelabs.com/
Server version 4.82.0
@axe-core/watcher version 2.0.0-next.e32d348e