bug: Ensure q:key is included when a user adds a new key #16666
ci.yml
on: pull_request
Setup
8s
Lint Package
53s
Matrix: build-bindings
Matrix: E2E Tests
Matrix: E2E CLI Tests
All requirements are met
1s
Trigger Qwik City E2E
0s
Annotations
3 errors and 4 warnings
packages/qwik/src/core/render/dom/render.unit.tsx > should render a component with scoped styles:
packages/qwik/src/testing/expect-dom.tsx#L31
AssertionError: expected '<host q:version="dev" q:container="re…' to equal '<host q:version="dev" q:container="re…'
- Expected
+ Received
<host q:version="dev" q:container="resumed" q:render="dom-dev">
<style q:style="ml52vk-0" hidden="">
.stuff.⭐️ml52vk-0 {
color: red;
}
</style>
<!--qv -->
<div class="⭐️ml52vk-0">
- <div class="⭐️ml52vk-0 stuff" aria-hidden="true">
+ <div q:key="b" class="⭐️ml52vk-0 stuff" aria-hidden="true">
Hello
<button class="⭐️ml52vk-0">Toggle</button>
</div>
</div>
<!--/qv-->
</host>
❯ Module.expectDOM packages/qwik/src/testing/expect-dom.tsx:31:10
❯ packages/qwik/src/core/render/dom/render.unit.tsx:216:3
|
Unit Tests
Process completed with exit code 1.
|
All requirements are met
Process completed with exit code 1.
|
Build Qwik
Cache save failed.
|
Build Other Packages
Cache save failed.
|
Build Insights
Cache save failed.
|
Build Docs
Cache save failed.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
artifact-create-qwik
|
1.66 MB |
|
artifact-docs
|
11.5 MB |
|
artifact-eslint-plugin-qwik
|
29.7 KB |
|
artifact-qwik
|
15.2 MB |
|
artifact-qwik-no-optimizer
|
1.74 MB |
|
artifact-qwikcity
|
560 KB |
|
artifact-qwiklabs
|
20.5 KB |
|
artifact-qwikreact
|
10.7 KB |
|