Skip to content

Commit

Permalink
Adjust testing for updated ui
Browse files Browse the repository at this point in the history
  • Loading branch information
proy30 committed Nov 22, 2024
1 parent ed259e6 commit 4c9ad85
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/python/dashboard/test_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ def test_dashboard():
wait_for_ready(sb, ".trame__loader", TIMEOUT)

# Adjust beam properties
sb.click("#particle_shape")
sb.click("div.v-list-item:nth-of-type(2)")
set_input_value(sb, "npart", 10000)
set_input_value(sb, "kin_energy", 2.0e3)
set_input_value(sb, "bunch_charge_C", 1.0e-9)

# Change distribution type to "Quadratic"
sb.click("#selected_distribution_type")
sb.click("div.v-list-item__title:contains('Quadratic Form')")

# Adjust beam distribution
set_input_value(sb, "selected_distribution", "Waterbag")
set_input_value(sb, "lambdaX", 3.9984884770e-5)
Expand Down

0 comments on commit 4c9ad85

Please sign in to comment.