Skip to content

Commit

Permalink
TE-1184 / 13.0 / Removed dropbox cloud sync test and fixed aws cloud …
Browse files Browse the repository at this point in the history
…sync test (#9037)

* Removed dropbox cloud sync test

fixed aws create folder not in the view
created scroll_To function

* reduce sleep to 0.2 in scroll_To

* fixed check_All_Checkbox xpath
  • Loading branch information
ericbsd authored Oct 12, 2023
1 parent 8743934 commit 0c4c392
Show file tree
Hide file tree
Showing 71 changed files with 82 additions and 1,086 deletions.
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

0 comments on commit 0c4c392

Please sign in to comment.