Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Unit Test for dashboard #706

Open
wants to merge 29 commits into
base: development
Choose a base branch
from
Open
Changes from 2 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
195e8b3
Added IDs to UI components
proy30 Aug 10, 2024
8f2f0b8
Added some more IDs to UI components
proy30 Aug 11, 2024
79064a7
Added 'close' button in lattice settings
proy30 Aug 11, 2024
142f8b6
Removed functionality that converted user input
proy30 Aug 11, 2024
fe7ff90
Added unit test for running FODO simulation on dashboard
proy30 Aug 11, 2024
8c70aad
Added subprocess to start up server with pytest
proy30 Aug 11, 2024
699ef52
Attempt to fix flaky test
proy30 Aug 12, 2024
4e96f06
Add seleniumbase dependency in CI workflows for testing
proy30 Aug 12, 2024
3e22383
Added dashboard dependencies in stubs.yml
proy30 Aug 12, 2024
2c3e6c3
Added missing dashboard dependencies to stubs.yml
proy30 Aug 12, 2024
5087204
Update CI & Requirements Files
ax3l Aug 12, 2024
8a8f24a
pytest: Graceful Skipping
ax3l Aug 12, 2024
af48f6b
Unit test interacts with phase space projections
proy30 Aug 18, 2024
4c01f6c
time adjustments
proy30 Aug 18, 2024
01a46ee
adjust format
proy30 Aug 18, 2024
0ebffef
attempt to run headless
proy30 Aug 18, 2024
7b624cd
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 18, 2024
4294ff9
Fixed UnboundLocalError and PermissionError
proy30 Sep 19, 2024
a46d047
Replace time.sleep() with alternative
proy30 Sep 19, 2024
61047e3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 19, 2024
a212bd5
Redid logic to show simulation is complete
proy30 Sep 19, 2024
551010d
test
proy30 Oct 3, 2024
2c9ae3e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 19, 2024
ed259e6
try new directory to launch application
proy30 Nov 22, 2024
4c9ad85
Adjust testing for updated ui
proy30 Nov 22, 2024
032936c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 22, 2024
8d58fd6
Adjust docstring
proy30 Nov 23, 2024
11a5c95
Merge branch 'topic-dashboard-test' of github.com:proy30/impactx into…
proy30 Nov 23, 2024
364e20d
test new
proy30 Nov 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/python/impactx/dashboard/Toolbar/toolbarMain.py
Original file line number Diff line number Diff line change
@@ -71,13 +71,13 @@ def run_simulation_button():
@staticmethod
def show_simulation_complete():
vuetify.VAlert(
"Simulation Complete",
v_model=("simulation_complete", False),
id="simulation_complete",
type="success",
dense=True,
classes="mt-4",
)
"Simulation Complete",
v_model=("simulation_complete", False),
id="simulation_complete",
type="success",
dense=True,
classes="mt-4",
)

@staticmethod
def dashboard_info():
@@ -119,7 +119,7 @@ def run_toolbar():

(ToolbarElements.dashboard_info(),)
(vuetify.VSpacer(),)
ToolbarElements.show_simulation_complete(),
(ToolbarElements.show_simulation_complete(),)
(ToolbarElements.run_simulation_button(),)

@staticmethod