Skip to content

Fix a few issues with iframes, script runner, and login #3132

Fix a few issues with iframes, script runner, and login

Fix a few issues with iframes, script runner, and login #3132

Triggered via pull request January 8, 2025 22:20
Status Success
Total duration 32m 44s
Artifacts 1

playwright.yml

on: pull_request
openc3-build-test
32m 31s
openc3-build-test
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 6 warnings, and 3 notices
[chromium] › script-runner/api.spec.ts:307:5 › test ruby screen apis: playwright/tests/script-runner/api.spec.ts#L271
1) [chromium] › script-runner/api.spec.ts:307:5 › test ruby screen apis ────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByText('INST ADCS', { exact: true }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for getByText('INST ADCS', { exact: true }) 269 | await expect(page.locator('[data-test=state] input')).toHaveValue('running') 270 | // script displays INST ADCS > 271 | await expect(page.getByText(`${target} ADCS`, { exact: true })).toBeVisible() | ^ 272 | // script displays INST HS 273 | await expect(page.getByText(`${target} HS`, { exact: true })).toBeVisible() 274 | // script calls clear_screen("INST", "ADCS") at testScreenApis (/home/runner/work/cosmos/cosmos/playwright/tests/script-runner/api.spec.ts:271:67) at /home/runner/work/cosmos/cosmos/playwright/tests/script-runner/api.spec.ts:308:3
[chromium] › script-runner/prompts.spec.ts:85:5 › does not out of range error for cmd_no_range_check: playwright/tests/script-runner/prompts.spec.ts#L100
2) [chromium] › script-runner/prompts.spec.ts:85:5 › does not out of range error for cmd_no_range_check, cmd_no_checks Error: Timed out 20000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('[data-test=state] input') Expected string: "stopped" Received string: "error" Call log: - expect.toHaveValue with timeout 20000ms - waiting for locator('[data-test=state] input') 6 × locator resolved to <input readonly size="1" type="text" id="input-13" value="Connecting..." class="v-field__input" aria-describedby="input-13-messages"/> - unexpected value "Connecting..." 10 × locator resolved to <input readonly size="1" type="text" id="input-13" value="running" class="v-field__input" aria-describedby="input-13-messages"/> - unexpected value "running" 8 × locator resolved to <input readonly size="1" type="text" id="input-13" value="error" class="v-field__input" aria-describedby="input-13-messages"/> - unexpected value "error" 98 | }, 99 | ) > 100 | await expect(page.locator('[data-test=state] input')).toHaveValue('stopped', { | ^ 101 | timeout: 20000, 102 | }) 103 | }) at /home/runner/work/cosmos/cosmos/playwright/tests/script-runner/prompts.spec.ts:100:57
openc3-build-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: playwright/[chromium] › admin/plugins.spec.ts#L1
playwright/[chromium] › admin/plugins.spec.ts took 2.4m
Slow Test: playwright/[chromium] › command-sender.spec.ts#L1
playwright/[chromium] › command-sender.spec.ts took 1.9m
Slow Test: playwright/[chromium] › script-runner/suite.spec.ts#L1
playwright/[chromium] › script-runner/suite.spec.ts took 1.9m
Slow Test: playwright/[chromium] › limits-monitor.spec.ts#L1
playwright/[chromium] › limits-monitor.spec.ts took 1.7m
Slow Test: playwright/[chromium] › bucket-explorer.spec.ts#L1
playwright/[chromium] › bucket-explorer.spec.ts took 1.1m
🎭 Playwright Run Summary
211 did not run
🎭 Playwright Run Summary
2 flaky [chromium] › script-runner/api.spec.ts:307:5 › test ruby screen apis ─────────────────────────── [chromium] › script-runner/prompts.spec.ts:85:5 › does not out of range error for cmd_no_range_check, cmd_no_checks 1 skipped 207 passed (22.9m)
🎭 Playwright Run Summary
2 passed (7.0s)

Artifacts

Produced during runtime
Name Size
playwright Expired
14.2 MB