This article covers a common anti-pattern during developing automated End-to-end (E2E) tests scripts, where test cases in one test script file pass when executed independently, but fail when the test script is run together.
First, let’s go through an example user login test script, containing two…