Skip to content

Commit

Permalink
Fix downstream CI and add manually triggered downstream CI test (#223)
Browse files Browse the repository at this point in the history
Add manually triggered downstream CI test and fixes #205 downstream CI issue.
  • Loading branch information
unkcpz authored Apr 11, 2022
1 parent b5c6a87 commit e96a86f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/di.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
name: downstream-integration

on:
workflow_dispatch:
schedule:
- cron: 41 3 * * *

Expand Down
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"]'
).click() # click `From Examples` tab 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-select-diamond-confirmed.png")

0 comments on commit e96a86f

Please sign in to comment.