chore(deps): update typescript-eslint monorepo to v6 #188
pr.yml
on: pull_request
build
/
build
4m 29s
Matrix: e2e-tests / e2e-tests
Annotations
10 errors and 10 notices
[angular:webkit] › pagination/pagination.e2e-spec.ts:76:2 › Pagination tests › Default features:
e2e/pagination/pagination.e2e-spec.ts#L89
1) [angular: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
|
[angular:webkit] › select/select.e2e-spec.ts:14:2 › Select tests › Basic states:
e2e/select/select.e2e-spec.ts#L52
1) [angular: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
|
[react:webkit] › pagination/pagination.e2e-spec.ts:110:2 › Pagination tests › Custom features:
e2e/pagination/pagination.e2e-spec.ts#L119
1) [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
|
[react:webkit] › rating/rating.e2e-spec.ts:170:2 › Rating tests › Config:
e2e/rating/rating.e2e-spec.ts#L207
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",
}
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
|
[react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › pagination/custom should have a consistent markup:
e2e/samplesMarkup.e2e-spec.ts#L36
1) [react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › pagination/custom should have a consistent markup
Error: Snapshot comparison failed:
<body>
<div
id="root"
>
<div
class="container p-3"
>
<p>
"A pagination with customized links:"
</p>
<nav
aria-label="Page navigation with customized links"
>
<ul
class="au-pagination pagination"
>
<li
class="page-item"
>
<a
aria-label="Action link for previous page"
class="au-previous page-link"
href="#"
>
<span
aria-hidden="true"
>
"Prev"
</span>
</a>
</li>
<li
class="page-item"
>
<a
aria-label="Page 1 of 6"
class="au-page page-link"
href="#"
>
"A"
</a>
</li>
<li
class="page-item"
>
<a
aria-label="Page 2 of 6"
class="au-page page-link"
href="#"
>
"B"
</a>
</li>
<li
class="page-item"
>
<a
aria-label="Page 3 of 6"
class="au-page page-link"
href="#"
>
"C"
</a>
</li>
<li
aria-current="page"
class="active page-item"
>
<a
aria-label="Page 4 of 6"
class="au-page page-link"
href="#"
>
"D"
<span
class="visually-hidden"
>
"(current)"
</span>
</a>
</li>
<li
class="page-item"
>
<a
aria-label="Page 5 of 6"
class="au-page page-link"
href="#"
>
"E"
</a>
</li>
<li
class="page-item"
>
<a
aria-label="Page 6 of 6"
class="au-page page-link"
href="#"
>
"F"
</a>
</li>
<li
class="page-item"
>
<a
aria-label="Action link for next page"
class="au-next page-link"
href="#"
>
<span
aria-hidden="true"
>
"Next"
</span>
</a>
</li>
</ul>
<div
aria-live="polite"
class="visually-hidden"
>
"Current page is 4"
</div>
</nav>
<hr />
<p>
"A pagination with customized pages:"
</p>
<nav
aria-label="Page navigation with customized pages"
>
<ul
class="au-pagination pagination"
>
<li
class="page-item"
>
<a
aria-label="Action link for previous page"
class="au-previous page-link"
href="#"
>
<span
aria-hidden="true"
>
"‹"
</span>
</a>
</li>
<li
class="au-custom-pages-item"
>
<div
class="d-flex flex-nowrap mb-3 px-2"
>
<label
class="col-form-label me-2 ms-1"
for="paginationInput"
id="paginationInputLabel"
>
"Page"
</label>
<input
aria-labelledby="paginationInputLabel paginationDescription"
class="custom-pages-input form-control"
id="paginationInput"
|
[react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › alert/playground should have a consistent markup:
e2e/samplesMarkup.e2e-spec.ts#L36
2) [react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › alert/playground should have a consistent markup
Error: Snapshot comparison failed:
<body>
<div
id="root"
>
<div
class="container p-3"
>
<div
class="alert alert-primary au-alert d-flex show w-100"
role="alert"
>
<div
class="alert-body"
/>
<button
aria-label="Close"
class="btn-close ms-auto"
type="button"
/>
</div>
</div>
</div/>
</body>
Expected: /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.e2e-spec.ts-snapshots/alert-playground.html
Received: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.e2e-spec.ts-Samples-markup-consi-4d2b6-lert-playground-should-have-a-consistent-markup-react-webkit/alert-playground-actual.html
34 | await routesExtraAction[route]?.(page);
35 | await page.waitForSelector('.fade', {state: 'detached'}); // wait for fade transitions to be finished
> 36 | expect(await htmlSnapshot(page.locator('body'))).toMatchSnapshot(`${route}.html`);
| ^
37 | });
38 | }
39 | });
at /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.e2e-spec.ts:36:53
|
[react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › alert/dynamic should have a consistent markup:
e2e/samplesMarkup.e2e-spec.ts#L36
3) [react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › alert/dynamic should have a consistent markup
Error: Snapshot comparison failed:
<body>
<div
id="root"
>
<div
class="container p-3"
>
<button
class="addError btn btn-primary me-1"
>
"Add error"
</button>
<button
class="addInfo btn btn-primary me-1"
>
"Add info"
</button>
<button
class="addWarning btn btn-primary me-1"
>
"Add warning"
</button>
<br />
<div
class="alertCount mb-3"
>
"Alerts in the service: 0"
</div>
</div>
</div/>
</body>
Expected: /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.e2e-spec.ts-snapshots/alert-dynamic.html
Received: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.e2e-spec.ts-Samples-markup-consi-f2cf4-k-alert-dynamic-should-have-a-consistent-markup-react-webkit/alert-dynamic-actual.html
34 | await routesExtraAction[route]?.(page);
35 | await page.waitForSelector('.fade', {state: 'detached'}); // wait for fade transitions to be finished
> 36 | expect(await htmlSnapshot(page.locator('body'))).toMatchSnapshot(`${route}.html`);
| ^
37 | });
38 | }
39 | });
at /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.e2e-spec.ts:36:53
|
[react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › alert/config should have a consistent markup:
e2e/samplesMarkup.e2e-spec.ts#L36
4) [react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › alert/config should have a consistent markup
Error: Snapshot comparison failed:
<body>
<div
id="root"
>
<div
class="container p-3"
>
<button
class="btn btn-primary showAlert"
type="button"
>
"Show alert"
</button>
<br />
<br />
<div
class="d-flex flex-column"
>
<div
class="d-flex form-group"
>
<label
class="align-self-center me-3"
for="typeSelect"
>
"Alert type:"
</label>
<select
class="form-select w-auto"
id="typeSelect"
>
<option
value="success"
>
"success"
</option>
<option
value="info"
>
"info"
</option>
<option
value="warning"
>
"warning"
</option>
<option
value="danger"
>
"danger"
</option>
<option
value="primary"
>
"primary"
</option>
<option
value="secondary"
>
"secondary"
</option>
<option
value="light"
>
"light"
</option>
<option
value="dark"
>
"dark"
</option>
</select>
</div>
<label>
<input
checked="true"
class="form-check-input me-1"
type="checkbox"
/>
"Animation on init"
</label>
<label>
<input
checked="true"
class="form-check-input me-1"
type="checkbox"
/>
"Animation"
</label>
<label>
<input
checked="true"
class="dismissibleInput form-check-input me-1"
type="checkbox"
/>
"Dismissible"
</label>
</div>
<br />
<br />
<div
class="alert alert-success au-alert d-flex show w-100"
role="alert"
>
<div
class="alert-body"
>
<h4
class="alert-heading"
>
"Well done!"
</h4>
<p>
"Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content."
</p>
<hr />
<p
class="mb-0"
>
"Whenever you need to, be sure to use margin utilities to keep things nice and tidy."
</p>
</div>
<button
aria-label="Close"
class="btn-close ms-auto"
type="button"
/>
</div>
</div>
</div/>
</body>
Expected: /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.e2e-spec.ts-snapshots/alert-config.html
Received: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.e2e-spec.ts-Samples-markup-consi-95860-ck-alert-config-should-have-a-consistent-markup-react-webkit/alert-config-actual.html
34 | await routesExtraAction[route]?.(page);
35 | await page.waitForSelector('.fade', {state: 'detached'}); // wait for fade transitions to be finished
> 36 | expect(await htmlSnapshot(page.locator('body'))).toMatchSnapshot(`${route}.html`);
| ^
37 | });
38 | }
39 | });
at /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.e2e-spec.ts:36:53
|
[react:webkit] › select/select.e2e-spec.ts:14:2 › Select tests › Basic states:
e2e/select/select.e2e-spec.ts#L52
5) [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
|
[react:webkit] › transition/transition.e2e-spec.ts:138:3 › Transition tests › animation on init:
e2e/transition/transition.e2e-spec.ts#L160
6) [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
|
🎭 Playwright Run Summary
42 passed (51.6s)
|
🎭 Playwright Run Summary
1 flaky
[angular:webkit] › pagination/pagination.e2e-spec.ts:76:2 › Pagination tests › Default features
1 skipped
41 passed (1.3m)
|
🎭 Playwright Run Summary
43 passed (57.2s)
|
🎭 Playwright Run Summary
43 passed (51.5s)
|
🎭 Playwright Run Summary
1 flaky
[angular:webkit] › select/select.e2e-spec.ts:14:2 › Select tests › Basic states ────────────────
1 skipped
41 passed (1.2m)
|
🎭 Playwright Run Summary
2 flaky
[react:webkit] › pagination/pagination.e2e-spec.ts:110:2 › Pagination tests › Custom features ──
[react:webkit] › rating/rating.e2e-spec.ts:170:2 › Rating tests › Config ───────────────────────
41 passed (1.4m)
|
🎭 Playwright Run Summary
6 flaky
[react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › pagination/custom should have a consistent markup
[react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › alert/playground should have a consistent markup
[react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › alert/dynamic should have a consistent markup
[react:webkit] › samplesMarkup.e2e-spec.ts:27:7 › Samples markup consistency check › alert/config should have a consistent markup
[react:webkit] › select/select.e2e-spec.ts:14:2 › Select tests › Basic states ──────────────────
[react:webkit] › transition/transition.e2e-spec.ts:138:3 › Transition tests › animation on init, with animation setting enabled
36 passed (1.5m)
|
🎭 Playwright Run Summary
1 skipped
42 passed (1.2m)
|
🎭 Playwright Run Summary
42 passed (1.4m)
|
🎭 Playwright Run Summary
42 passed (1.5m)
|