Merge branch 'litetests' into e2e-pw #86
Annotations
6 errors, 5 warnings, and 2 notices
[e2e_tests] › admin.spec.ts:28:9 › Admin functionality test › admin can logout @lite @a:
tests/pw/pages/basePage.ts#L240
1) [e2e_tests] › admin.spec.ts:28:9 › Admin functionality test › admin can logout @lite @A ───────
TimeoutError: page.waitForResponse: Timeout 30000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:240
238 | // click & wait for response
239 | async clickAndWaitForResponseAndLoadState(subUrl: string, selector: string, code = 200): Promise<Response> {
> 240 | 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()]);
| ^
241 | expect(response.status()).toBe(code);
242 | return response;
243 | }
at LoginPage.clickAndWaitForResponseAndLoadState (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:240:102)
at LoginPage.logoutBackend (/home/runner/work/dokan/dokan/tests/pw/pages/loginPage.ts:82:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/admin.spec.ts:31:9
|
[e2e_tests] › admin.spec.ts:28:9 › Admin functionality test › admin can logout @lite @a:
tests/pw/pages/basePage.ts#L240
1) [e2e_tests] › admin.spec.ts:28:9 › Admin functionality test › admin can logout @lite @A ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForResponse: Timeout 30000ms exceeded while waiting for event "response"
at ../../pages/basePage.ts:240
238 | // click & wait for response
239 | async clickAndWaitForResponseAndLoadState(subUrl: string, selector: string, code = 200): Promise<Response> {
> 240 | 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()]);
| ^
241 | expect(response.status()).toBe(code);
242 | return response;
243 | }
at LoginPage.clickAndWaitForResponseAndLoadState (/home/runner/work/dokan/dokan/tests/pw/pages/basePage.ts:240:102)
at LoginPage.logoutBackend (/home/runner/work/dokan/dokan/tests/pw/pages/loginPage.ts:82:20)
at /home/runner/work/dokan/dokan/tests/pw/tests/e2e/admin.spec.ts:31:9
|
[e2e_tests] › sellerBadges.spec.ts:70:9 › Seller badge test › admin can update seller badge status @pro @a:
tests/pw/pages/basePage.ts#L892
2) [e2e_tests] › sellerBadges.spec.ts:70:9 › Seller badge test › admin can update seller badge status @Pro @A
TimeoutError: locator.click: Timeout 30000ms exceeded.
Call log:
- waiting for locator('//a[contains(text(),\'Exclusive to Platform\')]/../..//div[@Class="row-actions"]//span[@Class="draft"]//a')
- locator resolved to <a href="#" data-v-27e863e7="">Set Badge As Draft</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
- <div class="table-loader-wrap">…</div> intercepts pointer events
- 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
|
[e2e_tests] › storeCategories.spec.ts:51:9 › Store categories test › admin can set default store category @pro @a:
tests/pw/pages/basePage.ts#L234
3) [e2e_tests] › storeCategories.spec.ts:51:9 › Store categories test › admin can set default store category @Pro @A
TimeoutError: locator.click: Timeout 30000ms exceeded.
Call log:
- waiting for locator('//td//a[contains(text(), \'Test_Store_CategoryvDLZ_XRUIN\')]/../..//span[@Class=\'set_as_default\']//a')
- locator resolved to <a href="#make-default">Set as default</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 view
|
[e2e_tests] › vendorVerifications.spec.ts:31:9 › Verifications test › vendor can send id verification request @pro @v:
tests/pw/pages/basePage.ts#L892
4) [e2e_tests] › vendorVerifications.spec.ts:31:9 › Verifications test › vendor can send id verification request @Pro @v
TimeoutError: locator.click: Timeout 30000ms 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
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #21
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #22
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action,
|
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. 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 10.4s
|
Slow Test:
tests/pw/[api_setup] › _env.setup.ts#L1
tests/pw/[api_setup] › _env.setup.ts took 6.9s
|
Slow Test:
tests/pw/[e2e_tests] › products.spec.ts#L1
tests/pw/[e2e_tests] › products.spec.ts took 2.8m
|
Slow Test:
tests/pw/[e2e_tests] › admin.spec.ts#L1
tests/pw/[e2e_tests] › admin.spec.ts took 1.6m
|
🎭 Playwright Run Summary
28 skipped
290 passed (53.0s)
|
🎭 Playwright Run Summary
1 failed
[e2e_tests] › admin.spec.ts:28:9 › Admin functionality test › admin can logout @lite @A ────────
3 flaky
[e2e_tests] › sellerBadges.spec.ts:70:9 › Seller badge test › admin can update seller badge status @Pro @A
[e2e_tests] › storeCategories.spec.ts:51:9 › Store categories test › admin can set default store category @Pro @A
[e2e_tests] › vendorVerifications.spec.ts:31:9 › Verifications test › vendor can send id verification request @Pro @v
135 skipped
502 passed (8.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-artifact
Expired
|
25.4 MB |
|