Merge pull request #758 from keisuke-umezawa/fix/e2e-standalone

Fix standalone e2e test
This commit is contained in:
c-bata
2024-01-17 09:31:40 +09:00
committed by GitHub
+1 -4
View File
@@ -52,10 +52,7 @@ def test_load_storage(
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)