-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Cypress - added @tag.excludeForAirgap, @tag.Templates tags #29790
Conversation
WalkthroughWalkthroughThe recent changes primarily involve the refactoring of Cypress end-to-end test suites across various functionalities of a client application. The modifications include the removal of the "excludeForAirgap" tag from test descriptions, the addition of new tags for better categorization, and the restructuring of test suites for improved clarity and flow. Additionally, new functionality has been introduced to handle tagging in test files, and new tags have been added to the tags array. Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChat with CodeRabbit Bot (
|
/ok-to-test tags="@tag.excludeForAirgap" |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/7287510027. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/7287510027.
|
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/7287510027.
|
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/7287510027.
|
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/7287510027. |
app/client/cypress/e2e/Regression/ClientSide/BugTests/DS_Bug28750_Spec.ts
Show resolved
Hide resolved
...lient/cypress/e2e/Regression/ClientSide/Templates/Filtering/TemplatesModal_filtering_spec.ts
Outdated
Show resolved
Hide resolved
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/7287510027. |
/ok-to-test tags="@tag.excludeForAirgap, @tag.Templates" |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/7298006302. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/7298006302.
|
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/7298006302.
|
/ok-to-test |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/7298864969. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/7298864969. |
app/client/cypress/e2e/Regression/ClientSide/IDE/Canvas_Context_Property_Pane_1_spec.js
Outdated
Show resolved
Hide resolved
app/client/cypress/manual_TestSuite/CommentedScriptFiles/Map_spec.js
Outdated
Show resolved
Hide resolved
/ok-to-test tags="@tag.All" |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/7329078838. |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/7329078838.
To know the list of identified flaky tests - Refer here |
TBP run with new script change, tags is been added as a step: https://github.com/appsmithorg/appsmith/actions/runs/7329248481 |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/7329078838. |
@@ -307,7 +318,7 @@ jobs: | |||
CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_JWKS_URL }} | |||
CYPRESS_APPSMITH_OAUTH2_OIDC_OKTA_PASSWORD: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_OKTA_PASSWORD }} | |||
CYPRESS_APPSMITH_OAUTH2_OIDC_DIRECT_URL: ${{ secrets.CYPRESS_APPSMITH_OAUTH2_OIDC_DIRECT_URL }} | |||
CYPRESS_EXCLUDE_TAGS: "airgap" | |||
CYPRESS_EXCLUDE_TAGS: ${{ env.tags_to_exclude }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sharanya-appsmith Now that we are moving to cypress-grep
library, is this environment variable effective and/or required? To the best of my understanding, if we wish to exclude any tags, we need to add it to the grepTags
list with the -
prefix. Is my understanding incorrect?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly it blocks has been tagged with airgap and we have not modified airgap using cypress-grep because currently our cypress parallelization plugin is not able to handle if individual it blocks are tagged. Hence leaving it with env variables.
Description
Type of change
Testing
How Has This Been Tested?
Checklist:
Dev activity
QA activity:
Test Plan Approved
label after Cypress tests were reviewedTest Plan Approved
label after JUnit tests were reviewedSummary by CodeRabbit
Test Enhancements
Bug Fixes
Refactor
Chores