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

143 tests run, 127 passed, 10 skipped, 6 failed.

Annotations

Check failure on line 98 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:94:5 Deploy the container
Raw output
[chromium] › tests\playwright\src\specs\deploy-to-kubernetes.spec.ts:94: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:98:7

Check failure on line 88 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:82:3 Create a Kubernetes deployment resource
Raw output
[chromium] › tests\playwright\src\specs\kubernetes-edit-yaml.spec.ts:82:3 › Kubernetes Edit YAML Feature E2E Test › Create a Kubernetes deployment resource 

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

    Locator: getByRole('button', { name: 'Kubernetes Cluster Runtime', exact: true }).getByRole('combobox', { name: 'Kubernetes Namespace', exact: true })
    Expected: visible
    Received: <element(s) not found>
    Call log:
      - expect.toBeVisible with timeout 5000ms
      - waiting for getByRole('button', { name: 'Kubernetes Cluster Runtime', exact: true }).getByRole('combobox', { name: 'Kubernetes Namespace', exact: true })


       at tests\playwright\src\model\pages\play-kube-yaml-page.ts:75

      73 |
      74 |         if (kubernetesNamespace) {
    > 75 |           await playExpect(this.kubernetesNamespaces).toBeVisible();
         |                                                       ^
      76 |           const namespaceOptions = await this.kubernetesNamespaces.locator('option').allInnerTexts();
      77 |           if (namespaceOptions.includes(kubernetesNamespace)) {
      78 |             await this.kubernetesNamespaces.selectOption({ value: kubernetesNamespace });

        at PlayKubeYamlPage.playYaml (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\play-kube-yaml-page.ts:75:55)
        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\kubernetes-edit-yaml.spec.ts:88:5

Check failure on line 106 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Kubernetes Edit YAML Feature E2E Test › Change the Kubernetes deployment YAML file

kubernetes-edit-yaml.spec.ts:103:3 Change the Kubernetes deployment YAML file
Raw output
[chromium] › tests\playwright\src\specs\kubernetes-edit-yaml.spec.ts:103:3 › Kubernetes Edit YAML Feature E2E Test › Change the Kubernetes deployment YAML file 

    Error: expect(received).toEqual(expected) // deep equality

    Expected: 3
    Received: 0

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

      104 |     test.setTimeout(80_000);
      105 |     const podsPage = await navigationBar.openPods();
    > 106 |     await playExpect.poll(async () => await podsPage.countPodReplicas(DEPLOYMENT_NAME)).toEqual(3);
          |     ^
      107 |
      108 |     const kubernetesBar = await navigationBar.openKubernetes();
      109 |     const deploymentsPage = await kubernetesBar.openTabPage(KubernetesResources.Deployments);

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

Check failure on line 133 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Kubernetes Edit YAML Feature E2E Test › Delete the Kubernetes deployment resource

kubernetes-edit-yaml.spec.ts:131:3 Delete the Kubernetes deployment resource
Raw output
[chromium] › tests\playwright\src\specs\kubernetes-edit-yaml.spec.ts:131:3 › Kubernetes Edit YAML Feature E2E Test › Delete the Kubernetes deployment resource 

    TimeoutError: locator.click: Timeout 30000ms exceeded.
    Call log:
      - waiting for getByRole('region', { name: 'Header' }).getByRole('group', { name: 'Control Actions' }).getByRole('button', { name: 'Delete' })


      131 |   test('Delete the Kubernetes deployment resource', async ({ page, navigationBar }) => {
      132 |     const deploymentDetails = new KubernetesResourceDetailsPage(page, DEPLOYMENT_NAME);
    > 133 |     await deploymentDetails.deleteButton.click();
          |                                          ^
      134 |     await handleConfirmationDialog(page);
      135 |     const kubernetesBar = await navigationBar.openKubernetes();
      136 |     const deploymentsPage = await kubernetesBar.openTabPage(KubernetesResources.Deployments);

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

Check failure on line 109 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Kubernetes resources End-to-End test › PVC lifecycle test › Create a new PVC resource

kubernetes.spec.ts:104:7 Create a new PVC resource
Raw output
[chromium] › tests\playwright\src\specs\kubernetes.spec.ts:104:7 › Kubernetes resources End-to-End test › PVC lifecycle test › Create a new PVC resource 

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

    Locator: getByRole('button', { name: 'Kubernetes Cluster Runtime', exact: true }).getByRole('combobox', { name: 'Kubernetes Namespace', exact: true })
    Expected: visible
    Received: <element(s) not found>
    Call log:
      - expect.toBeVisible with timeout 5000ms
      - waiting for getByRole('button', { name: 'Kubernetes Cluster Runtime', exact: true }).getByRole('combobox', { name: 'Kubernetes Namespace', exact: true })


       at tests\playwright\src\model\pages\play-kube-yaml-page.ts:75

      73 |
      74 |         if (kubernetesNamespace) {
    > 75 |           await playExpect(this.kubernetesNamespaces).toBeVisible();
         |                                                       ^
      76 |           const namespaceOptions = await this.kubernetesNamespaces.locator('option').allInnerTexts();
      77 |           if (namespaceOptions.includes(kubernetesNamespace)) {
      78 |             await this.kubernetesNamespaces.selectOption({ value: kubernetesNamespace });

        at PlayKubeYamlPage.playYaml (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\play-kube-yaml-page.ts:75:55)
        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\kubernetes.spec.ts:109:9

Check failure on line 73 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Kubernetes resources End-to-End test › ConfigMaps and Secrets lifecycle test › Create ConfigMap resource

kubernetes.spec.ts:147:7 Create ConfigMap resource
Raw output
[chromium] › tests\playwright\src\specs\kubernetes.spec.ts:147:7 › Kubernetes resources End-to-End test › ConfigMaps and Secrets lifecycle test › Create ConfigMap resource 

    "beforeAll" hook timeout of 250000ms exceeded.

      59 | const skipKindInstallation = process.env.SKIP_KIND_INSTALL === 'true';
      60 |
    > 61 | test.beforeAll(async ({ runner, welcomePage, page, navigationBar }) => {
         |      ^
      62 |   test.setTimeout(250000);
      63 |   runner.setVideoAndTraceName('kubernetes-e2e');
      64 |

        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\kubernetes.spec.ts:61: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:325:7
        at createKindCluster (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\utility\operations.ts:305:3)
        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\kubernetes.spec.ts:73:3