Skip to content

Commit

Permalink
fix: downstream ci
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Apr 11, 2022
1 parent a4399b4 commit f2d840d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_qe_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ def test_qe_app_select_silicon(selenium, url):
selenium.set_window_size(1920, 985)
time.sleep(10)
selenium.find_element(
By.CSS_SELECTOR, ".p-TabBar-tab:nth-child(6) > .p-TabBar-tabLabel"
).click()
selenium.find_element(By.XPATH, "//option[@value='Silicon']").click()
selenium.get_screenshot_as_file("screenshots/qe-app-select-silicon-selected.png")
By.XPATH, '//li[@id="tab-key-17" and @class="lm-TabBar-tab p-TabBar-tab"]'
).click() # click `From Examples` for input structure
selenium.find_element(By.XPATH, "//option[@value='Diamond']").click()
selenium.get_screenshot_as_file("screenshots/qe-app-select-diamond-selected.png")
confirm_button = selenium.find_element(By.XPATH, "//button[contains(.,'Confirm')]")
confirm_button.location_once_scrolled_into_view # scroll into view
confirm_button.click()
selenium.get_screenshot_as_file("screenshots/qe-app-select-silicon-confirmed.png")
selenium.get_screenshot_as_file("screenshots/qe-app-diamond-silicon-confirmed.png")

0 comments on commit f2d840d

Please sign in to comment.