2525
2626
2727@pytest .mark .sequential
28- async def test_gui_index (user : User ) -> None :
28+ async def test_gui_index (user : User , record_property ) -> None :
2929 """Test that the user sees the index page, and sees the intro."""
30+ record_property ("tested-item-id" , "SPEC-APPLICATION-SERVICE" )
3031 # hello world
3132 gui_register_pages ()
3233 await user .open ("/" )
@@ -50,9 +51,10 @@ async def test_gui_index(user: User) -> None:
5051 ],
5152)
5253async def test_gui_home_to_application (
53- user : User , application_id : str , application_name : str , expected_text : str , silent_logging : None
54+ user : User , application_id : str , application_name : str , expected_text : str , silent_logging : None , record_property
5455) -> None :
5556 """Test that the user sees the specific application page with expected content."""
57+ record_property ("tested-item-id" , "SPEC-APPLICATION-SERVICE" )
5658 gui_register_pages ()
5759 await user .open ("/" )
5860 await user .should_see (application_name , retries = 100 )
@@ -61,8 +63,9 @@ async def test_gui_home_to_application(
6163
6264
6365@pytest .mark .flaky (retries = 1 , delay = 5 , only_on = [AssertionError ])
64- async def test_gui_cli_to_run_cancel (user : User , runner : CliRunner , silent_logging ) -> None :
66+ async def test_gui_cli_to_run_cancel (user : User , runner : CliRunner , silent_logging : None , record_property ) -> None :
6567 """Test that the user sees the index page, and sees the intro."""
68+ record_property ("tested-item-id" , "SPEC-APPLICATION-SERVICE" )
6669 with tempfile .TemporaryDirectory () as tmpdir :
6770 gui_register_pages ()
6871
@@ -208,8 +211,11 @@ async def test_gui_download_dataset_via_application_to_run_cancel( # noqa: PLR0
208211
209212
210213@pytest .mark .sequential
211- async def test_gui_run_download (user : User , runner : CliRunner , tmp_path : Path , silent_logging : None ) -> None :
214+ async def test_gui_run_download (
215+ user : User , runner : CliRunner , tmp_path : Path , silent_logging : None , record_property
216+ ) -> None :
212217 """Test that the user can download a run result via the GUI."""
218+ record_property ("tested-item-id" , "SPEC-APPLICATION-SERVICE" )
213219 with patch (
214220 "aignostics.application._gui._page_application_run_describe.get_user_data_directory" , return_value = tmp_path
215221 ):
0 commit comments