Add additonal e2e tests #230
cicd-feature.yml
on: push
Matrix: build-and-test / build-and-test
build-and-test
/
Publish Unit Test Report
10s
Annotations
4 errors, 6 warnings, and 1 notice
form/add-edit-delete-entity.spec.ts:69:8 › Add/Edit/Delete entity from explorer › Create & delete entity via context menu:
e2e-tests/src/tests/form/add-edit-delete-entity.spec.ts#L72
1) form/add-edit-delete-entity.spec.ts:69:8 › Add/Edit/Delete entity from explorer › Create & delete entity via context menu
TimeoutError: elementHandle.waitForSelector: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('.theia-FileStatNode:has(#\\/tmp\\/cloud-ws-OCGikx\\:\\/tmp\\/cloud-ws-OCGikx\\/testFolder)') to be visible
============================================================
70 | const explorer = await app.openExplorerView();
71 | // Create node
> 72 | const folderNode = await explorer.getFileStatNodeByLabel('testFolder');
| ^
73 | const contextMenu = await folderNode.openContextMenu();
74 | const menuItem = await contextMenu.menuItemByNamePath('New Element', 'Entity...');
75 | expect(menuItem).toBeDefined();
at CMExplorerView.fileStatNodeBySegments (/home/runner/work/crossmodel/crossmodel/node_modules/@theia/playwright/src/theia-explorer-view.ts:131:53)
at CMExplorerView.getFileStatNodeByLabel (/home/runner/work/crossmodel/crossmodel/node_modules/@theia/playwright/src/theia-explorer-view.ts:110:22)
at /home/runner/work/crossmodel/crossmodel/e2e-tests/src/tests/form/add-edit-delete-entity.spec.ts:72:26
|
form/add-edit-delete-entity.spec.ts:69:8 › Add/Edit/Delete entity from explorer › Create & delete entity via context menu:
e2e-tests/src/tests/form/add-edit-delete-entity.spec.ts#L72
1) form/add-edit-delete-entity.spec.ts:69:8 › Add/Edit/Delete entity from explorer › Create & delete entity via context menu
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: elementHandle.waitForSelector: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('.theia-FileStatNode:has(#\\/tmp\\/cloud-ws-CLkWMO\\:\\/tmp\\/cloud-ws-CLkWMO\\/testFolder)') to be visible
============================================================
70 | const explorer = await app.openExplorerView();
71 | // Create node
> 72 | const folderNode = await explorer.getFileStatNodeByLabel('testFolder');
| ^
73 | const contextMenu = await folderNode.openContextMenu();
74 | const menuItem = await contextMenu.menuItemByNamePath('New Element', 'Entity...');
75 | expect(menuItem).toBeDefined();
at CMExplorerView.fileStatNodeBySegments (/home/runner/work/crossmodel/crossmodel/node_modules/@theia/playwright/src/theia-explorer-view.ts:131:53)
at CMExplorerView.getFileStatNodeByLabel (/home/runner/work/crossmodel/crossmodel/node_modules/@theia/playwright/src/theia-explorer-view.ts:110:22)
at /home/runner/work/crossmodel/crossmodel/e2e-tests/src/tests/form/add-edit-delete-entity.spec.ts:72:26
|
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-attributes.spec.ts#L1
e2e-tests/diagram/system/add-edit-delete-attributes.spec.ts took 34.5s
|
Slow Test:
e2e-tests/form/add-edit-delete-entity.spec.ts#L1
e2e-tests/form/add-edit-delete-entity.spec.ts took 27.5s
|
Slow Test:
e2e-tests/diagram/system/add-existing-entity.spec.ts#L1
e2e-tests/diagram/system/add-existing-entity.spec.ts took 19.8s
|
Slow Test:
e2e-tests/diagram/system/add-edit-delete-entity.spec.ts#L1
e2e-tests/diagram/system/add-edit-delete-entity.spec.ts took 19.7s
|
Slow Test:
e2e-tests/diagram/system/add-edit-delete-relationship.spec.ts#L1
e2e-tests/diagram/system/add-edit-delete-relationship.spec.ts took 16.2s
|
🎭 Playwright Run Summary
1 failed
form/add-edit-delete-entity.spec.ts:69:8 › Add/Edit/Delete entity from explorer › Create & delete entity via context menu
1 flaky
diagram/system/add-existing-entity.spec.ts:21:8 › Add existing entity to a diagram › Add existing entity via toolbox
1 skipped
24 passed (3.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
allure-results
|
1.19 MB |
|
unit-test-results-Linux
|
1.35 KB |
|
unit-test-results-Windows
|
1.36 KB |
|
unit-test-results-macOS
|
1.37 KB |
|