Skip to content

Commit d4f67d9

Browse files
Fix F841 linting errors in e2e tests: remove unused variables
1 parent 7e7b5de commit d4f67d9

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tests/e2e-test/pages/HomePageV2.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,6 @@ 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(
495-
"//div[contains(text(),'Source Document')]/ancestor::div[1]/following-sibling::*"
496-
)
497494

498495
# Verify "No document available" is NOT shown
499496
no_data = self.page.locator(self.SOURCE_DOC_NO_DATA)
@@ -1139,7 +1136,7 @@ def upload_files_with_mismatched_schemas(self):
11391136
"repair_estimate.pdf": "Auto Insurance Claim Form",
11401137
}
11411138

1142-
dialog = self.open_import_dialog_with_files()
1139+
self.open_import_dialog_with_files()
11431140

11441141
# Select mismatched schemas for each file
11451142
files = self.get_testdata_files()
@@ -1195,7 +1192,6 @@ def validate_schema_dropdown_after_file_removal(self):
11951192

11961193
# Try to remove the first file using the delete/remove button next to it
11971194
logger.info("Attempting to remove first file from the list...")
1198-
file_labels = dialog.locator("strong")
11991195
first_file_name = os.path.basename(files[0])
12001196

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

0 commit comments

Comments
 (0)