Skip to content

🐛 fix: 全局 CSS 影响问题去除 #595

🐛 fix: 全局 CSS 影响问题去除

🐛 fix: 全局 CSS 影响问题去除 #595

Triggered via pull request May 6, 2024 02:58
Status Failure
Total duration 1m 56s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders use-ref.tsx correctly: tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders use-ref.tsx correctly 1` mismatched - Expected + Received @@ -13,11 +13,11 @@ <div class="ant-app" style="height: 100%; width: 100%; position: relative;" > <div - class="layoutkit-flexbox css-1euyney ant-pro-chat acss-oefsti ant-pro-chat-container" + class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container" style="max-height: 100vh; height: 100%;" > <div class="ant-pro-chat-chat-list-container acss-1v5259w" style="height: 100%;" ❯ tests/demo.tsx:37:40
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders use-pro-chat.tsx correctly: tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders use-pro-chat.tsx correctly 1` mismatched - Expected + Received @@ -70,11 +70,11 @@ <div class="ant-app" style="height: 100%; width: 100%; position: relative;" > <div - class="layoutkit-flexbox css-1euyney ant-pro-chat acss-oefsti ant-pro-chat-container" + class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container" style="max-height: 100vh; height: 100%;" > <div class="ant-pro-chat-chat-list-container acss-1v5259w" style="height: 100%;" ❯ tests/demo.tsx:37:40
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders toBottomConfig.tsx correctly: tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders toBottomConfig.tsx correctly 1` mismatched - Expected + Received @@ -5,11 +5,11 @@ <div class="ant-app" style="height: 100%; width: 100%; position: relative;" > <div - class="layoutkit-flexbox css-1euyney ant-pro-chat acss-oefsti ant-pro-chat-container" + class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container" style="max-height: 100vh; height: 100%;" > <div class="ant-pro-chat-chat-list-container acss-1v5259w" style="height: 100%;" ❯ tests/demo.tsx:37:40
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders sse.tsx correctly: tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders sse.tsx correctly 1` mismatched - Expected + Received @@ -5,11 +5,11 @@ <div class="ant-app" style="height: 100%; width: 100%; position: relative;" > <div - class="layoutkit-flexbox css-1euyney ant-pro-chat acss-oefsti ant-pro-chat-container" + class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container" style="max-height: 100vh; height: 100%;" > <div class="ant-pro-chat-chat-list-container acss-1v5259w" style="height: 100%;" ❯ tests/demo.tsx:37:40
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders sse-trans.tsx correctly: tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders sse-trans.tsx correctly 1` mismatched - Expected + Received @@ -5,11 +5,11 @@ <div class="ant-app" style="height: 100%; width: 100%; position: relative;" > <div - class="layoutkit-flexbox css-1euyney ant-pro-chat acss-oefsti ant-pro-chat-container" + class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container" style="max-height: 100vh; height: 800px;" > <div class="ant-pro-chat-chat-list-container acss-1v5259w" style="height: 100%;" ❯ tests/demo.tsx:37:40
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders request.tsx correctly: tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders request.tsx correctly 1` mismatched - Expected + Received @@ -5,11 +5,11 @@ <div class="ant-app" style="height: 100%; width: 100%; position: relative;" > <div - class="layoutkit-flexbox css-1euyney ant-pro-chat acss-oefsti ant-pro-chat-container" + class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container" style="max-height: 100vh; height: 100%;" > <div class="ant-pro-chat-chat-list-container acss-1v5259w" style="height: 100%;" ❯ tests/demo.tsx:37:40
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders no-stream.tsx correctly: tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders no-stream.tsx correctly 1` mismatched - Expected + Received @@ -5,11 +5,11 @@ <div class="ant-app" style="height: 100%; width: 100%; position: relative;" > <div - class="layoutkit-flexbox css-1euyney ant-pro-chat acss-oefsti ant-pro-chat-container" + class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container" style="max-height: 100vh; height: 100vh;" > <div class="ant-pro-chat-chat-list-container acss-1v5259w" style="height: 100%;" ❯ tests/demo.tsx:37:40
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders modal.tsx correctly: tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders modal.tsx correctly 1` mismatched - Expected + Received @@ -2,11 +2,11 @@ <div class="ant-app" style="height: 100%; width: 100%; position: relative;" > <div - class="layoutkit-flexbox css-1euyney ant-pro-chat acss-oefsti ant-pro-chat-container" + class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container" style="max-height: 100vh; height: 100%;" > <div class="ant-pro-chat-chat-list-container acss-1v5259w" style="height: 100%;" ❯ tests/demo.tsx:37:40
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders meta.tsx correctly: tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders meta.tsx correctly 1` mismatched - Expected + Received @@ -5,11 +5,11 @@ <div class="ant-app" style="height: 100%; width: 100%; position: relative;" > <div - class="layoutkit-flexbox css-1euyney ant-pro-chat acss-oefsti ant-pro-chat-container" + class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container" style="max-height: 100vh; height: 100%;" > <div class="ant-pro-chat-chat-list-container acss-1v5259w" style="height: 100%;" ❯ tests/demo.tsx:37:40
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders loading.tsx correctly: tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders loading.tsx correctly 1` mismatched - Expected + Received @@ -30,11 +30,11 @@ <div class="ant-app" style="height: 100%; width: 100%; position: relative;" > <div - class="layoutkit-flexbox css-1euyney ant-pro-chat acss-oefsti ant-pro-chat-container" + class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container" style="max-height: 100vh; height: 100%;" > <div class="ant-pro-chat-chat-list-container acss-1v5259w" style="height: 100%;" ❯ tests/demo.tsx:37:40
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.