mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-03 04:18:15 +00:00
- added wait in setup_profiles
- added wait in ios_libs Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
This commit is contained in:
committed by
Sushant Bawiskar
parent
b2f49b8356
commit
b7f309f50f
@@ -996,6 +996,7 @@ def get_ip_address_ios(request, WifiName, WifiPass, setup_perfectoMobile, connDa
|
||||
|
||||
# ---------------------Set Password-------------------------------
|
||||
try:
|
||||
driver.implicitly_wait(5)
|
||||
wifiPassword = driver.find_element_by_xpath("//*[@label='Password']")
|
||||
wifiPassword.send_keys(WifiPass)
|
||||
except NoSuchElementException:
|
||||
@@ -1004,6 +1005,7 @@ def get_ip_address_ios(request, WifiName, WifiPass, setup_perfectoMobile, connDa
|
||||
|
||||
# ---------------------Click on join-------------------------------
|
||||
try:
|
||||
driver.implicitly_wait(5)
|
||||
joinBTN = driver.find_element_by_xpath("//*[@label='Join']")
|
||||
joinBTN.click()
|
||||
except Exception as e:
|
||||
|
||||
@@ -241,6 +241,7 @@ class Fixtures_2x:
|
||||
allure.attach(body=ap_logs, name="FAILURE: AP LOgs: ")
|
||||
pytest.fail("AP is disconnected from UC Gateway")
|
||||
instantiate_profile_obj.push_config(serial_number=get_equipment_id[0])
|
||||
time.sleep(30)
|
||||
time_1 = time.time()
|
||||
config = json.loads(str(instantiate_profile_obj.base_profile_config).replace(" ", "").replace("'", '"'))
|
||||
config["uuid"] = 0
|
||||
@@ -334,6 +335,7 @@ class Fixtures_2x:
|
||||
|
||||
ssid_data = []
|
||||
idx_mapping = {}
|
||||
print(ssid_info_sdk)
|
||||
for interface in range(len(ssid_info_sdk)):
|
||||
ssid = ["ssid_idx=" + str(interface) +
|
||||
" ssid=" + ssid_info_sdk[interface][0] +
|
||||
|
||||
Reference in New Issue
Block a user