fix: api and inlineServerFunctions middleware being called twice on page request #1571
Annotations
10 errors, 5 warnings, and 1 notice
test/api-routes-test.ts#L16
1) [chromium] › api-routes-test.ts:138:5 › api routes › with SSR › should redirect to redirected =
Error: Expected build directory to exist at /home/runner/work/solid-start/solid-start/.tmp/api-routes-with-SSR-40n27s3gdg/.solid/server/entry-server.js. The build probably failed. Did you maybe have a syntax error in your test code strings?
14 | test.describe("without SSR", () => {
15 | runTests(false);
> 16 | });
| ^
17 |
18 | function runTests(ssr) {
19 | test.beforeAll(async () => {
at createFixture (file:///home/runner/work/solid-start/solid-start/test/helpers/create-fixture.ts:25:11)
at file:///home/runner/work/solid-start/solid-start/test/api-routes-test.ts:16:17
|
test/api-routes-test.ts#L16
1) [chromium] › api-routes-test.ts:138:5 › api routes › with SSR › should redirect to redirected =
Retry #1 ---------------------------------------------------------------------------------------
Error: Expected build directory to exist at /home/runner/work/solid-start/solid-start/.tmp/api-routes-with-SSR-t467an19ku/.solid/server/entry-server.js. The build probably failed. Did you maybe have a syntax error in your test code strings?
14 | test.describe("without SSR", () => {
15 | runTests(false);
> 16 | });
| ^
17 |
18 | function runTests(ssr) {
19 | test.beforeAll(async () => {
at createFixture (file:///home/runner/work/solid-start/solid-start/test/helpers/create-fixture.ts:25:11)
at file:///home/runner/work/solid-start/solid-start/test/api-routes-test.ts:16:17
|
test/api-routes-test.ts#L16
1) [chromium] › api-routes-test.ts:138:5 › api routes › with SSR › should redirect to redirected =
Retry #2 ---------------------------------------------------------------------------------------
Error: Expected build directory to exist at /home/runner/work/solid-start/solid-start/.tmp/api-routes-with-SSR-a51uppeo20g/.solid/server/entry-server.js. The build probably failed. Did you maybe have a syntax error in your test code strings?
14 | test.describe("without SSR", () => {
15 | runTests(false);
> 16 | });
| ^
17 |
18 | function runTests(ssr) {
19 | test.beforeAll(async () => {
at createFixture (file:///home/runner/work/solid-start/solid-start/test/helpers/create-fixture.ts:25:11)
at file:///home/runner/work/solid-start/solid-start/test/api-routes-test.ts:16:17
|
test/api-routes-test.ts#L16
2) [chromium] › api-routes-test.ts:138:5 › api routes › without SSR › should redirect to redirected
Error: Expected build directory to exist at /home/runner/work/solid-start/solid-start/.tmp/api-routes-without-SSR-1r9k65e1i3g/.solid/server/entry-server.js. The build probably failed. Did you maybe have a syntax error in your test code strings?
14 | test.describe("without SSR", () => {
15 | runTests(false);
> 16 | });
| ^
17 |
18 | function runTests(ssr) {
19 | test.beforeAll(async () => {
at createFixture (file:///home/runner/work/solid-start/solid-start/test/helpers/create-fixture.ts:25:11)
at file:///home/runner/work/solid-start/solid-start/test/api-routes-test.ts:16:17
|
test/api-routes-test.ts#L16
2) [chromium] › api-routes-test.ts:138:5 › api routes › without SSR › should redirect to redirected
Retry #1 ---------------------------------------------------------------------------------------
Error: Expected build directory to exist at /home/runner/work/solid-start/solid-start/.tmp/api-routes-without-SSR-fhbqhottl2o/.solid/server/entry-server.js. The build probably failed. Did you maybe have a syntax error in your test code strings?
14 | test.describe("without SSR", () => {
15 | runTests(false);
> 16 | });
| ^
17 |
18 | function runTests(ssr) {
19 | test.beforeAll(async () => {
at createFixture (file:///home/runner/work/solid-start/solid-start/test/helpers/create-fixture.ts:25:11)
at file:///home/runner/work/solid-start/solid-start/test/api-routes-test.ts:16:17
|
test/api-routes-test.ts#L16
2) [chromium] › api-routes-test.ts:138:5 › api routes › without SSR › should redirect to redirected
Retry #2 ---------------------------------------------------------------------------------------
Error: Expected build directory to exist at /home/runner/work/solid-start/solid-start/.tmp/api-routes-without-SSR-uofl64rioo8/.solid/server/entry-server.js. The build probably failed. Did you maybe have a syntax error in your test code strings?
14 | test.describe("without SSR", () => {
15 | runTests(false);
> 16 | });
| ^
17 |
18 | function runTests(ssr) {
19 | test.beforeAll(async () => {
at createFixture (file:///home/runner/work/solid-start/solid-start/test/helpers/create-fixture.ts:25:11)
at file:///home/runner/work/solid-start/solid-start/test/api-routes-test.ts:16:17
|
test/misc-test.ts#L15
3) [chromium] › misc-test.ts:49:5 › miscellaneous tests › with SSR › should be able to create a server function inside of a .js file
Error: Expected build directory to exist at /home/runner/work/solid-start/solid-start/.tmp/miscellaneous-tests-with-SSR-t2oviqn6ono/.solid/server/entry-server.js. The build probably failed. Did you maybe have a syntax error in your test code strings?
13 |
14 | // test.describe("without SSR", () => {
> 15 | // runTests(false);
| ^
16 | // });
17 |
18 | function runTests(ssr) {
at createFixture (file:///home/runner/work/solid-start/solid-start/test/helpers/create-fixture.ts:25:11)
at file:///home/runner/work/solid-start/solid-start/test/misc-test.ts:15:17
|
test/misc-test.ts#L15
3) [chromium] › misc-test.ts:49:5 › miscellaneous tests › with SSR › should be able to create a server function inside of a .js file
Retry #1 ---------------------------------------------------------------------------------------
Error: Expected build directory to exist at /home/runner/work/solid-start/solid-start/.tmp/miscellaneous-tests-with-SSR-0t0cenntda8/.solid/server/entry-server.js. The build probably failed. Did you maybe have a syntax error in your test code strings?
13 |
14 | // test.describe("without SSR", () => {
> 15 | // runTests(false);
| ^
16 | // });
17 |
18 | function runTests(ssr) {
at createFixture (file:///home/runner/work/solid-start/solid-start/test/helpers/create-fixture.ts:25:11)
at file:///home/runner/work/solid-start/solid-start/test/misc-test.ts:15:17
|
test/misc-test.ts#L15
3) [chromium] › misc-test.ts:49:5 › miscellaneous tests › with SSR › should be able to create a server function inside of a .js file
Retry #2 ---------------------------------------------------------------------------------------
Error: Expected build directory to exist at /home/runner/work/solid-start/solid-start/.tmp/miscellaneous-tests-with-SSR-bqrkh77rjco/.solid/server/entry-server.js. The build probably failed. Did you maybe have a syntax error in your test code strings?
13 |
14 | // test.describe("without SSR", () => {
> 15 | // runTests(false);
| ^
16 | // });
17 |
18 | function runTests(ssr) {
at createFixture (file:///home/runner/work/solid-start/solid-start/test/helpers/create-fixture.ts:25:11)
at file:///home/runner/work/solid-start/solid-start/test/misc-test.ts:15:17
|
test/misc-test.ts#L61
4) [chromium] › misc-test.ts:78:5 › miscellaneous tests › cookies › should set two cookies when appending two cookies to response headers
Error: Expected build directory to exist at /home/runner/work/solid-start/solid-start/.tmp/miscellaneous-tests-cookies-45shtqj2ji8/.solid/server/entry-server.js. The build probably failed. Did you maybe have a syntax error in your test code strings?
59 | await app.goto("/server-function-in-js-file");
60 | let dataEl = await page.waitForSelector("[data-testid='data']");
> 61 | expect(await dataEl!.innerText()).toBe("hello");
| ^
62 | });
63 | }
64 |
at createFixture (file:///home/runner/work/solid-start/solid-start/test/helpers/create-fixture.ts:25:11)
at file:///home/runner/work/solid-start/solid-start/test/misc-test.ts:61:17
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, pnpm/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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/
|
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/
|
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/
|
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/
|
7 failed
[chromium] › api-routes-test.ts:138:5 › api routes › with SSR › should redirect to redirected ==
[chromium] › api-routes-test.ts:138:5 › api routes › without SSR › should redirect to redirected
[chromium] › misc-test.ts:49:5 › miscellaneous tests › with SSR › should be able to create a server function inside of a .js file
[chromium] › misc-test.ts:78:5 › miscellaneous tests › cookies › should set two cookies when appending two cookies to response headers
[chromium] › sessions-test.ts:318:5 › sessions › with JavaScript › auth flow ===================
[chromium] › spa-test.ts:105:5 › spa rendering › with index.html › server rendering doesn't include content
[chromium] › spa-test.ts:105:5 › spa rendering › with root.tsx › server rendering doesn't include content
85 skipped
|
The logs for this run have expired and are no longer available.
Loading