GitHub Actions / JUnit Test Report
failed
Dec 16, 2024 in 0s
17 tests run, 14 passed, 2 skipped, 1 failed.
Annotations
Check failure on line 59 in ts
github-actions / JUnit Test Report
ts.AI Lab extension installation and verification › AI Recipe installation › Install Code Generation example app
ai-lab-extension.spec.ts:221:7 Install Code Generation example app
Raw output
[chromium] › src\ai-lab-extension.spec.ts:221:7 › AI Lab extension installation and verification › AI Recipe installation › Install Code Generation example app @smoke
Error: Timed out 60000ms waiting for expect(locator).toContainText(expected)
Locator: getByRole('status')
Expected string: "AI App is running"
Received string: " Pulling Code Generation recipe Checking out repository Downloading model ibm-granite/granite-8b-code-instruct-GGUF (100%) Starting Inference server Loading configuration Building codegen-app "
Call log:
- expect.toContainText with timeout 60000ms
- waiting for getByRole('status')
62 × locator resolved to <div role="status" class="mx-5 mt-5">…</div>
- unexpected value " Pulling Code Generation recipe Checking out repository Downloading model ibm-granite/granite-8b-code-instruct-GGUF (100%) Starting Inference server Loading configuration Building codegen-app "
at src\model\ai-lab-start-recipe-page.ts:83
81 | await this.refreshStartRecipeUI(this.page, this.webview, appName);
82 | }
> 83 | await playExpect(this.recipeStatus).toContainText('AI App is running', { timeout: 60_000 });
| ^
84 | }
85 |
86 | async getModelDownloadProgress(): Promise<number> {
at AILabStartRecipePage.startRecipe (C:\Users\rhqp\pd-e2e\podman-desktop-extension-ai-lab\tests\playwright\src\model\ai-lab-start-recipe-page.ts:83:41)
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:225:9
Error: expect(received).toBeTruthy()
Received: false
Call Log:
- Timeout 10000ms exceeded while waiting on the predicate
250 | const aiRunningAppsPage = await aiLabPage.navigationBar.openRunningApps();
251 | await aiRunningAppsPage.waitForLoad();
> 252 | await playExpect.poll(async () => await aiRunningAppsPage.appExists(appName), { timeout: 10_000 }).toBeTruthy();
| ^
253 | await playExpect
254 | .poll(async () => await aiRunningAppsPage.getCurrentStatusForApp(appName), { timeout: 60_000 })
255 | .toBe('RUNNING');
at stopAndDeleteApp (C:\Users\rhqp\pd-e2e\podman-desktop-extension-ai-lab\tests\playwright\src\ai-lab-extension.spec.ts:252:3)
at C:\Users\rhqp\pd-e2e\podman-desktop-extension-ai-lab\tests\playwright\src\ai-lab-extension.spec.ts:230:9
"afterAll" hook timeout of 120000ms exceeded.
57 | });
58 |
> 59 | test.afterAll(async ({ runner }) => {
| ^
60 | test.setTimeout(120_000);
61 | await cleanupServiceModels();
62 | await runner.close();
at C:\Users\rhqp\pd-e2e\podman-desktop-extension-ai-lab\tests\playwright\src\ai-lab-extension.spec.ts:59:6
Loading