dequelabs / watcher-examples

2 stars 7 forks source link

BUG: Flush() method is missing in watcher-examples repo for webdriverJS basic test #177

Closed gayathrit12 closed 2 months ago

gayathrit12 commented 6 months ago

Issue Description:

In WebdriverJS basic test, Flush() method is missing in watcher-examples repo where as it is present in instructions page, because of which even the test passes the results are not being flushed.

Screenshots:

watcher-example repo:

image

Repo-link: https://github.com/dequelabs/watcher-examples/blob/main/webdriverjs/basic/tests/login.js

Instructions page:

image

padmavemulapati commented 2 months ago

Verified in the latest watcher-examples code, webdriverjs login script is updated with

 afterEach(async () => {
    await controller.flush()
  })
image

Resutls:

image

Environment:

Label Value
Product Devhub Examples
Version 3.11.0
axe-core/watcher-webdriverjs _selenium-webdriver4.22.0
OS-Details MAC- 14.4.1
BrowserDetails Chrome Version 126.0.4