Skip to content

MWPW-154151 - announcement date localization fix #114

MWPW-154151 - announcement date localization fix

MWPW-154151 - announcement date localization fix #114

Triggered via pull request September 3, 2024 15:52
Status Failure
Total duration 3m 49s
Artifacts

run-nala-on-dme.yml

on: pull_request
Running E2E & IT
3m 39s
Running E2E & IT
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 1 warning, and 1 notice
[dme-partners-live-firefox] › blocks/gnav-personalisation/gnav-personalisation.test.js:45:3 › Validate Public GNav › @desc-loggedin-gnav-loaded-for-member-user: ../../_actions/adobecom/dme-partners/stage/nala/blocks/gnav-personalisation/gnav-personalisation.test.js#L64
1) [dme-partners-live-firefox] › blocks/gnav-personalisation/gnav-personalisation.test.js:45:3 › Validate Public GNav › @desc-loggedin-gnav-loaded-for-member-user,@dme-gnav @anonymous › Verify protected GNav is loaded when member user is logged in Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('header[daa-lh="gnav|loggedin-gnav"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('header[daa-lh="gnav|loggedin-gnav"]') 62 | await test.step('Verify protected GNav is loaded when member user is logged in', async () => { 63 | const protectedGnav = await gnavPersonalisationPage.protectedGnavHeader; > 64 | await expect(protectedGnav).toBeVisible(); | ^ 65 | const joinNowButton = await gnavPersonalisationPage.joinNowButton; 66 | await expect(joinNowButton).toBeHidden(); 67 | }); at /home/runner/work/_actions/adobecom/dme-partners/stage/nala/blocks/gnav-personalisation/gnav-personalisation.test.js:64:35 at /home/runner/work/_actions/adobecom/dme-partners/stage/nala/blocks/gnav-personalisation/gnav-personalisation.test.js:62:5
[dme-partners-live-firefox] › blocks/gnav-personalisation/gnav-personalisation.test.js:45:3 › Validate Public GNav › @desc-loggedin-gnav-loaded-for-member-user: ../../_actions/adobecom/dme-partners/stage/nala/blocks/gnav-personalisation/gnav-personalisation.test.js#L64
1) [dme-partners-live-firefox] › blocks/gnav-personalisation/gnav-personalisation.test.js:45:3 › Validate Public GNav › @desc-loggedin-gnav-loaded-for-member-user,@dme-gnav @anonymous › Verify protected GNav is loaded when member user is logged in Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('header[daa-lh="gnav|loggedin-gnav"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('header[daa-lh="gnav|loggedin-gnav"]') 62 | await test.step('Verify protected GNav is loaded when member user is logged in', async () => { 63 | const protectedGnav = await gnavPersonalisationPage.protectedGnavHeader; > 64 | await expect(protectedGnav).toBeVisible(); | ^ 65 | const joinNowButton = await gnavPersonalisationPage.joinNowButton; 66 | await expect(joinNowButton).toBeHidden(); 67 | }); at /home/runner/work/_actions/adobecom/dme-partners/stage/nala/blocks/gnav-personalisation/gnav-personalisation.test.js:64:35 at /home/runner/work/_actions/adobecom/dme-partners/stage/nala/blocks/gnav-personalisation/gnav-personalisation.test.js:62:5
[dme-partners-live-firefox] › blocks/announcements/announcements.test.js:235:3 › Validate announcements block › @desc-announcements-page-edge-cases: ../../_actions/adobecom/dme-partners/stage/nala/blocks/announcements/announcements.test.js#L1
2) [dme-partners-live-firefox] › blocks/announcements/announcements.test.js:235:3 › Validate announcements block › @desc-announcements-page-edge-cases,@dme-announcements @regression @anonymous @circleci › Go to Announcements page Test timeout of 30000ms exceeded.
[dme-partners-live-firefox] › blocks/announcements/announcements.test.js:235:3 › Validate announcements block › @desc-announcements-page-edge-cases: ../../_actions/adobecom/dme-partners/stage/nala/blocks/announcements/announcements.test.js#L240
2) [dme-partners-live-firefox] › blocks/announcements/announcements.test.js:235:3 › Validate announcements block › @desc-announcements-page-edge-cases,@dme-announcements @regression @anonymous @circleci › Go to Announcements page Error: locator.textContent: Target page, context or browser has been closed 238 | await page.goto(`${baseURL}${features[5].path}`); 239 | await handleEvent(page); > 240 | const result = await announcementsPage.resultNumber.textContent(); | ^ 241 | await expect(parseInt(result.split(' ')[0], 10)).toBe(data.numberOfPublicCards); 242 | }); 243 | at /home/runner/work/_actions/adobecom/dme-partners/stage/nala/blocks/announcements/announcements.test.js:240:59 at /home/runner/work/_actions/adobecom/dme-partners/stage/nala/blocks/announcements/announcements.test.js:237:5
[dme-partners-live-firefox] › blocks/announcements/announcements.test.js:300:3 › Validate announcements block › @desc-regression-worldwide-cards-not-visible-for-logged-in-users: ../../_actions/adobecom/dme-partners/stage/nala/blocks/announcements/announcements.test.js#L1
3) [dme-partners-live-firefox] › blocks/announcements/announcements.test.js:300:3 › Validate announcements block › @desc-regression-worldwide-cards-not-visible-for-logged-in-users,@dme-announcements @regression @anonymous Test timeout of 30000ms exceeded.
[dme-partners-live-firefox] › blocks/announcements/announcements.test.js:300:3 › Validate announcements block › @desc-regression-worldwide-cards-not-visible-for-logged-in-users: ../../_actions/adobecom/dme-partners/stage/nala/blocks/announcements/announcements.test.js#L308
3) [dme-partners-live-firefox] › blocks/announcements/announcements.test.js:300:3 › Validate announcements block › @desc-regression-worldwide-cards-not-visible-for-logged-in-users,@dme-announcements @regression @anonymous Error: locator.fill: Target page, context or browser has been closed 306 | 307 | await test.step(`Verify card titled ${data.announcementCardTitle} is present on page`, async () => { > 308 | await announcementsPage.searchField.fill(`${data.announcementCardTitle}`); | ^ 309 | await announcementsPage.firstCardDate.waitFor({ state: 'visible', timeout: 15000 }); 310 | const result = await announcementsPage.resultNumber.textContent(); 311 | await expect(parseInt(result.split(' ')[0], 10)).toBe(data.numberOfMatchingTitleCardsNonLoggedIn); at /home/runner/work/_actions/adobecom/dme-partners/stage/nala/blocks/announcements/announcements.test.js:308:43 at /home/runner/work/_actions/adobecom/dme-partners/stage/nala/blocks/announcements/announcements.test.js:307:16
[dme-partners-live-webkit] › blocks/banners/banners.test.js:114:5 › Validate banners › @desc-regression-banners-logged-in-member-gold-user-anniversary-date-next-30-days: ../../_actions/adobecom/dme-partners/stage/nala/blocks/banners/banners.test.js#L1
4) [dme-partners-live-webkit] › blocks/banners/banners.test.js:114:5 › Validate banners › @desc-regression-banners-logged-in-member-gold-user-anniversary-date-next-30-days,@dme-banners @regression @anonymous › Set partner_data cookie Test timeout of 30000ms exceeded.
[dme-partners-live-webkit] › blocks/banners/banners.test.js:114:5 › Validate banners › @desc-regression-banners-logged-in-member-gold-user-anniversary-date-next-30-days: ../../_actions/adobecom/dme-partners/stage/nala/blocks/banners/banners.test.js#L130
4) [dme-partners-live-webkit] › blocks/banners/banners.test.js:114:5 › Validate banners › @desc-regression-banners-logged-in-member-gold-user-anniversary-date-next-30-days,@dme-banners @regression @anonymous › Set partner_data cookie Error: page.reload: Test timeout of 30000ms exceeded. Call log: - waiting for navigation until "load" - navigated to "https://mwpw-154151-date-localization-fix--dme-partners--adobecom.hlx.live/channelpartners/drafts/automation/regression/public-page?akamaiLocale=na" 128 | context, 129 | ); > 130 | await page.reload(); | ^ 131 | }); 132 | 133 | await test.step('Verify renew banner', async () => { at /home/runner/work/_actions/adobecom/dme-partners/stage/nala/blocks/banners/banners.test.js:130:20 at /home/runner/work/_actions/adobecom/dme-partners/stage/nala/blocks/banners/banners.test.js:119:7
Running E2E & IT
Process completed with exit code 1.
Running E2E & IT
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
🎭 Playwright Run Summary
1 failed [dme-partners-live-firefox] › blocks/gnav-personalisation/gnav-personalisation.test.js:45:3 › Validate Public GNav › @desc-loggedin-gnav-loaded-for-member-user,@dme-gnav @anonymous 3 flaky [dme-partners-live-firefox] › blocks/announcements/announcements.test.js:235:3 › Validate announcements block › @desc-announcements-page-edge-cases,@dme-announcements @regression @anonymous @circleci [dme-partners-live-firefox] › blocks/announcements/announcements.test.js:300:3 › Validate announcements block › @desc-regression-worldwide-cards-not-visible-for-logged-in-users,@dme-announcements @regression @anonymous [dme-partners-live-webkit] › blocks/banners/banners.test.js:114:5 › Validate banners › @desc-regression-banners-logged-in-member-gold-user-anniversary-date-next-30-days,@dme-banners @regression @anonymous 146 passed (2.2m)