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

139 tests run, 125 passed, 12 skipped, 2 failed.

Annotations

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 › Kubernetes Nodes test

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

    "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:127

      125 |       await this.logsButton.scrollIntoViewIfNeeded();
      126 |       await this.logsButton.click();
    > 127 |       await playExpect(this.goBackButton).toBeVisible({ timeout: timeout });
          |                                           ^
      128 |       await this.goBackButton.click();
      129 |     });
      130 |   }

        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\create-kind-cluster-page.ts:127:43
        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\create-kind-cluster-page.ts:75:7
        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\utility\operations.ts:345:7
        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\kubernetes.spec.ts:73:3

Check failure on line 67 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Podman machine onboarding from Dashboard › Create Podman machine from Dashboard

podman-machine-dashboard-onboarding.spec.ts:62:5 Create Podman machine from Dashboard
Raw output
[chromium] › tests\playwright\src\specs\podman-machine-dashboard-onboarding.spec.ts:62:5 › Podman machine onboarding from Dashboard › Create Podman machine from Dashboard 

    Error: Timed out 60000ms waiting for expect(locator).toBeEnabled()

    Locator: getByRole('region', { name: 'Podman Provider' }).getByRole('button', { name: 'Initialize and start ' })
    Expected: enabled
    Received: <element(s) not found>
    Call log:
      - expect.toBeEnabled with timeout 60000ms
      - waiting for getByRole('region', { name: 'Podman Provider' }).getByRole('button', { name: 'Initialize and start ' })


      65 |       console.log('Starting PD dashboard test');
      66 |       const dashboardPage = await navigationBar.openDashboard();
    > 67 |       await playExpect(dashboardPage.podmanInitilizeAndStartButton).toBeEnabled({ timeout: 60000 });
         |                                                                     ^
      68 |       await dashboardPage.podmanInitilizeAndStartButton.click();
      69 |       await playExpect(dashboardPage.podmanStatusLabel).toHaveText('RUNNING', { timeout: 300000 });
      70 |     });

        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\podman-machine-dashboard-onboarding.spec.ts:67:69