chore(test): fix incorrect locator for recipe catalog (#2107) #621
GitHub Actions / JUnit Test Report
failed
Nov 18, 2024 in 0s
9 tests run, 6 passed, 2 skipped, 1 failed.
Annotations
Check failure on line 142 in ts
github-actions / JUnit Test Report
ts.AI Lab extension installation and verification › AI Recipe installation › Install ChatBot example app
ai-lab-extension.spec.ts:133:7 Install ChatBot example app
Raw output
[chromium] › src\ai-lab-extension.spec.ts:133:7 › AI Lab extension installation and verification › AI Recipe installation › Install ChatBot example app
Error: expect(received).toBe(expected) // Object.is equality
Expected: 100
Received: 43
Call Log:
- Timeout 60000ms exceeded while waiting on the predicate
at src\model\ai-lab-start-recipe-page.ts:70
68 | }
69 |
> 70 | await playExpect
| ^
71 | .poll(async () => await this.getModelDownloadProgress(), { timeout: 60_000, intervals: [5_000] })
72 | .toBe(100);
73 |
at AILabStartRecipePage.startRecipe (C:\Users\rhqp\pd-e2e\podman-desktop-extension-ai-lab\tests\playwright\src\model\ai-lab-start-recipe-page.ts:70:5)
at AILabAppDetailsPage.startNewDeployment (C:\Users\rhqp\pd-e2e\podman-desktop-extension-ai-lab\tests\playwright\src\model\ai-lab-app-details-page.ts:47:5)
at C:\Users\rhqp\pd-e2e\podman-desktop-extension-ai-lab\tests\playwright\src\ai-lab-extension.spec.ts:137:9
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
Loading