Update table and checkbox style #998
Annotations
4 errors and 2 warnings
build
ui-components#test: command (/root/actions-runner/_work/ThreatMapper/ThreatMapper/deepfence_frontend/packages/ui-components) /root/setup-pnpm/node_modules/.bin/pnpm run test --run exited (1)
|
src/components/table/table.test.tsx > Component Table > should render a basic table:
deepfence_frontend/packages/ui-components/src/components/table/table.test.tsx#L77
Error: Snapshot `Component Table > should render a basic table > cells with border 0 1` mismatched
- Expected
+ Received
- "<td style="width: 150px;" class="text-[13px] font-medium leading-[18px] text-text-text-and-icon px-4 truncate min-w-0 border-b border-bg-grid-border h-[48px]">0</td>"
+ "<td style="width: 150px;" class="text-[13px] font-medium leading-[18px] text-text-text-and-icon px-4 min-w-0 border-b border-bg-grid-border h-[48px] truncate">0</td>"
❯ src/components/table/table.test.tsx:77:32
❯ src/components/table/table.test.tsx:75:11
|
src/components/table/table.test.tsx > Component Table > should use getTrProps and getTdProps correctly:
deepfence_frontend/packages/ui-components/src/components/table/table.test.tsx#L436
Error: Snapshot `Component Table > should use getTrProps and getTdProps correctly > row with custom props0 1` mismatched
- Expected
+ Received
- "<tr data-testid="table-header-row"><th colspan="1" class="relative border-0 text-text-text-and-icon border-b-[1.5px] dark:border-bg-grid-border border-[#dcdcdc] text-p11" style="width: 150px;"><div class="w-full h-full flex truncate pl-4 pr-2.5 items-center py-[15px]"><span class="flex-1 truncate text-start">id</span></div></th><th colspan="1" class="relative border-0 text-text-text-and-icon border-b-[1.5px] dark:border-bg-grid-border border-[#dcdcdc] text-p11" style="width: 150px;"><div class="w-full h-full flex truncate pl-4 pr-2.5 items-center py-[15px]"><span class="flex-1 truncate text-start">name</span></div></th><th colspan="1" class="relative border-0 text-text-text-and-icon border-b-[1.5px] dark:border-bg-grid-border border-[#dcdcdc] text-p11" style="width: 150px;"><div class="w-full h-full flex truncate pl-4 pr-2.5 items-center py-[15px]"><span class="flex-1 truncate text-start">description</span></div></th></tr>"
+ "<tr data-testid="table-header-row"><th colspan="1" class="relative border-0 text-text-text-and-icon border-b-[1.5px] dark:border-bg-grid-border border-[#dcdcdc] text-p11 px-4" style="width: 150px;"><div class="w-full h-full flex items-center py-[15px]"><div class="flex-1 text-start truncate">id</div></div></th><th colspan="1" class="relative border-0 text-text-text-and-icon border-b-[1.5px] dark:border-bg-grid-border border-[#dcdcdc] text-p11 px-4" style="width: 150px;"><div class="w-full h-full flex items-center py-[15px]"><div class="flex-1 text-start truncate">name</div></div></th><th colspan="1" class="relative border-0 text-text-text-and-icon border-b-[1.5px] dark:border-bg-grid-border border-[#dcdcdc] text-p11 px-4" style="width: 150px;"><div class="w-full h-full flex items-center py-[15px]"><div class="flex-1 text-start truncate">description</div></div></th></tr>"
❯ src/components/table/table.test.tsx:436:29
❯ src/components/table/table.test.tsx:435:10
|
build
Process completed with exit code 1.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 0 MB
|