From b02999bca6a4cf9aa3712b3ba424f42b0cbee35b Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 22 Jun 2026 09:59:29 -0700 Subject: [PATCH] Fix broken Playwright tests --- tests/test_playwright.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_playwright.py b/tests/test_playwright.py index 70b5a8c1..94dcbd64 100644 --- a/tests/test_playwright.py +++ b/tests/test_playwright.py @@ -303,6 +303,7 @@ def test_create_table_flow(page, datasette_server): dialog.locator(".table-create-add-column").click() dialog.locator(".table-create-column-name").nth(3).fill("metadata") dialog.locator(".table-create-column-type").nth(3).select_option("integer") + dialog.locator(".table-create-more-options").nth(3).click() dialog.locator(".table-create-custom-column-type").nth(3).select_option("json") assert dialog.locator(".table-create-column-type").nth(3).input_value() == "text" assert "table-create-input-placeholder" not in dialog.locator( @@ -361,7 +362,7 @@ def test_alter_table_flow(page, datasette_server): assert "Default value" in expanded_options_text assert "or default to a specific time" in expanded_options_text assert "Primary key" in expanded_options_text - assert "An ID that uniquely identifies this record" in expanded_options_text + assert "This ID uniquely identifies the record" in expanded_options_text dialog.locator(".table-alter-add-column").click() assert dialog.locator(".table-alter-save").is_enabled()