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

136 tests run, 84 passed, 48 skipped, 4 failed.

Annotations

Check failure on line 57 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Deploy a container to the Kind cluster › Pull an image and start a container

deploy-to-kubernetes.spec.ts:78:5 Pull an image and start a container
Raw output
[chromium] › tests\playwright\src\specs\deploy-to-kubernetes.spec.ts:78:5 › Deploy a container to the Kind cluster › Pull an image and start a container 

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

    Locator: getByRole('region', { name: 'Tab Content' }).getByRole('form', { name: 'Properties Information' }).getByRole('button').and(getByRole('region', { name: 'Tab Content' }).getByRole('form', { name: 'Properties Information' }).getByLabel('Provider Type'))
    Expected string: "podman"
    Received: <element(s) not found>
    Call log:
      - expect.toHaveValue with timeout 5000ms
      - waiting for getByRole('region', { name: 'Tab Content' }).getByRole('form', { name: 'Properties Information' }).getByRole('button').and(getByRole('region', { name: 'Tab Content' }).getByRole('form', { name: 'Properties Information' }).getByLabel('Provider Type'))


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

      69 |   public async createClusterDefault(clusterName: string = 'kind-cluster', timeout?: number): Promise<void> {
      70 |     await this.fillTextbox(this.clusterNameField, clusterName);
    > 71 |     await playExpect(this.providerTypeCombobox).toHaveValue('podman');
         |                                                 ^
      72 |     await playExpect(this.httpPort).toHaveValue('9090');
      73 |     await playExpect(this.httpsPort).toHaveValue('9443');
      74 |     await playExpect(this.controllerCheckbox).toBeChecked();

        at CreateKindClusterPage.createClusterDefault (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\create-kind-cluster-page.ts:71:49)
        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\deploy-to-kubernetes.spec.ts:57:3

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).toHaveValue(expected)

    Locator: getByRole('region', { name: 'Tab Content' }).getByRole('form', { name: 'Properties Information' }).getByRole('button').and(getByRole('region', { name: 'Tab Content' }).getByRole('form', { name: 'Properties Information' }).getByLabel('Provider Type'))
    Expected string: "podman"
    Received: <element(s) not found>
    Call log:
      - expect.toHaveValue with timeout 5000ms
      - waiting for getByRole('region', { name: 'Tab Content' }).getByRole('form', { name: 'Properties Information' }).getByRole('button').and(getByRole('region', { name: 'Tab Content' }).getByRole('form', { name: 'Properties Information' }).getByLabel('Provider Type'))


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

      69 |   public async createClusterDefault(clusterName: string = 'kind-cluster', timeout?: number): Promise<void> {
      70 |     await this.fillTextbox(this.clusterNameField, clusterName);
    > 71 |     await playExpect(this.providerTypeCombobox).toHaveValue('podman');
         |                                                 ^
      72 |     await playExpect(this.httpPort).toHaveValue('9090');
      73 |     await playExpect(this.httpsPort).toHaveValue('9443');
      74 |     await playExpect(this.controllerCheckbox).toBeChecked();

        at CreateKindClusterPage.createClusterDefault (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\create-kind-cluster-page.ts:71:49)
        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\kind.spec.ts:95:9

Check failure on line 66 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.Verification of kube context management @smoke › Can load kube contexts in Kubernetes page

kubernetes-context-smoke.spec.ts:61:5 Can load kube contexts in Kubernetes page
Raw output
[chromium] › tests\playwright\src\specs\kubernetes-context-smoke.spec.ts:61:5 › Verification of kube context management @smoke › Can load kube contexts in Kubernetes page 

    Error: expect(received).toBeFalsy()

    Received: true

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

      64 |       await playExpect(kubePage.heading).toBeVisible();
      65 |
    > 66 |       await playExpect.poll(async () => await kubePage.pageIsEmpty(), { timeout: 10000 }).toBeFalsy();
         |       ^
      67 |       for (const context of testContexts) {
      68 |         const row = await kubePage.getContextRowByName(context);
      69 |         await playExpect(row).toBeVisible();

        at C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\specs\kubernetes-context-smoke.spec.ts:66:7

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:90:3 Kubernetes Nodes test
Raw output
[chromium] › tests\playwright\src\specs\kubernetes.spec.ts:90:3 › Kubernetes resources End-to-End test › Kubernetes Nodes test 

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

    Locator: getByRole('region', { name: 'Tab Content' }).getByRole('form', { name: 'Properties Information' }).getByRole('button').and(getByRole('region', { name: 'Tab Content' }).getByRole('form', { name: 'Properties Information' }).getByLabel('Provider Type'))
    Expected string: "podman"
    Received: <element(s) not found>
    Call log:
      - expect.toHaveValue with timeout 5000ms
      - waiting for getByRole('region', { name: 'Tab Content' }).getByRole('form', { name: 'Properties Information' }).getByRole('button').and(getByRole('region', { name: 'Tab Content' }).getByRole('form', { name: 'Properties Information' }).getByLabel('Provider Type'))


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

      69 |   public async createClusterDefault(clusterName: string = 'kind-cluster', timeout?: number): Promise<void> {
      70 |     await this.fillTextbox(this.clusterNameField, clusterName);
    > 71 |     await playExpect(this.providerTypeCombobox).toHaveValue('podman');
         |                                                 ^
      72 |     await playExpect(this.httpPort).toHaveValue('9090');
      73 |     await playExpect(this.httpsPort).toHaveValue('9443');
      74 |     await playExpect(this.controllerCheckbox).toBeChecked();

        at CreateKindClusterPage.createClusterDefault (C:\Users\rhqp\pd-e2e\podman-desktop\tests\playwright\src\model\pages\create-kind-cluster-page.ts:71:49)
        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