MWPW-164967 [NALA] test for Target enablement #2463
Annotations
3 errors, 1 warning, and 1 notice
Run Nala Tests via pr.run.sh:
nala/features/personalization/target-on.test.js#L27
1) [milo-live-chromium] › features/personalization/target-on.test.js:12:5 › @check for running Target tests,@targeton0 @smoke @regression @milo
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.marquee').first().locator('.heading-xl').first()
Expected string: "Target is running"
Received string: "Heading XL Marquee standard medium left"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.marquee').first().locator('.heading-xl').first()
- locator resolved to <h2 class="heading-xl" id="heading-xl-marquee-standard-medium-left">…</h2>
- unexpected value "Heading XL Marquee standard medium left"
25 | console.info(`[Test Page]: ${metadataURL}`);
26 | await page.goto(metadataURL);
> 27 | await expect(marquee.headingXL).toHaveText('Target is running');
| ^
28 | });
29 |
30 | await test.step('step-3: verify parameter test page', async () => {
at /home/runner/work/milo/milo/nala/features/personalization/target-on.test.js:27:37
at /home/runner/work/milo/milo/nala/features/personalization/target-on.test.js:24:3
|
Run Nala Tests via pr.run.sh:
nala/features/personalization/target-on.test.js#L21
1) [milo-live-chromium] › features/personalization/target-on.test.js:12:5 › @check for running Target tests,@targeton0 @smoke @regression @milo
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.marquee').first().locator('.heading-xl').first()
Expected string: "Heading XL Marquee standard medium left"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.marquee').first().locator('.heading-xl').first()
19 | console.info(`[Test Page]: ${defaultURL}`);
20 | await page.goto(defaultURL);
> 21 | await expect(marquee.headingXL).toHaveText('Heading XL Marquee standard medium left');
| ^
22 | });
23 |
24 | await test.step('step-2: verify metadata test page', async () => {
at /home/runner/work/milo/milo/nala/features/personalization/target-on.test.js:21:37
at /home/runner/work/milo/milo/nala/features/personalization/target-on.test.js:18:3
|
Run Nala Tests via pr.run.sh
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Nala Tests via pr.run.sh
1 failed
[milo-live-chromium] › features/personalization/target-on.test.js:12:5 › @check for running Target tests,@targeton0 @smoke @regression @milo
56 skipped
603 passed (7.6m)
|
Loading