Skip to content

Commit

Permalink
Merge pull request #373 from dimagi/QA-7204-script-fix-update-bs-app-…
Browse files Browse the repository at this point in the history
…url-for-the-month-november-2024

QA-7204 updated bs app url for the month
  • Loading branch information
kbo001 authored Nov 20, 2024
2 parents 24c10c8 + deaefad commit b1882cd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Features/MultiSelect/test_cases/test_01_multi_select.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import time

import pytest

from Features.CaseSearch.test_pages.casesearch_page import CaseSearchWorkflows
Expand Down
2 changes: 1 addition & 1 deletion HQSmokeTests/testPages/android/android_screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, settings):
"appium:automationName": "UIAutomator2",

# Set URL of the application under test
"appium:app": "bs://258a9bc495347f6d31f670e4c25488109d6f4a8f",
"appium:app": "bs://69575555b507f2c867243ffee58c5a46badcce8d",

"appium:autoGrantPermissions": "true",
"appium:newCommandTimeout": 3600,
Expand Down
7 changes: 6 additions & 1 deletion common_utilities/selenium/webapps.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,12 @@ def answer_repeated_questions(self, question_label, input_type, input_value):
elements = self.driver.find_elements(*answer_locator)
for position in range(1, len(elements) + 1):
per_answer_locator = (By.XPATH, self.per_answer_format.format(question_label, input_type, position))
self.wait_to_clear_and_send_keys(per_answer_locator, input_value)
self.scroll_to_element(per_answer_locator)
time.sleep(1)
self.clear(per_answer_locator)
self.send_keys(per_answer_locator, input_value)
time.sleep(2)
print(str(per_answer_locator), input_value)

def open_domain(self, current_url, domain_name):
env = "staging" if "staging" in current_url else "www"
Expand Down

0 comments on commit b1882cd

Please sign in to comment.