Skip to content

Conversation

@ScrewTSW
Copy link
Member

What does this PR do?

Screenshot / video of UI

What issues does this PR fix or reference?

#3642

How to test this PR?

@ScrewTSW ScrewTSW requested review from a team, benoitf and jeffmaury as code owners November 10, 2025 10:39
@ScrewTSW ScrewTSW requested review from deboer-tim and feloy November 10, 2025 10:39
@ScrewTSW ScrewTSW marked this pull request as draft November 10, 2025 10:39
Copy link
Contributor

@danivilla9 danivilla9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes so far make sense to me.

One tiny nitpick is that I think that you have an extra 'l' in 'guilderails'

@ScrewTSW ScrewTSW force-pushed the 3642-integrate-all-possible-tests-into-ai.json-execution-format branch 3 times, most recently from 317f4c7 to 563dff7 Compare November 10, 2025 13:29
@ScrewTSW ScrewTSW requested a review from danivilla9 November 10, 2025 14:32
@ScrewTSW ScrewTSW force-pushed the 3642-integrate-all-possible-tests-into-ai.json-execution-format branch from 563dff7 to a04c903 Compare November 10, 2025 23:35
Signed-off-by: Tibor Dancs (tdancs old laptop podman-desktop windows testing) <[email protected]>
await aiLabPage.navigationBar.waitForLoad();
},
);
test.skip(true, `Skipping test due to https://github.com/containers/podman-desktop-extension-ai-lab/issues/3406`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not skip whole suite, you still can run 2/5? test cases and check the api endpoints for ai lab.

* Model Download
*/
test.describe.serial(`Download model ${appModel} via AI Lab Catalog`, () => {
test(`Open AI Lab Catalog`, async ({ runner, page, navigationBar }) => {
Copy link
Contributor

@odockal odockal Nov 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why to you change the hook into test case? Still can be a hook for all tests in this sub-suite.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since downloading of a model is a prerequisite to all subsequent tests, it might be converted into fixture.

},
);
test.skip(true, `Skipping test due to https://github.com/containers/podman-desktop-extension-ai-lab/issues/3406`);
test('Get AI Lab extension version and open AI Lab navigation bar', async ({ page, runner, navigationBar }) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you change the before hook into test case?


AI_APP_MODEL_AND_NAMES.forEach((appNames, appModel) => {
/* eslint-disable sonarjs/no-nested-functions */
test.describe.serial(`AI Recipe installations for ${appModel}`, { tag: '@smoke' }, () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The suite name should be more general, we test a lot of stuff here.

Signed-off-by: Tibor Dancs (tdancs old laptop podman-desktop windows testing) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants