Merge pull request #269 from NREL/updateOSServer #129
Annotations
13 errors, 11 warnings, and 2 notices
Run playwright tests:
playwright/tests/serial/start-server.spec.ts#L23
1) serial/start-server.spec.ts:25:11 › Office_HVAC › "Server Tools" modal with buttons › click "Start Local Server" button › server starts › click "Ping Server and Set Status" button › "Server is Alive" toast is shown
"beforeAll" hook timeout of 300000ms exceeded.
21 |
22 | test.describe('server starts', () => {
> 23 | test.beforeAll(async () => await serverStartedPromise);
| ^
24 | test.describe('click "Ping Server and Set Status" button', () => {
25 | test('"Server is Alive" toast is shown', async () => {
26 | await ServerToolsModalPO.clickButton(
at /home/runner/work/OpenStudio-PAT/OpenStudio-PAT/playwright/tests/serial/start-server.spec.ts:23:14
|
Run playwright tests:
playwright/App.ts#L81
1) serial/start-server.spec.ts:25:11 › Office_HVAC › "Server Tools" modal with buttons › click "Start Local Server" button › server starts › click "Ping Server and Set Status" button › "Server is Alive" toast is shown
page.evaluate: Target closed
at ../App.ts:81
79 |
80 | static async waitForServerState(shouldBeRunning = true, statusUrl = 'http://localhost:8080/status.json') {
> 81 | await App.page.evaluate(
| ^
82 | async ({ shouldBeRunning, statusUrl }) => {
83 | const hardWait = (ms: number) => new Promise(resolve => setTimeout(resolve, ms));
84 | const pollDuration = 1_000;
at Function.waitForServerState (/home/runner/work/OpenStudio-PAT/OpenStudio-PAT/playwright/App.ts:81:20)
at /home/runner/work/OpenStudio-PAT/OpenStudio-PAT/playwright/tests/serial/start-server.spec.ts:15:36
|
Run playwright tests
The process '/usr/bin/xvfb-run' failed with exit code 1
|
Build application:
app/app/analysis/analysisController.js#L1232
Unnecessary escape character: \/
|
Build application:
app/app/analysis/analysisController.js#L1302
Unnecessary escape character: \/
|
Build application:
app/app/analysis/analysisController.js#L1354
Unnecessary escape character: \/
|
Build application:
app/app/bcl/modalBclController.js#L709
Do not access Object.prototype method 'hasOwnProperty' from target object
|
Build application:
app/app/project/osServerService.js#L185
Unnecessary escape character: \"
|
Build application:
app/app/project/osServerService.js#L185
Unnecessary escape character: \"
|
Build application:
app/app/project/osServerService.js#L541
Unnecessary escape character: \"
|
Build application:
app/app/project/osServerService.js#L541
Unnecessary escape character: \"
|
Build application:
app/app/project/osServerService.js#L541
Unnecessary escape character: \"
|
Build application:
app/app/project/osServerService.js#L541
Unnecessary escape character: \"
|
The following actions uses node12 which is deprecated and will be forced to run on node16: GabrielBB/xvfb-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build application:
app/app/index.run.js#L133
Unexpected function expression
|
Build application:
app/app/index.run.js#L133
'fromParams' is defined but never used
|
Build application:
app/electron/window.js#L40
Unexpected var, use let or const instead
|
Build application:
app/electron/window.js#L41
Unexpected var, use let or const instead
|
Build application:
app/electron/window.js#L42
Unexpected var, use let or const instead
|
Build application:
app/electron/window.js#L46
Unexpected var, use let or const instead
|
Build application:
app/electron/window.js#L47
Unexpected var, use let or const instead
|
Build application:
app/electron/window.js#L49
Unexpected var, use let or const instead
|
Build application:
app/electron/window.js#L50
Unexpected var, use let or const instead
|
Build application:
app/electron/window.js#L60
Unexpected var, use let or const instead
|
Run playwright tests
188 passed (7m)
|
Run playwright tests
1 failed
serial/start-server.spec.ts:25:11 › Office_HVAC › "Server Tools" modal with buttons › click "Start Local Server" button › server starts › click "Ping Server and Set Status" button › "Server is Alive" toast is shown
17 skipped
1 passed (5m)
|
The logs for this run have expired and are no longer available.
Loading