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 30, 2024 in 0s

139 tests run, 127 passed, 10 skipped, 2 failed.

Annotations

Check failure on line 63 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Deploy a container to the Kind cluster › Deploy the container

deploy-to-kubernetes.spec.ts:95:5 Deploy the container
Raw output
[chromium] › tests\playwright\src\specs\deploy-to-kubernetes.spec.ts:95:5 › Deploy a container to the Kind cluster › Deploy the container  

    Error: Error waiting for container 'alpine-container' to get removed, Error: expect(received).toBeFalsy()

    Received: {"_frame": {"_guid": "frame@9e05d46ada5897a8600ee119c73695d7", "_type": "Frame"}, "_selector": "internal:role=region[name=\"containers\"i] >> internal:role=region[name=\"content\"i] >> internal:role=table >> internal:role=row >> nth=1"}

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

       at tests\playwright\src\utility\operations.ts:70

      68 |       } catch (error) {
      69 |         if (!(error as Error).message.includes('Page is empty')) {
    > 70 |           throw Error(`Error waiting for container '${name}' to get removed, ${error}`);
         |                 ^
      71 |         }
      72 |       }
      73 |     }

        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\utility\operations.ts:70:17
        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\deploy-to-kubernetes.spec.ts:63:5

Check failure on line 95 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Kind End-to-End Tests › Kind cluster operations › Create a Kind cluster

kind.spec.ts:93:7 Create a Kind cluster
Raw output
[chromium] › tests\playwright\src\specs\kind.spec.ts:93:7 › Kind End-to-End Tests › Kind cluster operations › Create a Kind cluster › Create Kind cluster 

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

    Locator: getByRole('region', { name: 'content' }).getByRole('region', { name: 'kind', exact: true }).getByRole('region', { name: 'Provider Connections', exact: true }).getByLabel('markdown-content')
    Expected: visible
    Received: <element(s) not found>
    Call log:
      - expect.toBeVisible with timeout 5000ms
      - waiting for getByRole('region', { name: 'content' }).getByRole('region', { name: 'kind', exact: true }).getByRole('region', { name: 'Provider Connections', exact: true }).getByLabel('markdown-content')


       at tests\playwright\src\utility\operations.ts:335

      333 |     await playExpect(resourcesPage.heading).toBeVisible({ timeout: 10_000 });
      334 |     await playExpect.poll(async () => resourcesPage.resourceCardIsVisible('kind')).toBeTruthy();
    > 335 |     await playExpect(kindResourceCard.markdownContent).toBeVisible();
          |                                                        ^
      336 |     await playExpect(kindResourceCard.createButton).toBeVisible();
      337 |
      338 |     if (await kindResourceCard.doesResourceElementExist()) {

        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\utility\operations.ts:335:56
        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\kind.spec.ts:95:9