Skip to content

Add classic flag to openstudio calling. #126

Add classic flag to openstudio calling.

Add classic flag to openstudio calling. #126

Triggered via push November 28, 2023 02:05
Status Failure
Total duration 14m 24s
Artifacts 1

playwright.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 11 warnings, and 2 notices
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: 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
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: 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
test
The process '/usr/bin/xvfb-run' failed with exit code 1
test: app/app/analysis/analysisController.js#L1232
Unnecessary escape character: \/
test: app/app/analysis/analysisController.js#L1302
Unnecessary escape character: \/
test: app/app/analysis/analysisController.js#L1354
Unnecessary escape character: \/
test: app/app/bcl/modalBclController.js#L709
Do not access Object.prototype method 'hasOwnProperty' from target object
test: app/app/project/osServerService.js#L185
Unnecessary escape character: \"
test: app/app/project/osServerService.js#L185
Unnecessary escape character: \"
test: app/app/project/osServerService.js#L541
Unnecessary escape character: \"
test: app/app/project/osServerService.js#L541
Unnecessary escape character: \"
test: app/app/project/osServerService.js#L541
Unnecessary escape character: \"
test: app/app/project/osServerService.js#L541
Unnecessary escape character: \"
test
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/
test: app/app/index.run.js#L133
Unexpected function expression
test: app/app/index.run.js#L133
'fromParams' is defined but never used
test: app/electron/window.js#L40
Unexpected var, use let or const instead
test: app/electron/window.js#L41
Unexpected var, use let or const instead
test: app/electron/window.js#L42
Unexpected var, use let or const instead
test: app/electron/window.js#L46
Unexpected var, use let or const instead
test: app/electron/window.js#L47
Unexpected var, use let or const instead
test: app/electron/window.js#L49
Unexpected var, use let or const instead
test: app/electron/window.js#L50
Unexpected var, use let or const instead
test: app/electron/window.js#L60
Unexpected var, use let or const instead
🎭 Playwright Run Summary
188 passed (7m)
🎭 Playwright Run Summary
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)

Artifacts

Produced during runtime
Name Size
reports Expired
905 KB