Refactor StatefulAuthProvider for static initialization and improved session management #6736
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
|
tests/extension/messages/platformApiRequest/saveCellExecution.test.ts > Save cell execution > Should save the output for authenticated user:
tests/extension/messages/platformApiRequest/saveCellExecution.test.ts#L151
Error: getSession does not exist
❯ tests/extension/messages/platformApiRequest/saveCellExecution.test.ts:151:8
|
tests/extension/messages/platformApiRequest/saveCellExecution.test.ts > Save cell execution > Should not save cell output when user is not authenticated:
tests/extension/messages/platformApiRequest/saveCellExecution.test.ts#L231
Error: getSession does not exist
❯ tests/extension/messages/platformApiRequest/saveCellExecution.test.ts:231:8
|
tests/extension/messages/platformApiRequest/saveCellExecution.test.ts > Save cell execution > Should throw if there's not cache notebook:
tests/extension/messages/platformApiRequest/saveCellExecution.test.ts#L314
Error: getSession does not exist
❯ tests/extension/messages/platformApiRequest/saveCellExecution.test.ts:314:8
|
tests/extension/messages/platformApiRequest/saveCellExecution.test.ts > Save cell execution > Should throw if there's the cell is not found in the marshalled notebook:
tests/extension/messages/platformApiRequest/saveCellExecution.test.ts#L371
Error: getSession does not exist
❯ tests/extension/messages/platformApiRequest/saveCellExecution.test.ts:371:8
|
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.
|