[MWPW-148000] [ANALYTICS] Add analytics to Modals #1191
run-nala-default.yml
on: pull_request
Matrix: Running Nala E2E UI Tests
Annotations
8 errors and 1 notice
[milo-live-chromium] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container:
nala/blocks/accordion/accordion.test.js#L51
1) [milo-live-chromium] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container,@accordion @smoke @regression @milo › step-3: Verify analytics attributes
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('.section').first()
Expected string: "s1"
Received string: "0"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.section').first()
- locator resolved to <div data-idx="0" class="section">…</div>
- unexpected value "null"
- locator resolved to <div data-idx="0" class="section">…</div>
- unexpected value "null"
- locator resolved to <div data-idx="0" class="section">…</div>
- unexpected value "null"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
49 |
50 | await test.step('step-3: Verify analytics attributes', async () => {
> 51 | await expect(await accordion.section).toHaveAttribute('daa-lh', await webUtil.getSectionDaalh(1));
| ^
52 | await expect(await accordion.accordion).toHaveAttribute('daa-lh', await webUtil.getBlockDaalh('accordion-container', 1));
53 | });
54 |
at /home/runner/work/milo/milo/nala/blocks/accordion/accordion.test.js:51:45
at /home/runner/work/milo/milo/nala/blocks/accordion/accordion.test.js:50:5
|
[milo-live-chromium] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container:
nala/blocks/accordion/accordion.test.js#L51
1) [milo-live-chromium] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container,@accordion @smoke @regression @milo › step-3: Verify analytics attributes
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('.section').first()
Expected string: "s1"
Received string: "0"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.section').first()
- locator resolved to <div data-idx="0" class="section">…</div>
- unexpected value "null"
- locator resolved to <div data-idx="0" class="section">…</div>
- unexpected value "null"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
49 |
50 | await test.step('step-3: Verify analytics attributes', async () => {
> 51 | await expect(await accordion.section).toHaveAttribute('daa-lh', await webUtil.getSectionDaalh(1));
| ^
52 | await expect(await accordion.accordion).toHaveAttribute('daa-lh', await webUtil.getBlockDaalh('accordion-container', 1));
53 | });
54 |
at /home/runner/work/milo/milo/nala/blocks/accordion/accordion.test.js:51:45
at /home/runner/work/milo/milo/nala/blocks/accordion/accordion.test.js:50:5
|
[milo-live-firefox] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container:
nala/blocks/accordion/accordion.test.js#L51
2) [milo-live-firefox] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container,@accordion @smoke @regression @milo › step-3: Verify analytics attributes
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('.section').first()
Expected string: "s1"
Received string: "0"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.section').first()
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
49 |
50 | await test.step('step-3: Verify analytics attributes', async () => {
> 51 | await expect(await accordion.section).toHaveAttribute('daa-lh', await webUtil.getSectionDaalh(1));
| ^
52 | await expect(await accordion.accordion).toHaveAttribute('daa-lh', await webUtil.getBlockDaalh('accordion-container', 1));
53 | });
54 |
at /home/runner/work/milo/milo/nala/blocks/accordion/accordion.test.js:51:45
at /home/runner/work/milo/milo/nala/blocks/accordion/accordion.test.js:50:5
|
[milo-live-firefox] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container:
nala/blocks/accordion/accordion.test.js#L51
2) [milo-live-firefox] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container,@accordion @smoke @regression @milo › step-3: Verify analytics attributes
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('.section').first()
Expected string: "s1"
Received string: "0"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.section').first()
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
49 |
50 | await test.step('step-3: Verify analytics attributes', async () => {
> 51 | await expect(await accordion.section).toHaveAttribute('daa-lh', await webUtil.getSectionDaalh(1));
| ^
52 | await expect(await accordion.accordion).toHaveAttribute('daa-lh', await webUtil.getBlockDaalh('accordion-container', 1));
53 | });
54 |
at /home/runner/work/milo/milo/nala/blocks/accordion/accordion.test.js:51:45
at /home/runner/work/milo/milo/nala/blocks/accordion/accordion.test.js:50:5
|
[milo-live-webkit] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container:
nala/blocks/accordion/accordion.test.js#L51
3) [milo-live-webkit] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container,@accordion @smoke @regression @milo › step-3: Verify analytics attributes
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('.section').first()
Expected string: "s1"
Received string: "0"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.section').first()
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
49 |
50 | await test.step('step-3: Verify analytics attributes', async () => {
> 51 | await expect(await accordion.section).toHaveAttribute('daa-lh', await webUtil.getSectionDaalh(1));
| ^
52 | await expect(await accordion.accordion).toHaveAttribute('daa-lh', await webUtil.getBlockDaalh('accordion-container', 1));
53 | });
54 |
at /home/runner/work/milo/milo/nala/blocks/accordion/accordion.test.js:51:45
at /home/runner/work/milo/milo/nala/blocks/accordion/accordion.test.js:50:5
|
[milo-live-webkit] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container:
nala/blocks/accordion/accordion.test.js#L51
3) [milo-live-webkit] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container,@accordion @smoke @regression @milo › step-3: Verify analytics attributes
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('.section').first()
Expected string: "s1"
Received string: "0"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.section').first()
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
- locator resolved to <div daa-lh="0" class="section">…</div>
- unexpected value "0"
49 |
50 | await test.step('step-3: Verify analytics attributes', async () => {
> 51 | await expect(await accordion.section).toHaveAttribute('daa-lh', await webUtil.getSectionDaalh(1));
| ^
52 | await expect(await accordion.accordion).toHaveAttribute('daa-lh', await webUtil.getBlockDaalh('accordion-container', 1));
53 | });
54 |
at /home/runner/work/milo/milo/nala/blocks/accordion/accordion.test.js:51:45
at /home/runner/work/milo/milo/nala/blocks/accordion/accordion.test.js:50:5
|
[milo-live-firefox] › features/commerce/commerce.test.js:269:7 › Commerce feature test suite › @Commerce-KitchenSink-Smoke:
nala/features/commerce/commerce.test.js#L290
4) [milo-live-firefox] › features/commerce/commerce.test.js:269:7 › Commerce feature test suite › @Commerce-KitchenSink-Smoke, @Commerce @kitchensink @smoke @regression › Validate wcs placeholders
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 4
288 | ),
289 | );
> 290 | expect(unresolvedPlaceholders.length).toBe(0);
| ^
291 | });
292 |
293 | // Validate commerce checkout links are indeed commerce
at /home/runner/work/milo/milo/nala/features/commerce/commerce.test.js:290:45
at /home/runner/work/milo/milo/nala/features/commerce/commerce.test.js:282:5
|
Running Nala E2E UI Tests (20.x)
Process completed with exit code 1.
|
🎭 Playwright Run Summary
3 failed
[milo-live-chromium] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container,@accordion @smoke @regression @milo
[milo-live-firefox] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container,@accordion @smoke @regression @milo
[milo-live-webkit] › blocks/accordion/accordion.test.js:19:7 › Milo Accordion Block test suite › @accordion-container,@accordion @smoke @regression @milo
1 flaky
[milo-live-firefox] › features/commerce/commerce.test.js:269:7 › Commerce feature test suite › @Commerce-KitchenSink-Smoke, @Commerce @kitchensink @smoke @regression
16 skipped
532 passed (7.1m)
|