endSuite hook is called without matching startSuite hook #5264
Labels
stale
this has been inactive for a while...
status: waiting for author
waiting on response from OP - more information needed
I'm creating this ticket due to ticket webdriverio/webdriverio#13013
The summary of the linked issue is that
endSuite
might be called without a matchingstartSuite
if adescribe
is used that has no tests. This can happen when dynamically generatingit
s.I'm not sure if it is strictly necessary for hooks to always be called pairwise (start + end) but it makes coding any state dependent hooks much easier.
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: