add db backup #42
Annotations
9 errors, 5 warnings, and 2 notices
[e2e_tests] › customer.spec.ts:66:9 › Customer functionality test › customer can buy multi-vendor products @lite @c:
tests/pw/pages/basePage.ts#L1038
1) [e2e_tests] › customer.spec.ts:66:9 › Customer functionality test › customer can buy multi-vendor products @lite @c
Error: locator.isVisible: Error: strict mode violation: locator('.wc-pao-addon-select') resolved to 2 elements:
1) <select id="addon-15-0" name="addon-15-0" data-restricti…>…</select> aka getByLabel('Test Add-on Title__TaPaU6rPT')
2) <select id="addon-15-1" name="addon-15-1" data-restricti…>…</select> aka getByLabel('Add-on Title_', { exact: true })
Call log:
- checking visibility of locator('.wc-pao-addon-select')
at ../../pages/basePage.ts:1038
1036 | async isVisibleLocator(selector: string): Promise<boolean> {
1037 | const locator = this.page.locator(selector);
> 1038 | return await locator.isVisible();
| ^
1039 | }
1040 |
1041 | // get last matching locator
at CustomerPage.isVisibleLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1038:30)
at CustomerPage.isVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:387:27)
at CustomerPage.addProductToCartFromSingleProductPage (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:217:43)
at CustomerPage.addProductToCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:237:17)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:67:9
|
[e2e_tests] › customer.spec.ts:66:9 › Customer functionality test › customer can buy multi-vendor products @lite @c:
tests/pw/pages/basePage.ts#L1038
1) [e2e_tests] › customer.spec.ts:66:9 › Customer functionality test › customer can buy multi-vendor products @lite @c
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.isVisible: Error: strict mode violation: locator('.wc-pao-addon-select') resolved to 3 elements:
1) <select id="addon-15-0" name="addon-15-0" data-restricti…>…</select> aka getByLabel('Test Add-on Title__TaPaU6rPT')
2) <select id="addon-15-1" name="addon-15-1" data-restricti…>…</select> aka getByLabel('Add-on Title_', { exact: true })
3) <select id="addon-15-2" name="addon-15-2" data-restricti…>…</select> aka getByLabel('Test Add-on Title_Rfj46d_bcS')
Call log:
- checking visibility of locator('.wc-pao-addon-select')
at ../../pages/basePage.ts:1038
1036 | async isVisibleLocator(selector: string): Promise<boolean> {
1037 | const locator = this.page.locator(selector);
> 1038 | return await locator.isVisible();
| ^
1039 | }
1040 |
1041 | // get last matching locator
at CustomerPage.isVisibleLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1038:30)
at CustomerPage.isVisible (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:387:27)
at CustomerPage.addProductToCartFromSingleProductPage (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:217:43)
at CustomerPage.addProductToCart (/home/runner/work/dokan/dokan/tests/pw/pages/customerPage.ts:237:17)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/customer.spec.ts:67:9
|
[e2e_tests] › vendorVerifications.spec.ts:31:9 › Verifications test › vendor can send id verification request @pro @v:
tests/pw/pages/basePage.ts#L880
2) [e2e_tests] › vendorVerifications.spec.ts:31:9 › Verifications test › vendor can send id verification request @Pro @v
TimeoutError: locator.click: Timeout 25000ms exceeded.
Call log:
- waiting for locator('#dokan_v_id_click')
- locator resolved to <button id="dokan_v_id_click" class="dokan-btn dokan-btn…>Start Verification</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not visible - waiting...
at ../../pages/basePage.ts:880
878 | async clickLocator(selector: string): Promise<void> {
879 | const locator = this.page.locator(selector);
> 880 | await locator.click();
| ^
881 | }
882 |
883 | // get locator count
at vendorVerificationsPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:880:23)
at vendorVerificationsPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:170:20)
at vendorVerificationsPage.sendIdVerificationRequest (/home/runner/work/dokan/dokan/tests/pw/pages/vendorVerificationsPage.ts:239:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/vendorVerifications.spec.ts:32:9
|
[e2e_tests] › vendorVerifications.spec.ts:31:9 › Verifications test › vendor can send id verification request @pro @v:
tests/pw/pages/basePage.ts#L880
2) [e2e_tests] › vendorVerifications.spec.ts:31:9 › Verifications test › vendor can send id verification request @Pro @v
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 25000ms exceeded.
Call log:
- waiting for locator('//div[@Class="supports-drag-drop" and @Style="position: relative;"]//button[contains(@Class, "media-button-select")]')
- locator resolved to <button type="button" disabled="disabled" class="button …>Select</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled - waiting...
at ../../pages/basePage.ts:880
878 | async clickLocator(selector: string): Promise<void> {
879 | const locator = this.page.locator(selector);
> 880 | await locator.click();
| ^
881 | }
882 |
883 | // get locator count
at vendorVerificationsPage.clickLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:880:23)
at vendorVerificationsPage.click (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:170:20)
at vendorVerificationsPage.uploadMedia (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1519:24)
at vendorVerificationsPage.sendIdVerificationRequest (/home/runner/work/dokan/dokan/tests/pw/pages/vendorVerificationsPage.ts:254:9)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/vendorVerifications.spec.ts:32:9
|
[e2e_tests] › products.spec.ts:63:9 › Product functionality test › admin can add vendor subscription @pro @a:
tests/pw/pages/basePage.ts#L238
3) [e2e_tests] › products.spec.ts:63:9 › Product functionality test › admin can add vendor subscription @Pro @A
TimeoutError: page.waitForResponse: Timeout 25000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:238
236 | // click & wait for response
237 | async clickAndWaitForResponseAndLoadState(subUrl: string, selector: string, code = 200): Promise<Response> {
> 238 | const [, response] = await Promise.all([this.page.waitForLoadState('networkidle'), this.page.waitForResponse(resp => resp.url().includes(subUrl) && resp.status() === code), this.page.locator(selector).click()]);
| ^
239 | expect(response.status()).toBe(code);
240 | return response;
241 | }
at ProductsPage.clickAndWaitForResponseAndLoadState (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:238:102)
at ProductsPage.addDokanSubscription (/home/runner/work/dokan/dokan/tests/pw/pages/productsPage.ts:249:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/products.spec.ts:64:9
|
[e2e_tests] › reports.spec.ts:41:9 › Reports test › admin can search all logs @pro @a:
tests/pw/pages/reportsPage.ts#L68
4) [e2e_tests] › reports.spec.ts:41:9 › Reports test › admin can search all logs @Pro @A ─────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 12
at ../../pages/reportsPage.ts:68
66 | await this.toBeVisible(selector.admin.dokan.reports.allLogs.orderIdCell(orderId));
67 | const count = (await this.getElementText(selector.admin.dokan.reports.allLogs.numberOfRowsFound))?.split(' ')[0];
> 68 | expect(Number(count)).toBe(1);
| ^
69 | // await this.clickAndWaitForResponseAndLoadState(data.subUrls.api.dokan.logs, selector.admin.dokan.reports.allLogs.filters.clear);
70 | }
71 |
at ReportsPage.searchAllLogs (/home/runner/work/dokan/dokan/tests/pw/pages/reportsPage.ts:68:31)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/reports.spec.ts:42:9
|
[e2e_tests] › stores.spec.ts:41:9 › Stores test › admin can add vendor @lite @a:
tests/pw/pages/basePage.ts#L1141
5) [e2e_tests] › stores.spec.ts:41:9 › Stores test › admin can add vendor @lite @A ───────────────
TimeoutError: locator.waitFor: Timeout 25000ms exceeded.
Call log:
- waiting for locator('#street-1') to be visible
at ../../pages/basePage.ts:1141
1139 | async waitForVisibleLocator(selector: string): Promise<void> {
1140 | const locator = this.page.locator(selector);
> 1141 | await locator.waitFor({ state: 'visible' });
| ^
1142 | }
1143 |
1144 | /**
at StoresPage.waitForVisibleLocator (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:1141:23)
at StoresPage.addVendor (/home/runner/work/dokan/dokan/tests/pw/pages/storesPage.ts:106:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/stores.spec.ts:42:9
|
[e2e_tests] › stores.spec.ts:63:9 › Stores test › admin can view vendor products @lite @a:
tests/pw/pages/basePage.ts#L206
6) [e2e_tests] › stores.spec.ts:63:9 › Stores test › admin can view vendor products @lite @A ─────
TimeoutError: locator.click: Timeout 25000ms exceeded.
Call log:
- waiting for locator('//td//a[contains(text(), \'vendor1store\')]/../..//span[@Class="products"]//a')
- locator resolved to <a href="http://localhost:9999/wp-admin/edit.php?po…>Products</a>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying
|
e2e_api tests
Process completed with exit code 1.
|
e2e_api tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/github-script@v6, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Slow Test:
tests/pw/[api_tests] › products.spec.ts#L1
tests/pw/[api_tests] › products.spec.ts took 27.4s
|
Slow Test:
tests/pw/[api_tests] › stores.spec.ts#L1
tests/pw/[api_tests] › stores.spec.ts took 18.1s
|
Slow Test:
tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 6.5m
|
Slow Test:
tests/pw/[e2e_tests] › storeSupports.spec.ts#L1
tests/pw/[e2e_tests] › storeSupports.spec.ts took 3.8m
|
🎭 Playwright Run Summary
28 skipped
260 passed (1.9m)
|
🎭 Playwright Run Summary
2 failed
[e2e_tests] › customer.spec.ts:66:9 › Customer functionality test › customer can buy multi-vendor products @lite @c
[e2e_tests] › vendorVerifications.spec.ts:31:9 › Verifications test › vendor can send id verification request @Pro @v
4 flaky
[e2e_tests] › products.spec.ts:63:9 › Product functionality test › admin can add vendor subscription @Pro @A
[e2e_tests] › reports.spec.ts:41:9 › Reports test › admin can search all logs @Pro @A ──────────
[e2e_tests] › stores.spec.ts:41:9 › Stores test › admin can add vendor @lite @A ────────────────
[e2e_tests] › stores.spec.ts:63:9 › Stores test › admin can view vendor products @lite @A ──────
152 skipped
471 passed (14.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
Expired
|
57.7 MB |
|