Adding tests for dynamic nav #2010
Triggered via pull request
September 19, 2024 22:34
Status
Failure
Total duration
3m 54s
Artifacts
–
Annotations
3 errors, 2 warnings, and 1 notice
[milo-live-firefox] › promotions.feature.test.js:233:7 › Promotions feature test suite › @Promo-with-personalization-and-target:
tests/milo/promotions.feature.test.js#L248
1) [milo-live-firefox] › promotions.feature.test.js:233:7 › Promotions feature test suite › @Promo-with-personalization-and-target,@Promo @Commerce @smoke @regression › Verify only default test page marquee is visible
Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible()
Locator: locator('.text #default-text')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 5000ms
- waiting for locator('.text #default-text')
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
246 | await expect(await PROMO.marqueeDefault).toBeVisible();
247 | await expect(await PROMO.marqueeDefault).toContainText(data.textMarquee);
> 248 | await expect(await PROMO.textDefault).not.toBeVisible();
| ^
249 | });
250 |
251 | await test.step('Validate content insert after marquee', async () => {
at /home/runner/work/nala/nala/tests/milo/promotions.feature.test.js:248:49
at /home/runner/work/nala/nala/tests/milo/promotions.feature.test.js:245:5
|
[milo-live-firefox] › promotions.feature.test.js:233:7 › Promotions feature test suite › @Promo-with-personalization-and-target:
tests/milo/promotions.feature.test.js#L248
1) [milo-live-firefox] › promotions.feature.test.js:233:7 › Promotions feature test suite › @Promo-with-personalization-and-target,@Promo @Commerce @smoke @regression › Verify only default test page marquee is visible
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible()
Locator: locator('.text #default-text')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 5000ms
- waiting for locator('.text #default-text')
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
- locator resolved to <h3 id="default-text" class="heading-l">Default text</h3>
- unexpected value "visible"
246 | await expect(await PROMO.marqueeDefault).toBeVisible();
247 | await expect(await PROMO.marqueeDefault).toContainText(data.textMarquee);
> 248 | await expect(await PROMO.textDefault).not.toBeVisible();
| ^
249 | });
250 |
251 | await test.step('Validate content insert after marquee', async () => {
at /home/runner/work/nala/nala/tests/milo/promotions.feature.test.js:248:49
at /home/runner/work/nala/nala/tests/milo/promotions.feature.test.js:245:5
|
Running tests
Process completed with exit code 1.
|
Running tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Running tests
No files were found with the provided path: nala-results.json. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
1 failed
[milo-live-firefox] › promotions.feature.test.js:233:7 › Promotions feature test suite › @Promo-with-personalization-and-target,@Promo @Commerce @smoke @regression
25 skipped
344 passed (2.9m)
|