feat(example): add SSR dialog control example #2160
test.yml
on: pull_request
Matrix: bun-tests
Matrix: deno-tests
Matrix: node-tests
Annotations
16 errors and 3 warnings
node-tests (ubuntu-latest)
Process completed with exit code 134.
|
node-tests (windows-latest)
The job was canceled because "ubuntu-latest" failed.
|
node-tests (windows-latest)
The operation was canceled.
|
ReferenceError: Can't find variable: window
at cleanupAnEffect (/home/runner/work/brisa/brisa/packages/brisa/src/utils/signals/index.ts:67:33)
at reset (/home/runner/work/brisa/brisa/packages/brisa/src/utils/signals/index.ts:152:7)
at disconnectedCallback (/home/runner/work/brisa/brisa/packages/brisa/src/utils/brisa-element/index.ts:489:15)
at [disconnectedFromDocument] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:831:18)
at [disconnectedFromDocument] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/element/Element.js:1094:30)
at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:756:33)
at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30)
at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:772:42)
at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30)
at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:772:42)
at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30)
at [removeChild] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:443:29)
at [destroy] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/window/BrowserWindow.js:1372:27)
at /home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserFrameFactory.js:52:49
at new Promise (1:11)
at destroyFrame (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserFrameFactory.js:26:16)
at /home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserPageUtility.js:31:33
at new Promise (1:11)
at closePage (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserPageUtility.js:22:16)
at /home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/detached-browser/DetachedBrowserPage.js:69:32
at new Promise (1:11)
at close (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/detached-browser/DetachedBrowserPage.js:67:16)
at /home/runner/work/brisa/brisa/node_modules/@happy-dom/global-registrator/lib/GlobalRegistrator.js:80:28
at unregister (/home/runner/work/brisa/brisa/node_modules/@happy-dom/global-registrator/lib/GlobalRegistrator.js:65:31)
at /home/runner/work/brisa/brisa/packages/brisa/src/utils/client-build-plugin/integration.test.tsx:58:60
at /home/runner/work/brisa/brisa/packages/brisa/src/utils/client-build-plugin/integration.test.tsx:56:15
|
ReferenceError: Can't find variable: window:
packages/brisa/src/utils/client-build-plugin/integration.test.tsx#L5884
at /home/runner/work/brisa/brisa/packages/brisa/src/utils/client-build-plugin/integration.test.tsx:5884:33
at cleanupAnEffect (/home/runner/work/brisa/brisa/packages/brisa/src/utils/signals/index.ts:67:33)
at reset (/home/runner/work/brisa/brisa/packages/brisa/src/utils/signals/index.ts:152:7)
at disconnectedCallback (/home/runner/work/brisa/brisa/packages/brisa/src/utils/brisa-element/index.ts:489:15)
at [disconnectedFromDocument] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:831:18)
at [disconnectedFromDocument] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/element/Element.js:1094:30)
at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:756:33)
at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30)
at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:772:42)
at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30)
at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:772:42)
at [disconnectedFromNode] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:505:30)
at [removeChild] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/nodes/node/Node.js:443:29)
at [destroy] (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/window/BrowserWindow.js:1372:27)
at /home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserFrameFactory.js:52:49
at new Promise (1:11)
at destroyFrame (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserFrameFactory.js:26:16)
at /home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserPageUtility.js:31:33
at new Promise (1:11)
at closePage (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/utilities/BrowserPageUtility.js:22:16)
at /home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/detached-browser/DetachedBrowserPage.js:69:32
at new Promise (1:11)
at close (/home/runner/work/brisa/brisa/node_modules/happy-dom/lib/browser/detached-browser/DetachedBrowserPage.js:67:16)
at /home/runner/work/brisa/brisa/node_modules/@happy-dom/global-registrator/lib/GlobalRegistrator.js:80:28
at unregister (/home/runner/work/brisa/brisa/node_modules/@happy-dom/global-registrator/lib/GlobalRegistrator.js:65:31)
at /home/runner/work/brisa/brisa/packages/brisa/src/utils/client-build-plugin/integration.test.tsx:58:60
at /home/runner/work/brisa/brisa/packages/brisa/src/utils/client-build-plugin/integration.test.tsx:56:15
|
error: expect(received).toBe(expected):
packages/brisa/src/utils/signals/index.test.ts#L22
Expected: "bar"
Received: undefined
at /home/runner/work/brisa/brisa/packages/brisa/src/utils/signals/index.test.ts:22:38
|
error: expect(received).toEqual(expected):
packages/brisa/src/utils/signals/index.test.ts#L398
[
[
- "foo",
- "bar"
- ],
- [
"count",
1
]
]
- Expected - 4
+ Received + 0
at /home/runner/work/brisa/brisa/packages/brisa/src/utils/signals/index.test.ts:398:38
|
error: expect(received).toHaveBeenCalledTimes(expected):
packages/brisa/src/utils/brisa-error-dialog/utils.test.ts#L19
Expected number of calls: 0
Received number of calls: 5
at /home/runner/work/brisa/brisa/packages/brisa/src/utils/brisa-error-dialog/utils.test.ts:19:21
|
TypeError: undefined is not an object (evaluating '(await responseAction(req)).json'):
packages/brisa/src/utils/response-action/index.test.ts#L53
at /home/runner/work/brisa/brisa/packages/brisa/src/utils/response-action/index.test.ts:53:43
|
TypeError: undefined is not an object (evaluating '(await responseAction(req)).json'):
packages/brisa/src/utils/response-action/index.test.ts#L80
at /home/runner/work/brisa/brisa/packages/brisa/src/utils/response-action/index.test.ts:80:43
|
error: expect(received).toBeNull():
packages/brisa/src/utils/response-action/index.test.ts#L107
Received: "[[\"foo\", \"bar\"]]"
at /home/runner/work/brisa/brisa/packages/brisa/src/utils/response-action/index.test.ts:107:35
|
error: expect(received).toEqual(expected):
packages/brisa/src/utils/response-action/index.test.ts#L130
Expected: [
{
isTrusted: true,
bubbles: false,
cancelBubble: false,
cancelable: false,
composed: false,
currentTarget: {
action: "http://locahost/es/somepage",
autocomplete: "on",
enctype: "multipart/form-data",
encoding: "multipart/form-data",
method: "post",
elements: {},
reset: Any<Function>,
},
defaultPrevented: true,
eventPhase: 0,
formData: FormData {
"foo": "bar",
},
returnValue: true,
srcElement: null,
target: {
action: "http://locahost/es/somepage",
autocomplete: "on",
enctype: "multipart/form-data",
encoding: "multipart/form-data",
method: "post",
elements: {},
reset: Any<Function>,
},
timeStamp: 0,
type: "formdata",
}
]
Received: undefined
at /home/runner/work/brisa/brisa/packages/brisa/src/utils/response-action/index.test.ts:130:46
|
bun-tests (windows-latest)
The job was canceled because "ubuntu-latest" failed.
|
bun-tests (windows-latest)
The operation was canceled.
|
bun-tests (macos-latest)
The job was canceled because "ubuntu-latest" failed.
|
bun-tests (macos-latest)
The operation was canceled.
|
node-tests (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
bun-tests (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
deno-tests (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|