From 9b64a639d4bb7638faea8ec6f9696912ca884239 Mon Sep 17 00:00:00 2001 From: keisuke-umezawa Date: Tue, 16 Jan 2024 23:03:28 +0900 Subject: [PATCH] Fix standalone e2e test --- e2e_tests/test_standalone/test_study_list.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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)