wttech / bobcat

Bobcat is an automated testing framework for functional testing of web applications.
https://cognifide.github.io/bobcat/
Apache License 2.0
90 stars 40 forks source link

WebdriverCloseExtension creates an unnecessary browser instance #306

Closed mkrzyzanowski closed 5 years ago

mkrzyzanowski commented 5 years ago

Environment

Bobcat version: 2.0.0

Bobcat modules used:

Browser + version: Firefox 63.0.1

Expected Behavior

Browsers closes after a test has finished, without any additional one being opened

Actual Behavior

afterTestExecution hook is fired and then the backup in form of afterAll creates additional browser just to... close it again 😄.

Steps to reproduce

  1. Clone the bobcat-aem-tests
  2. Run any test
  3. Observe how additional browser is spawned after each run
mkrzyzanowski commented 5 years ago

Released in 2.0.2