diff --git a/e2e_tests/test_standalone/test_study_list.py b/e2e_tests/test_standalone/test_study_list.py index 923203895..e84a7f5a0 100644 --- a/e2e_tests/test_standalone/test_study_list.py +++ b/e2e_tests/test_standalone/test_study_list.py @@ -52,10 +52,7 @@ def objective(trial: optuna.Trial) -> float: create_storage_file(filename) page.goto(url) with page.expect_file_chooser() as fc_info: - page.get_by_role( - "button", - name="Load an Optuna Storage Drag your SQLite3 file here or click to browse.", - ).click() + page.get_by_role("button").nth(2).click() file_chooser = fc_info.value file_chooser.set_files(path)