-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GUI E2E tests transient failures #8942
Comments
Adam Obuchowicz reports a new STANDUP for today (2024-02-02): Progress: Gathered some CI failures related to new tests from CI. Examined and created PR with fixes. Also made another PR with small fixes like "select node after creating". Also, made an urgent fix for broken develop after last big change It should be finished by 2024-02-07. Next Day: Next day I will be working on the same task. Check if any other failure will show up. Or take another task. |
Probably fixes the first point in #8942 My guess is that the mockExpressionUpdate may be not set in cases when the test runs before App mounting. To make sure all the setup is done, we wait for `App` widget to being mounted before proceeding. # Important Notes This PR also change the way we run test's server. Before it was always a production build, but this makes development iteration long. Now we test production build only on CI or when `PROD=true` env variable is set.
Probably fixes the first point in #8942 My guess is that the mockExpressionUpdate may be not set in cases when the test runs before App mounting. To make sure all the setup is done, we wait for `App` widget to being mounted before proceeding. # Important Notes This PR also change the way we run test's server. Before it was always a production build, but this makes development iteration long. Now we test production build only on CI or when `PROD=true` env variable is set.
"Binding not found" is not test issue, and it seems it's a bug of one of our dependencies: Menci/vite-plugin-top-level-await#25. I've created a PR to remove it. |
Adam Obuchowicz reports a new 🔴 DELAY for today (2024-02-21): Summary: There is 14 days delay in implementation of the GUI E2E tests transient failures (#8942) task. Delay Cause: Yesterday fiilled delay (and standup) to wrong issue: #9049 (comment) Possible solutions: Be more wary |
Adam Obuchowicz reports a new STANDUP for today (2024-02-21): Progress: Finished fixing click handlers and a bit more. Created a PR. It should be finished by 2024-02-21. Next Day: Next day I will be working on the #9058 task. Start working on drop down filtering. |
Fixes one failure in #8942 which caught a real issue: clicks at various panels were triggering many handlers at once, often unexpectedly - for example quick clicking at breadcrumbs (and automatic tests always click fast) we could also trigger getting out the current node. Therefore, I added `stopPropagation` for all mouse events on "panel" level + where I think the event should be considered "handled" and no longer bother anyone. Also, to unify things, most actions are for `click` event. Additionally I spotted and fixed some issues: * When "clicking-off" Component Browser, it creates new node only if anything was actually typed in (no more dangling `operatorX.` nodes) * Filtering now works for operators * When, after opening CB with source node, user starts typing operator, we replace dot with space * Fixed our shortcut handler, so it works properly with `click` event. * Fixed problems with defocusing input in CB when clicking at links. # Important Notes I removed `PointerMain` binding for deselectAll, because it was triggered every time did the area selection.
Bumped into:
in https://github.com/enso-org/enso/actions/runs/8084013760/job/22088345557?pr=9075#step:8:671 That does not seem to be covered by the list in the description.
|
Adam Obuchowicz reports a new 🔴 DELAY for today (2024-03-01): Summary: There is 12 days delay in implementation of the GUI E2E tests transient failures (#8942) task. Delay Cause: New failures emerged. |
Adam Obuchowicz reports a new STANDUP for today (2024-03-01): Progress: Fixed last problems I found with E2E tests. Also, added config to eslint to catch missing awaits (the most common problem so far). And, to make investigation easier, make reports with exact trace to be downloaded from GH actions. It should be finished by 2024-03-04. Next Day: Next day I will be working on the #9058 task. Resume work on filtering. |
The issues in this task seem to be fixed. Closing for now, let's report new issues in new issues. |
Gathered from various failed CI jobs:
page.evaluate: TypeError: window.mockExpressionUpdate is not a function
: https://github.com/enso-org/enso/actions/runs/7751892939/job/21140491920#step:8:467 and many morecomponentBrowser.spec.ts:10:1: Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
: https://github.com/enso-org/enso/actions/runs/7741528277/job/21108714847#step:8:465 - addressed in CB preview debounce #8909collapsingAndEntering.spec.ts:59:1: Error: locator.dblclick: Test ended.
https://github.com/enso-org/enso/actions/runs/7740219181/job/21104723075#step:10:550labels.spec.ts:34:6 › drag labels onto multiple rows: Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
: https://github.com/enso-org/enso/actions/runs/7744082603/job/21117011619?pr=8902#step:8:472Bindings not found
https://github.com/enso-org/enso/actions/runs/7842841953/job/21402194728?pr=9013#step:8:458collapsingAndEntering.spec.ts:37:1 › Using breadcrumbs to navigate: Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
https://github.com/enso-org/enso/actions/runs/7916832238/job/21611541700#step:8:475collapsingAndEntering.spec.ts:59:1 › Collapsing nodes: Error: locator.dblclick: Test timeout of 30000ms exceeded.
https://github.com/enso-org/enso/actions/runs/7971892170/job/21762515753#step:8:481fullscreenVisualisation.spec.ts:18:1 › Load Fullscreen Visualisation: Error: page.waitForTimeout: Test timeout of 30000ms exceeded.
https://github.com/enso-org/enso/actions/runs/7990458678/job/21819326876#step:8:481collapsingAndEntering.spec.ts:26:1 › Leaving entered nodes: Test finished within timeout of 30000ms, but tearing down "context" ran out of time.
https://github.com/enso-org/enso/actions/runs/8023372271/job/21919713031#step:8:482componentBrowser.spec.ts:124:1 › Filling input with suggestions: Error: expect(locator).toBeVisible()
https://github.com/enso-org/enso/actions/runs/8084013760/job/22088345557?pr=9075#step:8:671src/composables/__tests__/selection.test.ts → Cannot set property currentTarget of #<Event> which has only a getter
https://github.com/enso-org/enso/actions/runs/8102076908/job/22143749078?pr=9229componentBrowser.spec.ts:124:1 › Filling input with suggestions: Error: keyboard.press: Test ended.
https://github.com/enso-org/enso/actions/runs/8084900399/job/22091252440The text was updated successfully, but these errors were encountered: