warriors: update and activate commerce tests #1934
Annotations
10 errors, 2 warnings, and 1 notice
tests/milo/commerce.feature.test.js#L25
1) [milo-live-chromium] › commerce.feature.test.js:15:7 › Commerce feature test suite › @Commerce-Price-Term,@Commerce @smoke @regression › Validate regular price display
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for locator('//span[@Data-Template="price"]') to be visible
23 |
24 | await test.step('Validate regular price display', async () => {
> 25 | await COMM.price.waitFor({ state: 'visible', timeout: 10000 });
| ^
26 | expect(await COMM.price.innerText()).toContain('US$263.88/yr');
27 | expect(await COMM.price.locator('.price-recurrence').innerText()).not.toBe('');
28 | expect(await COMM.price.locator('.price-unit-type').innerText()).toBe('');
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:25:24
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:24:16
|
tests/milo/commerce.feature.test.js#L25
1) [milo-live-chromium] › commerce.feature.test.js:15:7 › Commerce feature test suite › @Commerce-Price-Term,@Commerce @smoke @regression › Validate regular price display
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for locator('//span[@Data-Template="price"]') to be visible
23 |
24 | await test.step('Validate regular price display', async () => {
> 25 | await COMM.price.waitFor({ state: 'visible', timeout: 10000 });
| ^
26 | expect(await COMM.price.innerText()).toContain('US$263.88/yr');
27 | expect(await COMM.price.locator('.price-recurrence').innerText()).not.toBe('');
28 | expect(await COMM.price.locator('.price-unit-type').innerText()).toBe('');
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:25:24
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:24:16
|
tests/milo/commerce.feature.test.js#L64
2) [milo-live-chromium] › commerce.feature.test.js:54:7 › Commerce feature test suite › @Commerce-Price-Unit-Term,@Commerce @smoke @regression › Validate regular price display
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for locator('//span[@Data-Template="price"]') to be visible
62 |
63 | await test.step('Validate regular price display', async () => {
> 64 | await COMM.price.waitFor({ state: 'visible', timeout: 10000 });
| ^
65 | expect(await COMM.price.innerText()).toContain('US$');
66 | expect(await COMM.price.locator('.price-recurrence').innerText()).not.toBe('');
67 | expect(await COMM.price.locator('.price-unit-type').innerText()).not.toBe('');
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:64:24
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:63:16
|
tests/milo/commerce.feature.test.js#L64
2) [milo-live-chromium] › commerce.feature.test.js:54:7 › Commerce feature test suite › @Commerce-Price-Unit-Term,@Commerce @smoke @regression › Validate regular price display
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for locator('//span[@Data-Template="price"]') to be visible
62 |
63 | await test.step('Validate regular price display', async () => {
> 64 | await COMM.price.waitFor({ state: 'visible', timeout: 10000 });
| ^
65 | expect(await COMM.price.innerText()).toContain('US$');
66 | expect(await COMM.price.locator('.price-recurrence').innerText()).not.toBe('');
67 | expect(await COMM.price.locator('.price-unit-type').innerText()).not.toBe('');
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:64:24
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:63:16
|
tests/milo/commerce.feature.test.js#L103
3) [milo-live-chromium] › commerce.feature.test.js:93:7 › Commerce feature test suite › @Commerce-Price-Taxlabel-Unit-Term,@Commerce @smoke @regression › Validate regular price display
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for locator('//span[@Data-Template="price"]') to be visible
101 |
102 | await test.step('Validate regular price display', async () => {
> 103 | await COMM.price.waitFor({ state: 'visible', timeout: 10000 });
| ^
104 | expect(await COMM.price.innerText()).toContain('US$');
105 | expect(await COMM.price.locator('.price-recurrence').innerText()).not.toBe('');
106 | expect(await COMM.price.locator('.price-unit-type').innerText()).not.toBe('');
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:103:24
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:102:16
|
tests/milo/commerce.feature.test.js#L103
3) [milo-live-chromium] › commerce.feature.test.js:93:7 › Commerce feature test suite › @Commerce-Price-Taxlabel-Unit-Term,@Commerce @smoke @regression › Validate regular price display
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for locator('//span[@Data-Template="price"]') to be visible
101 |
102 | await test.step('Validate regular price display', async () => {
> 103 | await COMM.price.waitFor({ state: 'visible', timeout: 10000 });
| ^
104 | expect(await COMM.price.innerText()).toContain('US$');
105 | expect(await COMM.price.locator('.price-recurrence').innerText()).not.toBe('');
106 | expect(await COMM.price.locator('.price-unit-type').innerText()).not.toBe('');
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:103:24
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:102:16
|
tests/milo/commerce.feature.test.js#L144
4) [milo-live-chromium] › commerce.feature.test.js:132:7 › Commerce feature test suite › @Commerce-Promo,@Commerce @smoke @regression › Validate regular price has promo
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for locator('//span[@Data-Template="price"]') to be visible
142 |
143 | await test.step('Validate regular price has promo', async () => {
> 144 | await COMM.price.waitFor({ state: 'visible', timeout: 10000 });
| ^
145 | await expect(COMM.price).toHaveAttribute('data-promotion-code', data.promo);
146 | await expect(COMM.price).toHaveAttribute('data-display-old-price', 'true');
147 | await COMM.price.locator('.price').first().waitFor({ state: 'visible', timeout: 10000 });
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:144:24
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:143:16
|
tests/milo/commerce.feature.test.js#L144
4) [milo-live-chromium] › commerce.feature.test.js:132:7 › Commerce feature test suite › @Commerce-Promo,@Commerce @smoke @regression › Validate regular price has promo
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for locator('//span[@Data-Template="price"]') to be visible
142 |
143 | await test.step('Validate regular price has promo', async () => {
> 144 | await COMM.price.waitFor({ state: 'visible', timeout: 10000 });
| ^
145 | await expect(COMM.price).toHaveAttribute('data-promotion-code', data.promo);
146 | await expect(COMM.price).toHaveAttribute('data-display-old-price', 'true');
147 | await COMM.price.locator('.price').first().waitFor({ state: 'visible', timeout: 10000 });
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:144:24
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:143:16
|
tests/milo/commerce.feature.test.js#L1
5) [milo-live-chromium] › commerce.feature.test.js:257:7 › Commerce feature test suite › @Commerce-KitchenSink-Smoke, @Commerce @kitchensink @smoke @regression › Validate wcs placeholders
Test timeout of 30000ms exceeded.
|
tests/milo/commerce.feature.test.js#L271
5) [milo-live-chromium] › commerce.feature.test.js:257:7 › Commerce feature test suite › @Commerce-KitchenSink-Smoke, @Commerce @kitchensink @smoke @regression › Validate wcs placeholders
Error: locator.waitFor: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('merch-card').first() to be visible
269 | // Validate there are no unresolved commerce placeholders
270 | await test.step('Validate wcs placeholders', async () => {
> 271 | await COMM.merchCard.first().waitFor({ state: 'visible', timeout: 45000 });
| ^
272 | await webUtil.scrollPage('down', 'slow');
273 | const unresolvedPlaceholders = await page.evaluate(
274 | () => [...document.querySelectorAll('[data-wcs-osi]')].filter(
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:271:36
at /home/runner/work/nala/nala/tests/milo/commerce.feature.test.js:270:16
|
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/
|
|
7 failed
[milo-live-chromium] › commerce.feature.test.js:15:7 › Commerce feature test suite › @Commerce-Price-Term,@Commerce @smoke @regression
[milo-live-chromium] › commerce.feature.test.js:54:7 › Commerce feature test suite › @Commerce-Price-Unit-Term,@Commerce @smoke @regression
[milo-live-chromium] › commerce.feature.test.js:93:7 › Commerce feature test suite › @Commerce-Price-Taxlabel-Unit-Term,@Commerce @smoke @regression
[milo-live-chromium] › commerce.feature.test.js:132:7 › Commerce feature test suite › @Commerce-Promo,@Commerce @smoke @regression
[milo-live-chromium] › commerce.feature.test.js:257:7 › Commerce feature test suite › @Commerce-KitchenSink-Smoke, @Commerce @kitchensink @smoke @regression
[milo-live-chromium] › commerce.feature.test.js:293:7 › Commerce feature test suite › @Commerce-Localized, @Commerce @smoke @regression
[milo-live-chromium] › commerce.feature.test.js:353:7 › Commerce feature test suite › @Commerce-Old-Promo,@Commerce @smoke @regression
30 skipped
319 passed (3.2m)
|
This job failed
Loading