Skip to content

Add conditional app variant check - #814

Merged
aakrem merged 8 commits into
Agenta-AI:mainfrom
bekossy:feat/add-conditional-app-variant-check
Oct 29, 2023
Merged

aakrem merged 8 commits into
Agenta-AI:mainfrom
bekossy:feat/add-conditional-app-variant-check

Conversation

@bekossy

@bekossy bekossy commented Oct 27, 2023

Copy link
Copy Markdown
Contributor

Description

This pull request adds a simple enhancement to the createVariantsAndTestsets Cypress command. It includes conditional logic to check for app variants. If they are present, the test clicks the create-new-app-button. If not, the test is skipped. This change enhances the test script's adaptability in various scenarios.

@bekossy bekossy self-assigned this Oct 27, 2023
@bekossy
bekossy requested a review from MohammedMaaz October 27, 2023 09:19

@aakrem aakrem left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this is again not what we want to test.
A user won't do any request. Let's only test the workflow a user will do.
Or what do you need this for ?

@bekossy

bekossy commented Oct 29, 2023

Copy link
Copy Markdown
Contributor Author

When the app card is present, follow these steps:
click on CREATE-NEW-APP button > click on CREATE-FROM-TEMPLATE option > Choose Template and so on...

When the app card is absent, follow these steps:
click on CREATE-FROM-TEMPLATE option > Choose Template and so on...

Comment thread agenta-web/cypress/support/commands/evaluations.ts Outdated
@aakrem

aakrem commented Oct 29, 2023

Copy link
Copy Markdown
Contributor

I see @bekossy thanks for the explanation

@aakrem
aakrem merged commit 5e38b54 into Agenta-AI:main Oct 29, 2023
@bekossy
bekossy deleted the feat/add-conditional-app-variant-check branch October 30, 2023 07:54
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.

2 participants