Re-enabled build-and-test in feature branch. #242
cicd-feature.yml
on: push
Matrix: build-and-test / build-and-test
build-and-test
/
Publish Unit Test Report
9s
Annotations
5 errors, 2 warnings, and 1 notice
crossmodel-error-view.spec.ts:9:8 › CrossModel Error Views › Form Editor should show error if model code is broken:
e2e-tests/src/page-objects/crossmodel-composite-editor.ts#L154
1) crossmodel-error-view.spec.ts:9:8 › CrossModel Error Views › Form Editor should show error if model code is broken
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('#form-editor-opener\\:file\\:\\/\\/\\/tmp\\/cloud-ws-ZWRof8\\/example-entity\\.entity\\.cm .editor-diagnostics-error-message:has-text("The file contains one or more errors. Please fix the error(s) using the \'Code Editor\'. This perspective will be read-only until the errors are resolved.")') to be visible
============================================================
at ../page-objects/crossmodel-composite-editor.ts:154
152 | return false;
153 | }
> 154 | await page.waitForSelector(viewSelector + ' .editor-diagnostics-error-message:has-text("' + message + '")');
| ^
155 | return true;
156 | }
157 |
at hasViewError (/home/runner/work/crossmodel/crossmodel/e2e-tests/src/page-objects/crossmodel-composite-editor.ts:154:15)
at /home/runner/work/crossmodel/crossmodel/e2e-tests/src/tests/crossmodel-error-view.spec.ts:19:10
|
crossmodel-error-view.spec.ts:9:8 › CrossModel Error Views › Form Editor should show error if model code is broken:
e2e-tests/src/page-objects/crossmodel-composite-editor.ts#L154
1) crossmodel-error-view.spec.ts:9:8 › CrossModel Error Views › Form Editor should show error if model code is broken
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('#form-editor-opener\\:file\\:\\/\\/\\/tmp\\/cloud-ws-hldcF2\\/example-entity\\.entity\\.cm .editor-diagnostics-error-message:has-text("The file contains one or more errors. Please fix the error(s) using the \'Code Editor\'. This perspective will be read-only until the errors are resolved.")') to be visible
============================================================
at ../page-objects/crossmodel-composite-editor.ts:154
152 | return false;
153 | }
> 154 | await page.waitForSelector(viewSelector + ' .editor-diagnostics-error-message:has-text("' + message + '")');
| ^
155 | return true;
156 | }
157 |
at hasViewError (/home/runner/work/crossmodel/crossmodel/e2e-tests/src/page-objects/crossmodel-composite-editor.ts:154:15)
at /home/runner/work/crossmodel/crossmodel/e2e-tests/src/tests/crossmodel-error-view.spec.ts:19:10
|
crossmodel-error-view.spec.ts:26:8 › CrossModel Error Views › System Diagram Editor should show error if model code is broken:
e2e-tests/src/page-objects/crossmodel-composite-editor.ts#L154
2) crossmodel-error-view.spec.ts:26:8 › CrossModel Error Views › System Diagram Editor should show error if model code is broken
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('#system-diagram\\:file\\:\\/\\/\\/tmp\\/cloud-ws-UrTytT\\/example-diagram\\.diagram\\.cm .editor-diagnostics-error-message:has-text("The file contains one or more errors. Please fix the error(s) using the \'Code Editor\'. This perspective will be read-only until the errors are resolved.")') to be visible
============================================================
at ../page-objects/crossmodel-composite-editor.ts:154
152 | return false;
153 | }
> 154 | await page.waitForSelector(viewSelector + ' .editor-diagnostics-error-message:has-text("' + message + '")');
| ^
155 | return true;
156 | }
157 |
at hasViewError (/home/runner/work/crossmodel/crossmodel/e2e-tests/src/page-objects/crossmodel-composite-editor.ts:154:15)
at /home/runner/work/crossmodel/crossmodel/e2e-tests/src/tests/crossmodel-error-view.spec.ts:36:10
|
crossmodel-error-view.spec.ts:26:8 › CrossModel Error Views › System Diagram Editor should show error if model code is broken:
e2e-tests/src/page-objects/crossmodel-composite-editor.ts#L154
2) crossmodel-error-view.spec.ts:26:8 › CrossModel Error Views › System Diagram Editor should show error if model code is broken
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('#system-diagram\\:file\\:\\/\\/\\/tmp\\/cloud-ws-bTTt1E\\/example-diagram\\.diagram\\.cm .editor-diagnostics-error-message:has-text("The file contains one or more errors. Please fix the error(s) using the \'Code Editor\'. This perspective will be read-only until the errors are resolved.")') to be visible
============================================================
at ../page-objects/crossmodel-composite-editor.ts:154
152 | return false;
153 | }
> 154 | await page.waitForSelector(viewSelector + ' .editor-diagnostics-error-message:has-text("' + message + '")');
| ^
155 | return true;
156 | }
157 |
at hasViewError (/home/runner/work/crossmodel/crossmodel/e2e-tests/src/page-objects/crossmodel-composite-editor.ts:154:15)
at /home/runner/work/crossmodel/crossmodel/e2e-tests/src/tests/crossmodel-error-view.spec.ts:36:10
|
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/crossmodel-error-view.spec.ts#L1
e2e-tests/crossmodel-error-view.spec.ts took 46.2s
|
🎭 Playwright Run Summary
2 failed
crossmodel-error-view.spec.ts:9:8 › CrossModel Error Views › Form Editor should show error if model code is broken
crossmodel-error-view.spec.ts:26:8 › CrossModel Error Views › System Diagram Editor should show error if model code is broken
7 passed (1.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
allure-results
|
221 KB |
|
unit-test-results-Linux
|
1.36 KB |
|
unit-test-results-Windows
|
1.37 KB |
|
unit-test-results-macOS
|
1.36 KB |
|