E2E tests are failing for one month
On branch devel, the last day the E2E tests were OK is the 23rd of August: 8bb4bc79
On the day before, there were some failures on:
[0-26] RUNNING in chrome - file:///e2e/load-save-session.e2e-spec.ts
[0-26] Error in "ngHyd − save and load sessions select value must be recovered when loading a session file"
error properties: Object({ code: 'ERR_INVALID_ARG_TYPE' })
at new NodeError (node:internal/errors:405:5)
at validateString (node:internal/validators:162:11)
at Object.resolve (node:path:1097:7)
at SideNav.<anonymous> (/builds/cassiopee/nghyd/e2e/sidenav.po.ts:61:35)
at step (/builds/cassiopee/nghyd/e2e/sidenav.po.ts:33:23)
at Object.next (/builds/cassiopee/nghyd/e2e/sidenav.po.ts:14:53)
at /builds/cassiopee/nghyd/e2e/sidenav.po.ts:8:71
at new Promise (<anonymous>)
at __awaiter (/builds/cassiopee/nghyd/e2e/sidenav.po.ts:4:12)
at SideNav.loadSessionFile (/builds/cassiopee/nghyd/e2e/sidenav.po.ts:133:16)
at /builds/cassiopee/nghyd/e2e/util.po.ts:111:19
at step (/builds/cassiopee/nghyd/e2e/util.po.ts:33:23)
at Object.next (/builds/cassiopee/nghyd/e2e/util.po.ts:14:53)
at fulfilled (/builds/cassiopee/nghyd/e2e/util.po.ts:5:58)
[0-26] FAILED in chrome - file:///e2e/load-save-session.e2e-spec.ts
This error appears from time to time and seems to be related to a time out or a random asynchronicity.
But since the 23rd of August, we also have this systematic error:
[0-31] RUNNING in chrome - file:///e2e/ouvrages-empty-fields.e2e-spec.ts
[0-31] 2024-08-22T03:38:42.641Z WARN webdriver: Request failed with status 400 due to element click intercepted: Element <button _ngcontent-acb-c159="" type="button" mat-icon-button="" class="mat-focus-indicator copy-structure mat-icon-button mat-button-base" title="Copy">...</button> is not clickable at point (613, 10). Other element would receive the click: <div _ngcontent-acb-c150="" id="select-calc-container">...</div>
[0-31] (Session info: chrome=128.0.6613.84)
[0-31] 2024-08-22T03:38:43.770Z WARN webdriver: Request failed with status 400 due to element click intercepted: Element <button _ngcontent-acb-c159="" type="button" mat-icon-button="" class="mat-focus-indicator copy-structure mat-icon-button mat-button-base" title="Copy">...</button> is not clickable at point (613, 10). Other element would receive the click: <div _ngcontent-acb-c150="" id="select-calc-container">...</div>
[0-31] (Session info: chrome=128.0.6613.84)
[0-31] 2024-08-22T03:38:44.869Z WARN webdriver: Request failed with status 400 due to element click intercepted: Element <button _ngcontent-acb-c159="" type="button" mat-icon-button="" class="mat-focus-indicator copy-structure mat-icon-button mat-button-base" title="Copy">...</button> is not clickable at point (613, 10). Other element would receive the click: <div _ngcontent-acb-c150="" id="select-calc-container">...</div>
[0-31] (Session info: chrome=128.0.6613.84)
[0-31] 2024-08-22T03:38:45.949Z ERROR webdriver: Request failed with status 400 due to element click intercepted: element click intercepted: Element <button _ngcontent-acb-c159="" type="button" mat-icon-button="" class="mat-focus-indicator copy-structure mat-icon-button mat-button-base" title="Copy">...</button> is not clickable at point (613, 10). Other element would receive the click: <div _ngcontent-acb-c150="" id="select-calc-container">...</div>
[0-31] (Session info: chrome=128.0.6613.84)
[0-31] Error in "ngHyd - check that created/cloned structures have empty fields - when a modified structure is copied (input)"
element click intercepted: element click intercepted: Element <button _ngcontent-acb-c159="" type="button" mat-icon-button="" class="mat-focus-indicator copy-structure mat-icon-button mat-button-base" title="Copy">...</button> is not clickable at point (613, 10). Other element would receive the click: <div _ngcontent-acb-c150="" id="select-calc-container">...</div>
(Session info: chrome=128.0.6613.84)
[0-31] 2024-08-22T03:38:53.355Z WARN webdriver: Request failed with status 400 due to element click intercepted: Element <button _ngcontent-acb-c159="" type="button" mat-icon-button="" class="mat-focus-indicator add-structure mat-icon-button mat-button-base ng-star-inserted" title="Add">...</button> is not clickable at point (587, 10). Other element would receive the click: <div _ngcontent-acb-c150="" id="select-calc-container">...</div>
[0-31] (Session info: chrome=128.0.6613.84)
[0-31] 2024-08-22T03:38:54.459Z WARN webdriver: Request failed with status 400 due to element click intercepted: Element <button _ngcontent-acb-c159="" type="button" mat-icon-button="" class="mat-focus-indicator add-structure mat-icon-button mat-button-base ng-star-inserted" title="Add">...</button> is not clickable at point (587, 10). Other element would receive the click: <div _ngcontent-acb-c150="" id="select-calc-container">...</div>
[0-31] (Session info: chrome=128.0.6613.84)
[0-31] 2024-08-22T03:38:55.554Z WARN webdriver: Request failed with status 400 due to element click intercepted: Element <button _ngcontent-acb-c159="" type="button" mat-icon-button="" class="mat-focus-indicator add-structure mat-icon-button mat-button-base ng-star-inserted" title="Add">...</button> is not clickable at point (587, 10). Other element would receive the click: <div _ngcontent-acb-c150="" id="select-calc-container">...</div>
[0-31] (Session info: chrome=128.0.6613.84)
[0-31] 2024-08-22T03:38:56.698Z ERROR webdriver: Request failed with status 400 due to element click intercepted: element click intercepted: Element <button _ngcontent-acb-c159="" type="button" mat-icon-button="" class="mat-focus-indicator add-structure mat-icon-button mat-button-base ng-star-inserted" title="Add">...</button> is not clickable at point (587, 10). Other element would receive the click: <div _ngcontent-acb-c150="" id="select-calc-container">...</div>
[0-31] (Session info: chrome=128.0.6613.84)
[0-31] Error in "ngHyd - check that created/cloned structures have empty fields - when a structure is modified (input) and then a structure is added"
element click intercepted: element click intercepted: Element <button _ngcontent-acb-c159="" type="button" mat-icon-button="" class="mat-focus-indicator add-structure mat-icon-button mat-button-base ng-star-inserted" title="Add">...</button> is not clickable at point (587, 10). Other element would receive the click: <div _ngcontent-acb-c150="" id="select-calc-container">...</div>
(Session info: chrome=128.0.6613.84)
[0-31] FAILED in chrome - file:///e2e/ouvrages-empty-fields.e2e-spec.ts
Can we fix this one?