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

143 tests run, 136 passed, 5 skipped, 2 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 239 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Extension installation for Red Hat OpenShift Sandbox @smoke › Remove extension and verify UI › Remove extension and verify components

extension-installation-smoke.spec.ts:226:11 Remove extension and verify components
Raw output
[chromium] › tests\playwright\src\specs\extension-installation-smoke.spec.ts:226:11 › Extension installation for Red Hat OpenShift Sandbox @smoke › Remove extension and verify UI › Remove extension and verify components 

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

    Locator: getByRole('region', { name: 'Header' }).getByLabel('Extension Status Label')
    Expected string: "DOWNLOADABLE"
    Received string: "DISABLED"
    Call log:
      - expect.toHaveText with timeout 5000ms
      - waiting for getByRole('region', { name: 'Header' }).getByLabel('Extension Status Label')
      -   locator resolved to <span aria-label="Extension Status Label" class="my-auto ml-1 font-bold text-[9px] text-gray-900">DISABLED</span>
      -   unexpected value "DISABLED"
      -   locator resolved to <span aria-label="Extension Status Label" class="my-auto ml-1 font-bold text-[9px] text-gray-900">DISABLED</span>
      -   unexpected value "DISABLED"
      -   locator resolved to <span aria-label="Extension Status Label" class="my-auto ml-1 font-bold text-[9px] text-gray-900">DISABLED</span>
      -   unexpected value "DISABLED"
      -   locator resolved to <span aria-label="Extension Status Label" class="my-auto ml-1 font-bold text-[9px] text-gray-900">DISABLED</span>
      -   unexpected value "DISABLED"
      -   locator resolved to <span aria-label="Extension Status Label" class="my-auto ml-1 font-bold text-[9px] text-gray-900">DISABLED</span>
      -   unexpected value "DISABLED"
      -   locator resolved to <span aria-label="Extension Status Label" class="my-auto ml-1 font-bold text-[9px] text-gray-900">DISABLED</span>
      -   unexpected value "DISABLED"
      -   locator resolved to <span aria-label="Extension Status Label" class="my-auto ml-1 font-bold text-[9px] text-gray-900">DISABLED</span>
      -   unexpected value "DISABLED"
      -   locator resolved to <span aria-label="Extension Status Label" class="my-auto ml-1 font-bold text-[9px] text-gray-900">DISABLED</span>
      -   unexpected value "DISABLED"
      -   locator resolved to <span aria-label="Extension Status Label" class="my-auto ml-1 font-bold text-[9px] text-gray-900">DISABLED</span>
      -   unexpected value "DISABLED"


      237 |
      238 |             // now if deleted from extension details, the page details still there, just different
    > 239 |             await playExpect(extensionDetails.status).toHaveText(DOWNLOADABLE);
          |                                                       ^
      240 |             await playExpect(extensionDetails.page.getByRole('button', { name: installButtonLabel })).toBeVisible();
      241 |
      242 |             await goToDashboard();

        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\extension-installation-smoke.spec.ts:239:55