- in JS Page Object Model libraries, use the standard JS to
returnnothing to end functions early.
- when working with iOS automation, create new specs for each test that needs a reset of notifications and iOS settings
- regarding the last, you can consolidate e2e tests if you can guarantee the state of the application will be reset by your automation. Otherwise, you are testing a different path.