Add E2E tests for Variables page functionality#60586
Closed
VedantMadane wants to merge 3 commits intoapache:mainfrom
Closed
Add E2E tests for Variables page functionality#60586VedantMadane wants to merge 3 commits intoapache:mainfrom
VedantMadane wants to merge 3 commits intoapache:mainfrom
Conversation
This adds comprehensive E2E tests for the Variables page (/variables): Tests added: - List Display: Verify page structure and column headers - CRUD Operations: Create, edit, and delete variables - Search: Filter variables, clear search, no results handling - Import: Import variables from JSON file - Pagination: Display pagination controls, navigate between pages - Sorting: Verify sortable column headers Implementation details: - Created VariablesPage.ts page object following POM pattern - Tests use dynamic test data with unique keys to avoid conflicts - Tests create/cleanup their own test data in beforeAll/afterAll - Tests work across Chromium, Firefox, and WebKit browsers Closes apache#60565
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds comprehensive E2E tests for the Variables page (
/variables) functionality.Closes #60565
What to test (from issue requirements)
Implementation Details
Page Object:
VariablesPage.tsCreated a new page object following the Page Object Model (POM) pattern with:
Test Specs:
variables.spec.tsTest suites include:
Acceptance Criteria Compliance
testConfigcompatible patternbeforeAll/afterAllTesting
These tests can be run locally with:
breeze testing ui-e2e-tests --test-pattern "variables.spec.ts"Or directly:
Related Issues