Skip to content
Snippets Groups Projects
Commit b0ad6f1a authored by François Grand's avatar François Grand
Browse files

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

refs #614
parent 6e9099d3
No related branches found
No related tags found
No related merge requests found
Pipeline #140338 passed
...@@ -78,8 +78,8 @@ describe("Parallel structures - ", () => { ...@@ -78,8 +78,8 @@ describe("Parallel structures - ", () => {
// check error message in log // check error message in log
expect(await calcPage.nbLogEntries()).toBe(2); expect(await calcPage.nbLogEntries()).toBe(2);
expect(await calcPage.nthLogEntryIsWarning(0)).toBe(true); expect(await calcPage.nthLogEntryIsError(0)).toBe(true);
expect(await calcPage.nthLogEntryIsError(1)).toBe(true); expect(await calcPage.nthLogEntryIsWarning(1)).toBe(true);
// second calculator // second calculator
...@@ -93,7 +93,7 @@ describe("Parallel structures - ", () => { ...@@ -93,7 +93,7 @@ describe("Parallel structures - ", () => {
// check error message in log // check error message in log
expect(await calcPage.nbLogEntries()).toBe(2); expect(await calcPage.nbLogEntries()).toBe(2);
expect(await calcPage.nthLogEntryIsWarning(0)).toBe(true); expect(await calcPage.nthLogEntryIsError(0)).toBe(true);
expect(await calcPage.nthLogEntryIsError(1)).toBe(true); expect(await calcPage.nthLogEntryIsWarning(1)).toBe(true);
}); });
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment