Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
fix: pylint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalawan321 committed Oct 9, 2023
1 parent c5d010e commit 60dfb09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion tests/android/tests/test_android_edit_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def test_ui_elements_smoke(self, set_capabilities, setup_logging):

global_contents = Globals(setup_logging)
android_main_dashboard_page = AndroidMainDashboard(set_capabilities, setup_logging)
android_profile_screen = AndroidProfile(set_capabilities, setup_logging)
edit_profile_screen = AndroidEditProfile(set_capabilities, setup_logging)
profile_options_page = AndroidProfileOptions(set_capabilities, setup_logging)

Expand Down
10 changes: 6 additions & 4 deletions tests/android/tests/test_android_profile_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,12 @@ def test_validate_help_cell_elements(self, set_capabilities, setup_logging):
"""

global_contents = Globals(setup_logging)
profile_options_page = AndroidProfileOptions(set_capabilities, setup_logging)

help_cell = global_contents.get_element_by_id(set_capabilities, android_elements.profile_options_help_cell)
assert help_cell.text == strings.PROFILE_OPTIONS_HELP_CELL_TITLE

submit_feedback_label = global_contents.get_element_by_id(set_capabilities, android_elements.profile_options_submit_feedback)
submit_feedback_label = global_contents.get_element_by_id(
set_capabilities, android_elements.profile_options_submit_feedback)
assert submit_feedback_label.text == strings.PROFILE_OPTIONS_FEEDBACK_LABEL

support_subtitle = global_contents.get_element_by_id(
Expand All @@ -251,7 +251,8 @@ def test_validate_help_cell_elements(self, set_capabilities, setup_logging):
set_capabilities, android_elements.profile_options_privacy_policy)
global_contents.scroll_from_element(set_capabilities, privacy_policy)

get_support_label = global_contents.get_element_by_id(set_capabilities, android_elements.profile_options_get_support)
get_support_label = global_contents.get_element_by_id(
set_capabilities, android_elements.profile_options_get_support)
assert get_support_label.text == strings.PROFILE_OPTIONS_SUPPORT_LABEL

get_support_description = global_contents.get_element_by_id(
Expand Down Expand Up @@ -290,7 +291,8 @@ def test_validate_signout_and_delete_cell_elements(self, set_capabilities, setup
set_capabilities, android_elements.profile_options_delete_account_button)
assert delete_account_button.text == strings.PROFILE_OPTIONS_DELETE_ACCOUNT_BUTTON

delete_account_instructions = global_contents.get_element_by_id(set_capabilities, android_elements.profile_options_delete_description)
delete_account_instructions = global_contents.get_element_by_id(
set_capabilities, android_elements.profile_options_delete_description)
assert delete_account_instructions.text == strings.PROFILE_OPTIONS_DELETE_INFO_LABEL

delete_account_button.click()
Expand Down

0 comments on commit 60dfb09

Please sign in to comment.