Update Dockerfile to create crossmodel user with uid 101. #238
cicd-feature.yml
on: push
Matrix: build-and-test / build-and-test
docker
6m 39s
build-and-test
/
Publish Unit Test Report
13s
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-ymmbwQ\\/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-l7ixSN\\/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-9OedwE\\/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-miRorM\\/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.3s
|
🎭 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.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
CrossBreezeNL~crossmodel~ULTYPF.dockerbuild
|
78.9 KB |
|
allure-results
|
221 KB |
|
unit-test-results-Linux
|
1.35 KB |
|
unit-test-results-Windows
|
1.35 KB |
|
unit-test-results-macOS
|
1.36 KB |
|