Skip to content

chore: rename recipes catalog to recipe catalog (#2087) #620

chore: rename recipes catalog to recipe catalog (#2087)

chore: rename recipes catalog to recipe catalog (#2087) #620

GitHub Actions / JUnit Test Report failed Nov 17, 2024 in 0s

9 tests run, 5 passed, 3 skipped, 1 failed.

Annotations

Check failure on line 142 in ts

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ts.AI Lab extension installation and verification › AI Recipe installation › Install Audio to Text example app

ai-lab-extension.spec.ts:133:7 Install Audio to Text example app
Raw output
[chromium] › src\ai-lab-extension.spec.ts:133:7 › AI Lab extension installation and verification › AI Recipe installation › Install Audio to Text example app 

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

    Locator: getByRole('navigation', { name: 'PreferencesNavigation' }).getByRole('link', { name: 'Recipes Catalog', exact: true })
    Expected: enabled
    Received: <element(s) not found>
    Call log:
      - expect.toBeEnabled with timeout 5000ms
      - waiting for getByRole('navigation', { name: 'PreferencesNavigation' }).getByRole('link', { name: 'Recipes Catalog', exact: true })


       at src\model\ai-lab-navigation-bar.ts:51

      49 |
      50 |   async openRecipesCatalog(): Promise<AILabRecipesCatalogPage> {
    > 51 |     await playExpect(this.recipesCatalogButton).toBeEnabled();
         |                                                 ^
      52 |     await this.recipesCatalogButton.click();
      53 |     return new AILabRecipesCatalogPage(this.page, this.webview);
      54 |   }

        at AILabNavigationBar.openRecipesCatalog (C:\Users\rhqp\pd-e2e\podman-desktop-extension-ai-lab\tests\playwright\src\model\ai-lab-navigation-bar.ts:51:49)
        at C:\Users\rhqp\pd-e2e\podman-desktop-extension-ai-lab\tests\playwright\src\ai-lab-extension.spec.ts:129:60

    Error: expect(received).toBeTruthy()

    Received: false

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

      162 |   const aiRunningAppsPage = await aiLabPage.navigationBar.openRunningApps();
      163 |   await aiRunningAppsPage.waitForLoad();
    > 164 |   await playExpect.poll(async () => await aiRunningAppsPage.appExists(appName), { timeout: 10_000 }).toBeTruthy();
          |   ^
      165 |   await playExpect
      166 |     .poll(async () => await aiRunningAppsPage.getCurrentStatusForApp(appName), { timeout: 60_000 })
      167 |     .toBe('RUNNING');

        at stopAndDeleteApp (C:\Users\rhqp\pd-e2e\podman-desktop-extension-ai-lab\tests\playwright\src\ai-lab-extension.spec.ts:164:3)
        at C:\Users\rhqp\pd-e2e\podman-desktop-extension-ai-lab\tests\playwright\src\ai-lab-extension.spec.ts:142:9