Not entirely sure if this is the best possible solution, probably not, but it seems like Test using dataProvider is treated as a TestSuite (extension is receiving Started/Finished events twice) and it resets static connection too soon :thinking:
Making the flow look like this:
TestSuiteStarted -> staticConnections(true)
(test with data provider)
TestSuiteStarted -> staticConnections(true)
TestSuiteFinished -> staticConnections(false)
(next test)
(next test) -> state from previous test not rolled back :cry:
Not entirely sure if this is the best possible solution, probably not, but it seems like Test using
dataProvider
is treated as a TestSuite (extension is receiving Started/Finished events twice) and it resets static connection too soon :thinking:Making the flow look like this: