Skip to content

Debugging Desktop E2E Tests with Podman #268

Debugging Desktop E2E Tests with Podman

Debugging Desktop E2E Tests with Podman #268

GitHub Actions / JUnit Test Report failed Oct 28, 2024 in 0s

119 tests run, 97 passed, 19 skipped, 3 failed.

Annotations

Check failure on line 43 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Kubernetes resources End-to-End test › Kubernetes Nodes test

kubernetes.spec.ts:60:3 Kubernetes Nodes test
Raw output
[chromium] › tests\playwright\src\specs\kubernetes.spec.ts:60:3 › Kubernetes resources End-to-End test › Kubernetes Nodes test 

    Error: Timed out 200000ms waiting for expect(locator).toBeVisible()

    Locator: getByRole('button', { name: 'Go back to resources' })
    Expected: visible
    Received: <element(s) not found>
    Call log:
      - expect.toBeVisible with timeout 200000ms
      - waiting for getByRole('button', { name: 'Go back to resources' })


       at tests\playwright\src\model\pages\create-kind-cluster-page.ts:116

      114 |     await this.logsButton.scrollIntoViewIfNeeded();
      115 |     await this.logsButton.click();
    > 116 |     await playExpect(this.goBackButton).toBeVisible({ timeout: timeout });
          |                                         ^
      117 |     await this.goBackButton.click();
      118 |   }
      119 |

        at CreateKindClusterPage.createCluster (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\create-kind-cluster-page.ts:116:41)
        at CreateKindClusterPage.createClusterDefault (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\create-kind-cluster-page.ts:68:5)
        at createKindCluster (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\utility\operations.ts:308:5)
        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\kubernetes.spec.ts:43:3

Check failure on line 117 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Verification of pod creation workflow @smoke › Pulling images

pod-smoke.spec.ts:105:3 Pulling images
Raw output
[chromium] › tests\playwright\src\specs\pod-smoke.spec.ts:105:3 › Verification of pod creation workflow @smoke › Pulling images 

    Error: Timeout (5000 ms) was reach while waiting for condition () to become 'true'

       at tests\playwright\src\utility\wait.ts:48

      46 |       : errorMessage;
      47 |   if (sendError) {
    > 48 |     throw Error(message);
         |           ^
      49 |   }
      50 | }
      51 |

        at wait (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\utility\wait.ts:48:11)
        at waitUntil (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\utility\wait.ts:70:3)
        at ImagesPage.waitForImageExists (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\images-page.ts:114:5)
        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\pod-smoke.spec.ts:117:28

Check failure on line 271 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Verification of pod creation workflow @smoke › Restarting pod

pod-smoke.spec.ts:268:5 Restarting pod
Raw output
[chromium] › tests\playwright\src\specs\pod-smoke.spec.ts:268:5 › Verification of pod creation workflow @smoke › Restarting pod 

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: expect(received).toBeTruthy()

    Received: false

    Call Log:
    - Timeout 15000ms exceeded while waiting on the predicate

      269 |       const pods = await navigationBar.openPods();
      270 |       await playExpect(pods.heading).toBeVisible({ timeout: 15_000 });
    > 271 |       await playExpect.poll(async () => await pods.podExists(podToRun), { timeout: 15_000 }).toBeTruthy();
          |       ^
      272 |
      273 |       const podDetails = await pods.openPodDetails(podToRun);
      274 |       await playExpect(podDetails.heading).toBeVisible();

        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\pod-smoke.spec.ts:271:7