Skip to content

move templates and fixtures inside test and add github workflow #1

move templates and fixtures inside test and add github workflow

move templates and fixtures inside test and add github workflow #1

Triggered via push July 2, 2023 20:14
Status Failure
Total duration 1m 28s
Artifacts

test.yml

on: push
Matrix: integration
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 8 warnings, and 2 notices
[chromium] › basic.test.ts:77:2 › rendering › server renders matching routes: node_modules/.pnpm/@playwright+test@1.27.0/node_modules/@playwright/test/lib/index.js#L198
1) [chromium] › basic.test.ts:77:2 › rendering › server renders matching routes ================== browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1028/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝ at ../node_modules/.pnpm/@playwright+test@1.27.0/node_modules/@playwright/test/lib/index.js:198 196 | }, use) => { 197 | if (!['chromium', 'firefox', 'webkit'].includes(browserName)) throw new Error(`Unexpected browserName "${browserName}", must be one of "chromium", "firefox" or "webkit"`); > 198 | const browser = await playwright[browserName].launch(); | ^ 199 | await use(browser); 200 | await browser.close(); 201 | }, { at Object._baseTest.extend.browser.scope [as fn] (/home/runner/work/vinxi/vinxi/node_modules/.pnpm/@playwright+test@1.27.0/node_modules/@playwright/test/lib/index.js:198:51) at /home/runner/work/vinxi/vinxi/node_modules/.pnpm/@playwright+test@1.27.0/node_modules/@playwright/test/lib/fixtures.js:112:81
[chromium] › basic.test.ts:77:2 › rendering › server renders matching routes: node_modules/.pnpm/@playwright+test@1.27.0/node_modules/@playwright/test/lib/index.js#L198
1) [chromium] › basic.test.ts:77:2 › rendering › server renders matching routes ================== Retry #1 --------------------------------------------------------------------------------------- browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1028/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝ at ../node_modules/.pnpm/@playwright+test@1.27.0/node_modules/@playwright/test/lib/index.js:198 196 | }, use) => { 197 | if (!['chromium', 'firefox', 'webkit'].includes(browserName)) throw new Error(`Unexpected browserName "${browserName}", must be one of "chromium", "firefox" or "webkit"`); > 198 | const browser = await playwright[browserName].launch(); | ^ 199 | await use(browser); 200 | await browser.close(); 201 | }, { at Object._baseTest.extend.browser.scope [as fn] (/home/runner/work/vinxi/vinxi/node_modules/.pnpm/@playwright+test@1.27.0/node_modules/@playwright/test/lib/index.js:198:51) at /home/runner/work/vinxi/vinxi/node_modules/.pnpm/@playwright+test@1.27.0/node_modules/@playwright/test/lib/fixtures.js:112:81
[chromium] › basic.test.ts:77:2 › rendering › server renders matching routes: node_modules/.pnpm/@playwright+test@1.27.0/node_modules/@playwright/test/lib/index.js#L198
1) [chromium] › basic.test.ts:77:2 › rendering › server renders matching routes ================== Retry #2 --------------------------------------------------------------------------------------- browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1028/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝ at ../node_modules/.pnpm/@playwright+test@1.27.0/node_modules/@playwright/test/lib/index.js:198 196 | }, use) => { 197 | if (!['chromium', 'firefox', 'webkit'].includes(browserName)) throw new Error(`Unexpected browserName "${browserName}", must be one of "chromium", "firefox" or "webkit"`); > 198 | const browser = await playwright[browserName].launch(); | ^ 199 | await use(browser); 200 | await browser.close(); 201 | }, { at Object._baseTest.extend.browser.scope [as fn] (/home/runner/work/vinxi/vinxi/node_modules/.pnpm/@playwright+test@1.27.0/node_modules/@playwright/test/lib/index.js:198:51) at /home/runner/work/vinxi/vinxi/node_modules/.pnpm/@playwright+test@1.27.0/node_modules/@playwright/test/lib/fixtures.js:112:81
👀 (os: ubuntu-latest, node: 18)
Process completed with exit code 1.
[chromium] › basic.test.ts:77:2 › rendering › server renders matching routes: test\helpers\create-fixture.ts#L40
1) [chromium] › basic.test.ts:77:2 › rendering › server renders matching routes ================== Error: Expected build directory to exist at D:\a\vinxi\vinxi\test\.fixtures\rendering-acqsk7i9pu\.output\server\index.mjs. The build probably failed. Did you maybe have a syntax error in your test code strings? at helpers\create-fixture.ts:40 38 | let buildPath = path.resolve(projectDir, ".output", "server", "index.mjs"); 39 | if (!fse.existsSync(buildPath)) { > 40 | throw new Error( | ^ 41 | c.red( 42 | `Expected build directory to exist at ${c.dim( 43 | buildPath, at createFixture (file:///D:/a/vinxi/vinxi/test/helpers/create-fixture.ts:40:9) at file:///D:/a/vinxi/vinxi/test/basic.test.ts:17:13
[chromium] › basic.test.ts:77:2 › rendering › server renders matching routes: test\helpers\create-fixture.ts#L40
1) [chromium] › basic.test.ts:77:2 › rendering › server renders matching routes ================== Retry #1 --------------------------------------------------------------------------------------- Error: Expected build directory to exist at D:\a\vinxi\vinxi\test\.fixtures\rendering-76q081vge2g\.output\server\index.mjs. The build probably failed. Did you maybe have a syntax error in your test code strings? at helpers\create-fixture.ts:40 38 | let buildPath = path.resolve(projectDir, ".output", "server", "index.mjs"); 39 | if (!fse.existsSync(buildPath)) { > 40 | throw new Error( | ^ 41 | c.red( 42 | `Expected build directory to exist at ${c.dim( 43 | buildPath, at createFixture (file:///D:/a/vinxi/vinxi/test/helpers/create-fixture.ts:40:9) at file:///D:/a/vinxi/vinxi/test/basic.test.ts:17:13
[chromium] › basic.test.ts:77:2 › rendering › server renders matching routes: test\helpers\create-fixture.ts#L40
1) [chromium] › basic.test.ts:77:2 › rendering › server renders matching routes ================== Retry #2 --------------------------------------------------------------------------------------- Error: Expected build directory to exist at D:\a\vinxi\vinxi\test\.fixtures\rendering-9u057gdn0o\.output\server\index.mjs. The build probably failed. Did you maybe have a syntax error in your test code strings? at helpers\create-fixture.ts:40 38 | let buildPath = path.resolve(projectDir, ".output", "server", "index.mjs"); 39 | if (!fse.existsSync(buildPath)) { > 40 | throw new Error( | ^ 41 | c.red( 42 | `Expected build directory to exist at ${c.dim( 43 | buildPath, at createFixture (file:///D:/a/vinxi/vinxi/test/helpers/create-fixture.ts:40:9) at file:///D:/a/vinxi/vinxi/test/basic.test.ts:17:13
👀 (os: windows-latest, node: 18)
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed [chromium] › basic.test.ts:77:2 › rendering › server renders matching routes ===================
🎭 Playwright Run Summary
1 failed [chromium] › basic.test.ts:77:2 › rendering › server renders matching routes ===================
👀 (os: ubuntu-latest, node: 18)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: ubuntu-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: ubuntu-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: ubuntu-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: windows-latest, node: 18)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: windows-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: windows-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: windows-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/