Skip to content

Commit 2a6c2bf

Browse files
Refactor HomePageV2 class to improve variable naming for clarity
1 parent dea1a44 commit 2a6c2bf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/e2e-test/pages/HomePageV2.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def validate_source_document_visible(self):
491491
logger.info("Starting Source Document pane validation...")
492492

493493
logger.info("Validating Source Document pane has content...")
494-
source_doc_pane = self.page.locator(
494+
_source_doc_pane = self.page.locator(
495495
"//div[contains(text(),'Source Document')]/ancestor::div[1]/following-sibling::*"
496496
)
497497

@@ -1139,7 +1139,7 @@ def upload_files_with_mismatched_schemas(self):
11391139
"repair_estimate.pdf": "Auto Insurance Claim Form",
11401140
}
11411141

1142-
dialog = self.open_import_dialog_with_files()
1142+
_dialog = self.open_import_dialog_with_files()
11431143

11441144
# Select mismatched schemas for each file
11451145
files = self.get_testdata_files()
@@ -1195,7 +1195,7 @@ def validate_schema_dropdown_after_file_removal(self):
11951195

11961196
# Try to remove the first file using the delete/remove button next to it
11971197
logger.info("Attempting to remove first file from the list...")
1198-
file_labels = dialog.locator("strong")
1198+
_file_labels = dialog.locator("strong")
11991199
first_file_name = os.path.basename(files[0])
12001200

12011201
# Look for a delete/remove button near the first file entry

0 commit comments

Comments
 (0)