Skip to content

Refactor StatefulAuthProvider for static initialization and improved session management #6736

Refactor StatefulAuthProvider for static initialization and improved session management

Refactor StatefulAuthProvider for static initialization and improved session management #6736

Triggered via pull request December 11, 2024 16:00
Status Failure
Total duration 7m 52s
Artifacts

test.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
tests/extension/panels/panel.test.ts > Panel > resolves authed: tests/extension/panels/panel.test.ts#L85
AssertionError: expected '<base href="https://platform.stateful…' to contain '{"ide":"code","panelId":"testing","ap…' Expected: "{"ide":"code","panelId":"testing","appToken":"webview.auth.token","defaultUx":"panels","themeKind":1}" Received: "<base href="https://platform.stateful.com/"><script id="appAuthToken">window.APP_STATE = JSON.parse('{"ide":"code","panelId":"testing","appToken":{"token":"webview.auth.token"},"defaultUx":"panels","themeKind":1}');</script>" ❯ tests/extension/panels/panel.test.ts:85:31
tests/extension/panels/panel.test.ts > Panel > resolves authed localhost: tests/extension/panels/panel.test.ts#L110
AssertionError: expected '<base href="http://localhost:4001/"><…' to contain '{"ide":"code","panelId":"testing","ap…' Expected: "{"ide":"code","panelId":"testing","appToken":"webview.auth.token","defaultUx":"panels","themeKind":1}" Received: "<base href="http://localhost:4001/"><script id="appAuthToken">window.APP_STATE = JSON.parse('{"ide":"code","panelId":"testing","appToken":{"token":"webview.auth.token"},"defaultUx":"panels","themeKind":1}');</script>" ❯ tests/extension/panels/panel.test.ts:110:31
build (ubuntu-latest)
Process completed with exit code 1.
build (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (ubuntu-latest)
No files were found with the provided path: tests/e2e/screenshots tests/e2e/logs. No artifacts will be uploaded.