We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8afc4e2 commit 2e5c2e6Copy full SHA for 2e5c2e6
lib/frameworks/jasmine.js
@@ -69,6 +69,12 @@ exports.run = async function(runner, specs) {
69
const reporter = new RunnerReporter(runner);
70
jasmine.getEnv().addReporter(reporter);
71
72
+ // Jasmine 3 allows for tests to be in random order by default. This does not
73
+ // work well with e2e tests where the browser state is determined by the
74
+ // order of the tests. Setting to false will prevent random execution.
75
+ // See https://jasmine.github.io/api/3.3/Env.html
76
+ jasmine.getEnv().randomizeTests(false);
77
+
78
// Add hooks for afterEach
79
require('./setupAfterEach').setup(runner, specs);
80
0 commit comments