Try to stablize tests that check for deleted elements in the explorer #240
cicd-feature.yml
on: push
Matrix: build-and-test / build-and-test
build-and-test
/
Publish Unit Test Report
14s
Annotations
4 errors, 5 warnings, and 1 notice
diagram/system/add-edit-delete-entity.spec.ts:79:8 › Add/Edit/Delete entity in a diagram › Hide new entity:
e2e-tests/src/page-objects/cm-integrated-editor.ts#L43
1) diagram/system/add-edit-delete-entity.spec.ts:79:8 › Add/Edit/Delete entity in a diagram › Hide new entity
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('#shell-tab-cm-composite-editor-handler\\:file\\:\\/\\/\\/tmp\\/cloud-ws-gZXP3l\\/ExampleCRM\\/diagrams\\/EMPTY\\.system-diagram\\.cm') to be detached
locator resolved to visible <li title="" class="p-TabBar-tab theia-mod-active t…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab theia-mod-active t…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab theia-mod-dirty p-…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab theia-mod-dirty p-…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab theia-mod-dirty p-…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab theia-mod-dirty p-…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab theia-mod-dirty p-…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
============================================================
at ../page-objects/cm-integrated-editor.ts:43
41 |
42 | override async saveAndClose(): Promise<void> {
> 43 | await this.parent.saveAndClose();
| ^
44 | }
45 |
46 | override async undo(times?: number | undefined): Promise<void> {
at CMCompositeEditor.waitUntilClosed (/home/runner/work/crossmodel/crossmodel/node_modules/@theia/playwright/src/theia-view.ts:117:25)
at CMCompositeEditor.close (/home/runner/work/crossmodel/crossmodel/node_modules/@theia/playwright/src/theia-view.ts:112:24)
at CMCompositeEditor.saveAndClose (/home/runner/work/crossmodel/crossmodel/node_modules/@theia/playwright/src/theia-editor.ts:50:9)
at IntegratedSystemDiagramEditor.saveAndClose (/home/runner/work/crossmodel/crossmodel/e2e-tests/src/page-objects/cm-integrated-editor.ts:43:7)
at /home/runner/work/crossmodel/crossmodel/e2e-tests/src/tests/diagram/system/add-edit-delete-entity.spec.ts:94:7
|
diagram/system/add-edit-delete-entity.spec.ts:79:8 › Add/Edit/Delete entity in a diagram › Hide new entity:
e2e-tests/src/page-objects/cm-integrated-editor.ts#L43
1) diagram/system/add-edit-delete-entity.spec.ts:79:8 › Add/Edit/Delete entity in a diagram › Hide new entity
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('#shell-tab-cm-composite-editor-handler\\:file\\:\\/\\/\\/tmp\\/cloud-ws-ej8VoA\\/ExampleCRM\\/diagrams\\/EMPTY\\.system-diagram\\.cm') to be detached
locator resolved to visible <li title="" class="p-TabBar-tab theia-mod-active t…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab theia-mod-active t…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab theia-mod-dirty p-…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab theia-mod-dirty p-…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab theia-mod-dirty p-…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab theia-mod-dirty p-…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab theia-mod-dirty p-…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
locator resolved to visible <li title="" class="p-TabBar-tab p-mod-closable p-mo…>…</li>
============================================================
at ../page-objects/cm-integrated-editor.ts:43
41 |
42 | override async saveAndClose(): Promise<void> {
> 43 | await this.parent.saveAndClose();
| ^
44 | }
45 |
46 | override async undo(times?: number | undefined): Promise<void> {
at CMCompositeEditor.waitUntilClosed (/home/runner/work/crossmodel/crossmodel/node_modules/@theia/playwright/src/theia-view.ts:117:25)
at CMCompositeEditor.close (/home/runner/work/crossmodel/crossmodel/node_modules/@theia/playwright/src/theia-view.ts:112:24)
at CMCompositeEditor.saveAndClose (/home/runner/work/crossmodel/crossmodel/node_modules/@theia/playwright/src/theia-editor.ts:50:9)
at IntegratedSystemDiagramEditor.saveAndClose (/home/runner/work/crossmodel/crossmodel/e2e-tests/src/page-objects/cm-integrated-editor.ts:43:7)
at /home/runner/work/crossmodel/crossmodel/e2e-tests/src/tests/diagram/system/add-edit-delete-entity.spec.ts:94:7
|
diagram/system/add-existing-entity.spec.ts:21:8 › Add existing entity to a diagram › Add existing entity via toolbox:
e2e-tests/src/tests/diagram/system/add-existing-entity.spec.ts#L29
2) diagram/system/add-existing-entity.spec.ts:21:8 › Add existing entity to a diagram › Add existing entity via toolbox
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('body').locator('div.sprotty:not(.sprotty-hidden)').locator('[id$="_command-palette"]').locator('input')
locator resolved to <input role="combobox" aria-expanded="true" aria-haspop…/>
attempting click action
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<li class="p-MenuBar-item">…</li> from <div id="theia-top-panel" class="p-Widget p-Panel">…</div> subtree intercepts pointer events
retrying click action, attempt #1
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<li class="p-MenuBar-item">…</li> from <div id="theia-top-panel" class="p-Widget p-Panel">…</div> subtree intercepts pointer events
retrying click action, attempt #2
waiting 20ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<li class="p-MenuBar-item">…</li> from <div id="theia-top-panel" class="p-Widget p-Panel">…</div> subtree intercepts pointer events
retrying click action, attempt #3
waiting 100ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<li class="p-MenuBar-item">…</li> from <div id="theia-top-panel" class="p-Widget p-Panel">…</div> subtree intercepts pointer events
retrying click action, attempt #4
waiting 100ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<li class="p-MenuBar-item">…</li> from <div id="theia-top-panel" class="p-Widget p-Panel">…</div> subtree intercepts pointer events
retrying click action, attempt #5
waiting 500ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<li class="p-MenuBar-item">…</li> from <div id="theia-top-panel" class="p-Widget p-Panel">…</div> subtree intercepts pointer events
retrying click action, attempt #6
waiting 500ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<li class="p-MenuBar-item">…</li> from <div id="theia-top-panel" class="p-Widget p-Panel">…</div> subtree intercepts pointer events
retrying click action, attempt #7
waiting 500ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<li class="p-MenuBar-item">…</li> from <div id="theia-top-panel" class="p-Widget p-Panel">…</div> subtree intercepts pointer events
retrying click action, attempt #8
waiting 500ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<li class="p-MenuBar-item">…</li> from <div id="theia-top-panel" class="p-Widget p-Panel">…</div> subtree intercepts pointer events
retrying click action, attempt #9
waiting 500ms
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
<li class="p-MenuBar-item">…</li> from <div id="theia-top-panel" class="p-Widget p-Panel">…</div> subtree intercepts pointer events
retrying click action, attempt #10
waiting 500ms
waiting for element to be visible, enable
|
build-and-test / ubuntu-22.04
The process '/usr/bin/xvfb-run' failed with exit code 1
|
build-and-test / ubuntu-22.04
The following actions use a deprecated Node.js version and will be forced to run on node20: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Slow Test:
e2e-tests/diagram/system/add-edit-delete-entity.spec.ts#L1
e2e-tests/diagram/system/add-edit-delete-entity.spec.ts took 54.1s
|
Slow Test:
e2e-tests/diagram/system/add-edit-delete-attributes.spec.ts#L1
e2e-tests/diagram/system/add-edit-delete-attributes.spec.ts took 33.1s
|
Slow Test:
e2e-tests/diagram/system/add-existing-entity.spec.ts#L1
e2e-tests/diagram/system/add-existing-entity.spec.ts took 18.8s
|
Slow Test:
e2e-tests/diagram/system/add-edit-delete-relationship.spec.ts#L1
e2e-tests/diagram/system/add-edit-delete-relationship.spec.ts took 15.6s
|
🎭 Playwright Run Summary
1 failed
diagram/system/add-edit-delete-entity.spec.ts:79:8 › Add/Edit/Delete entity in a diagram › Hide new entity
1 flaky
diagram/system/add-existing-entity.spec.ts:21:8 › Add existing entity to a diagram › Add existing entity via toolbox
2 skipped
23 passed (3.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
allure-results
|
1.22 MB |
|
unit-test-results-Linux
|
1.35 KB |
|
unit-test-results-Windows
|
1.36 KB |
|
unit-test-results-macOS
|
1.38 KB |
|