refactor(demo): transform sample source code at compile time #285
Annotations
2 errors and 1 notice
e2e/pagination/pagination.e2e-spec.ts#L89
1) [react:webkit] › pagination/pagination.e2e-spec.ts:76:2 › Pagination tests › Default features ─
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "page": 1,
+ "page": 4,
}
87 | const paginationWithBoundariesPO = new PaginationPO(page, 2);
88 | await paginationWithBoundariesPO.locatorFirstButton.click();
> 89 | expect(await paginationDemoPO.defaultPaginationDemoState()).toEqual({page: 1});
| ^
90 | expect(await paginationState(paginationWithBoundariesPO)).toEqual({
91 | ...initState,
92 | isFirstDisabled: true,
at /home/runner/work/AgnosUI/AgnosUI/e2e/pagination/pagination.e2e-spec.ts:89:63
|
e2e/rating/rating.e2e-spec.ts#L214
2) [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",
}
212 | stars: createArray(20, '♥♥'),
213 | };
> 214 | expect(await ratingPO.state()).toEqual(expectedState);
| ^
215 |
216 | await ratingDemoPO.locatorBtnConfigClassName('fs-1').click();
217 | expectedState = {
at /home/runner/work/AgnosUI/AgnosUI/e2e/rating/rating.e2e-spec.ts:214:34
|
|
The logs for this run have expired and are no longer available.
Loading