mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-03 20:38:05 +00:00
- added patch to check if ssid is visible in sanity
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
This commit is contained in:
committed by
Sushant Bawiskar
parent
02e3145cd8
commit
fd89fe313d
@@ -1023,7 +1023,7 @@ def get_ip_address_ios(request, WifiName, WifiPass, setup_perfectoMobile, connDa
|
|||||||
available_ssids = get_all_available_ssids(driver)
|
available_ssids = get_all_available_ssids(driver)
|
||||||
allure.attach(name="Available SSIDs in device: ", body=str(available_ssids))
|
allure.attach(name="Available SSIDs in device: ", body=str(available_ssids))
|
||||||
try:
|
try:
|
||||||
if (WifiName not in available_ssids ) and (not ssid_Visible(driver, WifiName)):
|
if (not ssid_Visible(driver, WifiName)) and (WifiName not in available_ssids):
|
||||||
scrollDown(setup_perfectoMobile)
|
scrollDown(setup_perfectoMobile)
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
else:
|
else:
|
||||||
@@ -1790,7 +1790,7 @@ def get_ip_address_eap_ios(request, WifiName, User, ttls_passwd, setup_perfectoM
|
|||||||
available_ssids = get_all_available_ssids(driver)
|
available_ssids = get_all_available_ssids(driver)
|
||||||
allure.attach(name="Available SSIDs in device: ", body=str(available_ssids))
|
allure.attach(name="Available SSIDs in device: ", body=str(available_ssids))
|
||||||
try:
|
try:
|
||||||
if (WifiName not in available_ssids ) and (not ssid_Visible(driver, WifiName)):
|
if (not ssid_Visible(driver, WifiName)) and (WifiName not in available_ssids):
|
||||||
scrollDown(setup_perfectoMobile)
|
scrollDown(setup_perfectoMobile)
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user