Skip to content

Commit

Permalink
Fixed the other disk to use da*
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbsd committed Apr 19, 2024
1 parent 0f7e19d commit a45520f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/bdd/core/test_NAS_T1002.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def when_the_pool_manager_page_open_input_system_for_pool_name(driver):
@then('click the checkbox next to ada3, and press the right arrow under data vdev, click create')
def click_the_checkbox_next_to_ada3_and_press_the_right_arrow_under_data_vdev_click_create(driver):
"""click the checkbox next to ada3, and press the right arrow under data vdev, click create."""
assert wait_on_element(driver, 7, '//mat-checkbox[@id="pool-manager__disks-ada3"]', 'clickable')
driver.find_element_by_xpath('//mat-checkbox[@id="pool-manager__disks-ada3"]').click()
assert wait_on_element(driver, 7, '//mat-checkbox[@id="pool-manager__disks-da3"]', 'clickable')
driver.find_element_by_xpath('//mat-checkbox[@id="pool-manager__disks-da3"]').click()
assert wait_on_element(driver, 7, '//button[@id="vdev__add-button"]', 'clickable')
driver.find_element_by_xpath('//button[@id="vdev__add-button"]').click()
assert wait_on_element(driver, 7, '//mat-checkbox[@id="pool-manager__force-submit-checkbox"]', 'clickable')
Expand Down
4 changes: 2 additions & 2 deletions tests/bdd/core/test_NAS_T1080.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ def click_on_the_encryption_checkbox_then_confirm(driver):
@then('click the ada2 checkbox, press the right arrow under Data VDevs')
def click_the_ada2_checkbox_press_the_right_arrow_under_data_vdevs(driver):
"""click the ada2 checkbox, press the right arrow under Data VDevs."""
assert wait_on_element(driver, 5, '//mat-checkbox[@id="pool-manager__disks-ada2"]', 'clickable')
driver.find_element_by_xpath('//mat-checkbox[@id="pool-manager__disks-ada2"]').click()
assert wait_on_element(driver, 5, '//mat-checkbox[@id="pool-manager__disks-da2"]', 'clickable')
driver.find_element_by_xpath('//mat-checkbox[@id="pool-manager__disks-da2"]').click()
assert wait_on_element(driver, 5, '//button[@id="vdev__add-button"]')
driver.find_element_by_xpath('//button[@id="vdev__add-button"]').click()

Expand Down
4 changes: 2 additions & 2 deletions tests/bdd/core/test_NAS_T1085.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def click_on_the_encryption_checkbox_then_confirm(driver):
@then('click the ada2 checkbox, press the right arrow under Data VDevs')
def click_the_ada2_checkbox_press_the_right_arrow_under_data_vdevs(driver):
"""click the ada2 checkbox, press the right arrow under Data VDevs."""
assert wait_on_element(driver, 5, '//mat-checkbox[@id="pool-manager__disks-ada2"]', 'clickable')
driver.find_element_by_xpath('//mat-checkbox[@id="pool-manager__disks-ada2"]').click()
assert wait_on_element(driver, 5, '//mat-checkbox[@id="pool-manager__disks-da2"]', 'clickable')
driver.find_element_by_xpath('//mat-checkbox[@id="pool-manager__disks-da2"]').click()
assert wait_on_element(driver, 5, '//button[@id="vdev__add-button"]')
driver.find_element_by_xpath('//button[@id="vdev__add-button"]').click()

Expand Down

0 comments on commit a45520f

Please sign in to comment.