feat(accordion): demo examples #323
Annotations
4 errors and 1 notice
e2e/samplesMarkup.e2e-spec.ts#L36
1) [react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › rating/customtemplate should have a consistent markup
Error: Snapshot comparison failed:
<body>
<div
id="root"
>
<div
class="container p-3"
>
<div
aria-label="custom rating"
aria-valuemax="10"
aria-valuemin="0"
aria-valuenow="7"
aria-valuetext="7 out of 10"
class="au-rating d-inline-flex rating-custom"
role="slider"
tabindex="0"
>
<span
class="visually-hidden"
>
"(*)"
</span>
<span
class="au-rating-star"
style="cursor: pointer;"
>
<span
class="bad filled star"
>
"★"
</span>
</span>
<span
class="visually-hidden"
>
"(*)"
</span>
<span
class="au-rating-star"
style="cursor: pointer;"
>
<span
class="bad filled star"
>
"★"
</span>
</span>
<span
class="visually-hidden"
>
"(*)"
</span>
<span
class="au-rating-star"
style="cursor: pointer;"
>
<span
class="bad filled star"
>
"★"
</span>
</span>
<span
class="visually-hidden"
>
"(*)"
</span>
<span
class="au-rating-star"
style="cursor: pointer;"
>
<span
class="filled star"
>
"★"
</span>
</span>
<span
class="visually-hidden"
>
"(*)"
</span>
<span
class="au-rating-star"
style="cursor: pointer;"
>
<span
class="filled star"
>
"★"
</span>
</span>
<span
class="visually-hidden"
>
"(*)"
</span>
<span
class="au-rating-star"
style="cursor: pointer;"
>
<span
class="filled star"
>
"★"
</span>
</span>
<span
class="visually-hidden"
>
"(*)"
</span>
<span
class="au-rating-star"
style="cursor: pointer;"
>
<span
class="filled star"
>
"★"
</span>
</span>
<span
class="visually-hidden"
>
"( )"
</span>
<span
class="au-rating-star"
style="cursor: pointer;"
>
<span
class="star"
>
"★"
</span>
</span>
<span
class="visually-hidden"
>
"( )"
</span>
<span
class="au-rating-star"
style="cursor: pointer;"
>
<span
class="star"
>
"★"
</span>
</span>
<span
class="visually-hidden"
>
"( )"
</span>
<span
class="au-rating-star"
style="cursor: pointer;"
>
<span
class="star"
>
"★"
</span>
</span>
</div>
</div>
</div/>
</body>
Expected: /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.e2e-spec.ts-snapshots/rating-customtemplate.html
Received: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.e2e-spec.ts-Samples-markup-consi-df692--customtemplate-should-have-a-consistent-markup-react-webkit/rating-customtemplate-actual.html
34 | await routesExt
|
e2e/select/select.e2e-spec.ts#L52
2) [react:webkit] › select/select.e2e-spec.ts:14:2 › Select tests › Basic states ─────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 18
@@ -3,9 +3,25 @@
Array [
"Action 1",
"x",
],
],
- "isOpen": false,
- "list": Array [],
+ "isOpen": true,
+ "list": Array [
+ Object {
+ "hasCheckBox": true,
+ "isChecked": true,
+ "text": "Action 1",
+ },
+ Object {
+ "hasCheckBox": true,
+ "isChecked": false,
+ "text": "Action 2",
+ },
+ Object {
+ "hasCheckBox": true,
+ "isChecked": false,
+ "text": "Action 3",
+ },
+ ],
"text": "a",
}
50 | list: [],
51 | });
> 52 | expect(await selectPO.state()).toEqual(expectedState);
| ^
53 | });
54 |
55 | test(`Close actions`, async ({page}) => {
at /home/runner/work/AgnosUI/AgnosUI/e2e/select/select.e2e-spec.ts:52:34
|
e2e/select/select.e2e-spec.ts#L99
3) [react:webkit] › select/select.e2e-spec.ts:71:2 › Select tests › Config ───────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
"badges": Array [],
"isOpen": false,
"list": Array [],
- "text": "next value",
+ "text": "test",
}
97 | expectedState.text = 'next value';
98 | await selectConfigPO.locatorResetFilterTextButton.click();
> 99 | expect(await selectPO.state()).toEqual(expectedState);
| ^
100 |
101 | expectedState.text = 'sync again';
102 | await selectPO.locatorInput.fill(expectedState.text);
at /home/runner/work/AgnosUI/AgnosUI/e2e/select/select.e2e-spec.ts:99:34
|
e2e/transition/transition.e2e-spec.ts#L160
4) [react:webkit] › transition/transition.e2e-spec.ts:138:3 › Transition tests › animation on init, with animation setting enabled
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -6,8 +6,8 @@
],
"hidden": false,
"removeFromDOM": true,
"shown": false,
"transition": "verticalCollapse",
- "transitioning": true,
+ "transitioning": false,
"visible": true,
}
158 | expectedState.shown = false;
159 | expectedState.classes = ['collapsing'];
> 160 | expect(await po.getState()).toEqual(expectedState);
| ^
161 |
162 | await expect.poll(() => po.getState()).not.toEqual(expectedState);
163 | expectedState.transitioning = false;
at /home/runner/work/AgnosUI/AgnosUI/e2e/transition/transition.e2e-spec.ts:160:32
|
4 flaky
[react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › rating/customtemplate should have a consistent markup
[react:webkit] › select/select.e2e-spec.ts:14:2 › Select tests › Basic states ──────────────────
[react:webkit] › select/select.e2e-spec.ts:71:2 › Select tests › Config ────────────────────────
[react:webkit] › transition/transition.e2e-spec.ts:138:3 › Transition tests › animation on init, with animation setting enabled
41 passed (1.3m)
|
The logs for this run have expired and are no longer available.
Loading