File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ dev = [
5151 " black[jupyter]" ,
5252 " isort" ,
5353 " flake8" ,
54+ " kaleido" ,
5455 " nbformat>=4.2.0" ,
5556]
5657app = [
Original file line number Diff line number Diff line change 55
66from tdamapper import app
77
8+ RETRIES = 40
9+
810pytest_plugins = ["nicegui.testing.user_plugin" ]
911
1012
@@ -23,14 +25,14 @@ async def test_run_app(user: User) -> None:
2325 user .find ("Run Mapper" ).click ()
2426 await user .should_see ("Running Mapper..." )
2527 await user .should_not_see ("No data found." )
26- await user .should_see ("Running Mapper Completed!" , retries = 20 )
28+ await user .should_see ("Running Mapper Completed!" , retries = RETRIES )
2729 await user .should_see ("Drawing Mapper..." )
2830 await user .should_not_see ("No data" )
29- await user .should_see ("Drawing Mapper Completed!" , retries = 20 )
31+ await user .should_see ("Drawing Mapper Completed!" , retries = RETRIES )
3032 user .find ("Redraw" ).click ()
3133 await user .should_see ("Drawing Mapper..." )
3234 await user .should_not_see ("No data" )
33- await user .should_see ("Drawing Mapper Completed!" , retries = 20 )
35+ await user .should_see ("Drawing Mapper Completed!" , retries = RETRIES )
3436
3537
3638def test_run_mapper () -> None :
You can’t perform that action at this time.
0 commit comments