Commit a95ebb1a authored by Grand Francois's avatar Grand Francois
Browse files

fix(e2e): submergence error/warning order in submergence test

refs #614
Showing with 4 additions and 4 deletions
+4 -4
......@@ -87,8 +87,8 @@ describe("Parallel structures - ", () => {
// check error message in log
expect(await calcPage.nbLogEntries()).toBe(2);
expect(await calcPage.nthLogEntryIsWarning(0)).toBe(true);
expect(await calcPage.nthLogEntryIsError(1)).toBe(true);
expect(await calcPage.nthLogEntryIsError(0)).toBe(true);
expect(await calcPage.nthLogEntryIsWarning(1)).toBe(true);
// second calculator
......@@ -103,7 +103,7 @@ describe("Parallel structures - ", () => {
// check error message in log
expect(await calcPage.nbLogEntries()).toBe(2);
expect(await calcPage.nthLogEntryIsWarning(0)).toBe(true);
expect(await calcPage.nthLogEntryIsError(1)).toBe(true);
expect(await calcPage.nthLogEntryIsError(0)).toBe(true);
expect(await calcPage.nthLogEntryIsWarning(1)).toBe(true);
});
});
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment