MWPW-158071: Optimize LCP loading times #19
Triggered via pull request
September 16, 2024 15:23
Status
Failure
Total duration
4m 10s
Artifacts
–
run-nala-default.yml
on: pull_request
Matrix: Running Nala E2E UI Tests
Annotations
7 errors and 1 notice
[milo-live-chromium] › features/commerce/commerce.test.js:305:7 › Commerce feature test suite › @Commerce-DE:
nala/features/commerce/commerce.test.js#L327
1) [milo-live-chromium] › features/commerce/commerce.test.js:305:7 › Commerce feature test suite › @Commerce-DE, @Commerce @smoke @regression
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for locator('//a[contains(@daa-ll, "Buy now")]') to be visible
325 |
326 | await test.step('Validate Buy now CTA', async () => {
> 327 | await COMM.buyNowCta.waitFor({ state: 'visible', timeout: 10000 });
| ^
328 | await expect(COMM.buyNowCta).toHaveAttribute('data-promotion-code', data.promo);
329 | await expect(COMM.buyNowCta).toHaveAttribute('href', new RegExp(`${data.promo}`));
330 | await expect(COMM.buyNowCta).toHaveAttribute('href', new RegExp(`${data.CO}`));
at /home/runner/work/milo/milo/nala/features/commerce/commerce.test.js:327:28
at /home/runner/work/milo/milo/nala/features/commerce/commerce.test.js:326:16
|
[milo-live-chromium] › features/commerce/commerce.test.js:305:7 › Commerce feature test suite › @Commerce-DE:
nala/features/commerce/commerce.test.js#L323
1) [milo-live-chromium] › features/commerce/commerce.test.js:305:7 › Commerce feature test suite › @Commerce-DE, @Commerce @smoke @regression
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 2
321 | ),
322 | );
> 323 | expect(unresolvedPlaceholders.length).toBe(0);
| ^
324 | });
325 |
326 | await test.step('Validate Buy now CTA', async () => {
at /home/runner/work/milo/milo/nala/features/commerce/commerce.test.js:323:45
at /home/runner/work/milo/milo/nala/features/commerce/commerce.test.js:317:5
|
[milo-live-firefox] › features/commerce/commerce.test.js:305:7 › Commerce feature test suite › @Commerce-DE:
nala/features/commerce/commerce.test.js#L323
2) [milo-live-firefox] › features/commerce/commerce.test.js:305:7 › Commerce feature test suite › @Commerce-DE, @Commerce @smoke @regression › Validate wcs placeholders
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 5
321 | ),
322 | );
> 323 | expect(unresolvedPlaceholders.length).toBe(0);
| ^
324 | });
325 |
326 | await test.step('Validate Buy now CTA', async () => {
at /home/runner/work/milo/milo/nala/features/commerce/commerce.test.js:323:45
at /home/runner/work/milo/milo/nala/features/commerce/commerce.test.js:317:5
|
[milo-live-firefox] › features/commerce/commerce.test.js:305:7 › Commerce feature test suite › @Commerce-DE:
nala/features/commerce/commerce.test.js#L323
2) [milo-live-firefox] › features/commerce/commerce.test.js:305:7 › Commerce feature test suite › @Commerce-DE, @Commerce @smoke @regression › Validate wcs placeholders
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 5
321 | ),
322 | );
> 323 | expect(unresolvedPlaceholders.length).toBe(0);
| ^
324 | });
325 |
326 | await test.step('Validate Buy now CTA', async () => {
at /home/runner/work/milo/milo/nala/features/commerce/commerce.test.js:323:45
at /home/runner/work/milo/milo/nala/features/commerce/commerce.test.js:317:5
|
[milo-live-firefox] › features/commerce/commerce.test.js:399:7 › Commerce feature test suite › @Commerce-GB:
nala/features/commerce/commerce.test.js#L417
3) [milo-live-firefox] › features/commerce/commerce.test.js:399:7 › Commerce feature test suite › @Commerce-GB, @Commerce @smoke @regression › Validate wcs placeholders
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 2
415 | ),
416 | );
> 417 | expect(unresolvedPlaceholders.length).toBe(0);
| ^
418 | });
419 |
420 | await test.step('Validate Buy now CTA', async () => {
at /home/runner/work/milo/milo/nala/features/commerce/commerce.test.js:417:45
at /home/runner/work/milo/milo/nala/features/commerce/commerce.test.js:411:5
|
[milo-live-firefox] › features/commerce/commerce.test.js:399:7 › Commerce feature test suite › @Commerce-GB:
nala/features/commerce/commerce.test.js#L417
3) [milo-live-firefox] › features/commerce/commerce.test.js:399:7 › Commerce feature test suite › @Commerce-GB, @Commerce @smoke @regression › Validate wcs placeholders
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 2
415 | ),
416 | );
> 417 | expect(unresolvedPlaceholders.length).toBe(0);
| ^
418 | });
419 |
420 | await test.step('Validate Buy now CTA', async () => {
at /home/runner/work/milo/milo/nala/features/commerce/commerce.test.js:417:45
at /home/runner/work/milo/milo/nala/features/commerce/commerce.test.js:411:5
|
Running Nala E2E UI Tests (20.x)
Process completed with exit code 1.
|
🎭 Playwright Run Summary
3 failed
[milo-live-chromium] › features/commerce/commerce.test.js:305:7 › Commerce feature test suite › @Commerce-DE, @Commerce @smoke @regression
[milo-live-firefox] › features/commerce/commerce.test.js:305:7 › Commerce feature test suite › @Commerce-DE, @Commerce @smoke @regression
[milo-live-firefox] › features/commerce/commerce.test.js:399:7 › Commerce feature test suite › @Commerce-GB, @Commerce @smoke @regression
13 skipped
328 passed (3.1m)
|