fix: update sidebar toggle button locator to ensure visibility at des… #4741
ci.yml
on: push
Build Core
3m 20s
Test
12m 53s
Build Docs
3m 19s
E2E Tests
1m 11s
Annotations
2 errors, 1 warning, and 1 notice
|
Test
Process completed with exit code 1.
|
|
packages/fields/src/record-picker.test.tsx > RecordPickerDialog — renderGrid slot > renders external grid component via renderGrid slot:
packages/fields/src/record-picker.test.tsx#L1117
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st vi.fn() call:
[
- ObjectContaining {
- "columns": ArrayContaining [
- ObjectContaining {
+ {
+ "cellRenderer": undefined,
+ "columns": [
+ {
"field": "name",
},
],
"currentPage": 1,
"idField": "id",
- "isSelected": Any<Function>,
+ "isSelected": [Function anonymous],
"loading": false,
"multiple": false,
- "onPageChange": Any<Function>,
- "onRowClick": Any<Function>,
- "onSort": Any<Function>,
+ "onPageChange": [Function bound dispatchSetState],
+ "onRowClick": [Function anonymous],
+ "onSort": [Function anonymous],
"pageSize": 10,
- "records": ArrayContaining [
- ObjectContaining {
- "id": "1",
- "name": "Acme Corp",
- },
- ],
+ "records": [],
"sortDirection": "asc",
"sortField": null,
- "totalCount": 1,
+ "totalCount": 0,
},
]
2nd vi.fn() call:
[
- ObjectContaining {
- "columns": ArrayContaining [
- ObjectContaining {
+ {
+ "cellRenderer": undefined,
+ "columns": [
+ {
"field": "name",
},
],
"currentPage": 1,
"idField": "id",
- "isSelected": Any<Function>,
- "loading": false,
+ "isSelected": [Function anonymous],
+ "loading": true,
"multiple": false,
- "onPageChange": Any<Function>,
- "onRowClick": Any<Function>,
- "onSort": Any<Function>,
+ "onPageChange": [Function bound dispatchSetState],
+ "onRowClick": [Function anonymous],
+ "onSort": [Function anonymous],
"pageSize": 10,
- "records": ArrayContaining [
- ObjectContaining {
- "id": "1",
- "name": "Acme Corp",
- },
- ],
+ "records": [],
"sortDirection": "asc",
"sortField": null,
- "totalCount": 1,
+ "totalCount": 0,
},
]
Number of calls: 2
❯ packages/fields/src/record-picker.test.tsx:1117:24
|
|
E2E Tests
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
🎭 Playwright Run Summary
32 skipped
12 passed (24.4s)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
build-output
Expired
|
9.56 MB |
sha256:b1b8058253d9d0b6cfca87675e786ea3ebee48ad621ca122e4cde04d981015f2
|
|