Skip to content
Triggered via push November 5, 2024 11:12
Status Failure
Total duration 4m 5s
Artifacts
Matrix: e2e
Matrix: vitest
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
Unhandled error: packages/frontend/src/scripts/misskey-api.ts#L37
ReferenceError: window is not defined ❯ src/scripts/misskey-api.ts:37:3 ❯ Module.misskeyApi src/scripts/misskey-api.ts:31:18 ❯ src/pages/user/index.files.vue:64:2 ❯ ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2742:40 ❯ callWithErrorHandling ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:200:19 ❯ callWithAsyncErrorHandling ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:207:17 ❯ hook.__weh.hook.__weh ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2722:19 ❯ flushPostFlushCbs ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:382:28 ❯ flushJobs ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:424:5 This error originated in "test/home.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes: - cancel timeouts using clearTimeout and clearInterval - wait for promises to resolve using the await keyword
Unhandled error: packages/frontend/src/scripts/misskey-api.ts#L37
ReferenceError: window is not defined ❯ src/scripts/misskey-api.ts:37:3 ❯ Module.misskeyApi src/scripts/misskey-api.ts:31:18 ❯ src/pages/user/index.files.vue:64:2 ❯ ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2742:40 ❯ callWithErrorHandling ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:200:19 ❯ callWithAsyncErrorHandling ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:207:17 ❯ hook.__weh.hook.__weh ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2722:19 ❯ flushPostFlushCbs ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:382:28 ❯ flushJobs ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:424:5 This error originated in "test/home.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes: - cancel timeouts using clearTimeout and clearInterval - wait for promises to resolve using the await keyword
test/home.test.ts > XHome > Should render the remote caution when user.host exists: packages/frontend/src/components/MkPagination.vue#L8
TypeError: Cannot read properties of undefined (reading 'state') ❯ Proxy._sfc_render src/components/MkPagination.vue:8:34 ❯ renderComponentRoot ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6380:16 ❯ ReactiveEffect.componentUpdateFn [as fn] ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5202:46 ❯ ReactiveEffect.run ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/reactivity/dist/reactivity.cjs.js:226:19 ❯ setupRenderEffect ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5337:5 ❯ mountComponent ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5112:7 ❯ processComponent ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5065:9 ❯ patch ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4594:11 ❯ ReactiveEffect.componentUpdateFn [as fn] ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5209:11 ❯ ReactiveEffect.run ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/reactivity/dist/reactivity.cjs.js:226:19
test/home.test.ts > XHome > The remote caution should fall back to uri if url is null: packages/frontend/src/components/MkPagination.vue#L8
TypeError: Cannot read properties of undefined (reading 'state') ❯ Proxy._sfc_render src/components/MkPagination.vue:8:34 ❯ renderComponentRoot ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6380:16 ❯ ReactiveEffect.componentUpdateFn [as fn] ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5202:46 ❯ ReactiveEffect.run ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/reactivity/dist/reactivity.cjs.js:226:19 ❯ setupRenderEffect ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5337:5 ❯ mountComponent ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5112:7 ❯ processComponent ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5065:9 ❯ patch ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4594:11 ❯ ReactiveEffect.componentUpdateFn [as fn] ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5209:11 ❯ ReactiveEffect.run ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/reactivity/dist/reactivity.cjs.js:226:19
vitest (20.16.0)
Process completed with exit code 1.
e2e (20.16.0, chrome)
No files were found with the provided path: cypress/videos. No artifacts will be uploaded.