first draft of progressbar #357
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/pagination/pagination.e2e-spec.ts#L119
2) [react:webkit] › pagination/pagination.e2e-spec.ts:110:2 › Pagination tests › Custom features ─
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
@@ -4,12 +4,12 @@
"isPreviousDisabled": false,
"pages": Array [
"A",
"B",
"C",
- "D",
- "E(current)",
+ "D(current)",
+ "E",
"F",
],
"rootClasses": Array [
"au-pagination",
"pagination",
117 | await paginationPO2.locatorNextButton.click();
118 | expectedState.pages = ['A', 'B', 'C', 'D', 'E(current)', 'F'];
> 119 | expect(await paginationState(paginationPO1)).toEqual(expectedState);
| ^
120 | });
121 | });
122 |
at /home/runner/work/AgnosUI/AgnosUI/e2e/pagination/pagination.e2e-spec.ts:119:48
|
|
The logs for this run have expired and are no longer available.
Loading