HTML snapshot test for all samples for consistency in the markup #33
Annotations
3 errors and 1 notice
e2e/pagination/pagination.e2e-spec.ts#L61
1) [react:webkit] › pagination/pagination.e2e-spec.ts:46:2 › Pagination tests › Config features ──
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -1,7 +1,7 @@
Object {
- "disabled": null,
+ "disabled": "true",
"pages": Array [
"1(current)",
],
"rootClasses": Array [
"au-pagination",
59 | await paginationDemoPO.locatorBtnConfigDisabled('false').click();
60 | expectedState = {...expectedState, disabled: null};
> 61 | expect(await paginationState(paginationPO)).toEqual(expectedState);
| ^
62 | await paginationDemoPO.locatorBtnConfigCollectionSize('40').click();
63 | expectedState = {...expectedState, pages: ['1(current)', '2', '3', '4']};
64 | expect(await paginationState(paginationPO)).toEqual(expectedState);
at /home/runner/work/AgnosUI/AgnosUI/e2e/pagination/pagination.e2e-spec.ts:61:47
|
e2e/rating/rating.e2e-spec.ts#L69
2) [react:webkit] › rating/rating.e2e-spec.ts:17:2 › Rating tests › Basic features › click interactions
Error: expect(received).toEqual(expected) // deep equality
- Expected - 7
+ Received + 7
@@ -38,19 +38,19 @@
"rootClasses": Array [
"d-inline-flex",
"au-rating",
],
"stars": Array [
- "☆",
- "☆",
- "☆",
- "☆",
- "☆",
+ "★",
+ "★",
+ "★",
+ "★",
+ "★",
"☆",
"☆",
"☆",
"☆",
"☆",
],
- "text": "0 out of 10",
- "value": "0",
+ "text": "5 out of 10",
+ "value": "5",
}
67 | stars: ['☆', '☆', '☆', '☆', '☆', '☆', '☆', '☆', '☆', '☆'],
68 | };
> 69 | expect(await ratingPO.state()).toEqual(expectedState);
| ^
70 | expect(await ratingDemoPO.defaultRatingDemoState()).toEqual({rating: 0, hovered: 5, left: 5});
71 | });
72 | await test.step('keyboard interactions', async () => {
at /home/runner/work/AgnosUI/AgnosUI/e2e/rating/rating.e2e-spec.ts:69:35
at /home/runner/work/AgnosUI/AgnosUI/e2e/rating/rating.e2e-spec.ts:24:3
|
e2e/rating/rating.e2e-spec.ts#L207
3) [react:webkit] › rating/rating.e2e-spec.ts:170:2 › Rating tests › Config ──────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 20
+ Received + 20
@@ -68,29 +68,29 @@
"rootClasses": Array [
"d-inline-flex",
"au-rating",
],
"stars": Array [
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
- "*",
+ "★",
+ "★",
+ "★",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
+ "☆",
],
"text": "3 out of 20",
"value": "3",
}
205 | stars: createArray(20, '*'),
206 | };
> 207 | expect(await ratingPO.state()).toEqual(expectedState);
| ^
208 |
209 | await ratingDemoPO.locatorBtnConfigSlotStar('custom').click();
210 | expectedState = {
at /home/runner/work/AgnosUI/AgnosUI/e2e/rating/rating.e2e-spec.ts:207:34
|
3 flaky
[react:webkit] › pagination/pagination.e2e-spec.ts:46:2 › Pagination tests › Config features ───
[react:webkit] › rating/rating.e2e-spec.ts:17:2 › Rating tests › Basic features ────────────────
[react:webkit] › rating/rating.e2e-spec.ts:170:2 › Rating tests › Config ───────────────────────
1 skipped
37 passed (1.2m)
|
The logs for this run have expired and are no longer available.
Loading