Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TE-1184 / 13.0 / Removed dropbox cloud sync test and fixed aws cloud sync test #9037

Merged
merged 3 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T0984.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ def the_browser_is_open_the_freenas_url_and_logged_in(driver, nas_ip, root_passw
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T0985.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ def the_browser_is_open_the_freenas_url_and_logged_in(driver, nas_ip, root_passw
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 10, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T0986.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ def the_browser_is_open_the_freenas_url_and_logged_in(driver, nas_ip, root_passw
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1001.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ def the_browser_is_open_the_freenas_url_and_logged_in(driver, nas_ip, root_passw
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1002.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ def the_browser_is_open_the_freenas_url_and_logged_in(driver, nas_ip, root_passw
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1003.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ def the_browser_is_open_the_freenas_url_and_logged_in(driver, nas_ip, root_passw
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1004.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ def the_browser_is_open_the_freenas_url_and_logged_in(driver, nas_ip, root_passw
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1006.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ def the_browser_is_open_the_freenas_url_and_logged_in(driver, nas_ip, root_passw
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1007.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ def the_browser_is_open_the_freenas_url_and_logged_in(driver, nas_ip, root_passw
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1008.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ def the_browser_is_open_the_freenas_url_and_logged_in(driver, nas_ip, root_passw
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1009.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ def the_browser_is_open_on_the_truenas_url_and_logged_in(driver, nas_ip, root_pa
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1010.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ def the_browser_is_open_on_the_truenas_url_and_logged_in(driver, nas_ip, root_pa
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1011.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ def the_browser_is_open_on_the_truenas_url_and_logged_in(driver, nas_ip, root_pa
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1012.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ def the_browser_is_open_on_the_truenas_url_and_logged_in(driver, nas_ip, root_pa
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1013.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ def the_browser_is_open_on_the_truenas_url_and_logged_in(driver, nas_ip, root_pa
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1014.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ def the_browser_is_open_on_the_truenas_url_and_logged_in(driver, nas_ip, root_pa
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1015.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ def the_browser_is_open_on_the_truenas_url_and_logged_in(driver, nas_ip, root_pa
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1016.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ def the_browser_is_open_on_the_truenas_url_and_logged_in(driver, nas_ip, root_pa
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1017.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ def the_browser_is_open_on_the_truenas_url_and_logged_in(driver, nas_ip, root_pa
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1018.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ def the_browser_is_open_on_the_truenas_url_and_logged_in(driver, nas_ip, root_pa
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1019.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ def the_browser_is_open_on_the_truenas_url_and_logged_in(driver, nas_ip, root_pa
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1020.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ def the_browser_is_open_on_the_truenas_url_and_logged_in(driver, nas_ip, root_pa
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1021.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ def the_browser_is_open_on_the_truenas_url_and_logged_in(driver, nas_ip, root_pa
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
5 changes: 1 addition & 4 deletions tests/bdd/core/test_NAS_T1022.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ def the_browser_is_open_on_the_truenas_url_and_logged_in(driver, nas_ip, root_pa
assert wait_on_element(driver, 4, '//button[@name="signin_button"]')
driver.find_element_by_xpath('//button[@name="signin_button"]').click()
if not is_element_present(driver, '//li[contains(.,"Dashboard")]'):
assert wait_on_element(driver, 10, '//span[contains(.,"root")]')
element = driver.find_element_by_xpath('//span[contains(.,"root")]')
driver.execute_script("arguments[0].scrollIntoView();", element)
time.sleep(0.5)
rsc.scroll_To(driver, xpaths.sideMenu.root)
assert wait_on_element(driver, 7, '//mat-list-item[@ix-auto="option__Dashboard"]', 'clickable')
driver.find_element_by_xpath('//mat-list-item[@ix-auto="option__Dashboard"]').click()

Expand Down
Loading
Loading