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

139 tests run, 127 passed, 9 skipped, 3 failed.

Annotations

Check failure on line 99 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: Timed out 5000ms waiting for expect(locator).toBeVisible()

    Locator: getByRole('region', { name: 'Tab Content' }).getByRole('region', { name: 'Pod Deployment Status Info' })
    Expected: visible
    Received: <element(s) not found>
    Call log:
      - expect.toBeVisible with timeout 5000ms
      - waiting for getByRole('region', { name: 'Tab Content' }).getByRole('region', { name: 'Pod Deployment Status Info' })


       at tests\playwright\src\model\pages\deploy-to-kubernetes-page.ts:112

      110 |     await playExpect(this.deployButton).toBeEnabled();
      111 |     await this.deployButton.click();
    > 112 |     await playExpect(this.deploymentStatus).toBeVisible();
          |                                             ^
      113 |     await this.deploymentStatus.scrollIntoViewIfNeeded();
      114 |     await playExpect(this.doneButton).toBeVisible({ timeout: timeout });
      115 |   }

        at DeployToKubernetesPage.deployPod (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\deploy-to-kubernetes-page.ts:112:45)
        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\deploy-to-kubernetes.spec.ts:99:7

Check failure on line 65 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Kubernetes Edit YAML Feature E2E Test › Create a Kubernetes deployment resource

kubernetes-edit-yaml.spec.ts:84:5 Create a Kubernetes deployment resource
Raw output
[chromium] › tests\playwright\src\specs\kubernetes-edit-yaml.spec.ts:84:5 › Kubernetes Edit YAML Feature E2E Test › Create a Kubernetes deployment resource 

    "beforeAll" hook timeout of 250000ms exceeded.

      51 | const skipKindInstallation = process.env.SKIP_KIND_INSTALL === 'true';
      52 |
    > 53 | test.beforeAll(async ({ runner, welcomePage, page, navigationBar }) => {
         |      ^
      54 |   test.setTimeout(250000);
      55 |   runner.setVideoAndTraceName('kubernetes-edit-yaml');
      56 |

        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\kubernetes-edit-yaml.spec.ts:53:6

    Error: expect(locator).toBeVisible()

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


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

      120 |     await this.logsButton.scrollIntoViewIfNeeded();
      121 |     await this.logsButton.click();
    > 122 |     await playExpect(this.goBackButton).toBeVisible({ timeout: timeout });
          |                                         ^
      123 |     await this.goBackButton.click();
      124 |   }
      125 |

        at CreateKindClusterPage.createCluster (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\create-kind-cluster-page.ts:122:41)
        at CreateKindClusterPage.createClusterDefault (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\create-kind-cluster-page.ts:74:5)
        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\utility\operations.ts:345:7
        at createKindCluster (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\utility\operations.ts:325:3)
        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\kubernetes-edit-yaml.spec.ts:65:3

Check failure on line 111 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Rootless Podman machine Verification › Create a rootless machine

podman-machine-rootless.spec.ts:101:5 Create a rootless machine
Raw output
[chromium] › tests\playwright\src\specs\podman-machine-rootless.spec.ts:101:5 › Rootless Podman machine Verification › Create a rootless machine 

    TimeoutError: locator.isChecked: Timeout 30000ms exceeded.
    Call log:
      - waiting for getByRole('form', { name: 'Properties Information' }).getByRole('checkbox', { name: 'User mode networking' })


       at tests\playwright\src\model\pages\forms\machine-creation-form.ts:87

      85 |
      86 |   async ensureCheckboxState(desiredState: boolean, checkbox: Locator): Promise<void> {
    > 87 |     if (desiredState !== (await checkbox.isChecked())) {
         |                                          ^
      88 |       await checkbox.locator('..').click();
      89 |       playExpect(await checkbox.isChecked()).toBe(desiredState);
      90 |     }

        at MachineCreationForm.ensureCheckboxState (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\forms\machine-creation-form.ts:87:42)
        at MachineCreationForm.setupAndCreateMachine (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\forms\machine-creation-form.ts:78:18)
        at CreateMachinePage.createMachine (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\create-machine-page.ts:42:5)
        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\podman-machine-rootless.spec.ts:111:28