From 27f02cd9f22f2f94d4427964f64417c0fdec83a0 Mon Sep 17 00:00:00 2001 From: Louis Garman Date: Sat, 2 Sep 2023 12:06:59 +0100 Subject: [PATCH] fix(integration): stop browser test failing with -32000 error --- internal/integration/variable_set_ui_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/integration/variable_set_ui_test.go b/internal/integration/variable_set_ui_test.go index 48b8942b5..c130c0226 100644 --- a/internal/integration/variable_set_ui_test.go +++ b/internal/integration/variable_set_ui_test.go @@ -63,8 +63,10 @@ func TestIntegration_VariableSetUI(t *testing.T) { chromedp.Navigate(organizationURL(svc.Hostname(), org.Name)), // go to variable sets chromedp.Click(`//a[text()='variable sets']`), - // click new variable set button + // click new variable set button and wait for alpine to load on new + // variable page chromedp.Click(`button#new-variable-set-button`, chromedp.ByQuery), + waitLoaded, // enter name chromedp.Focus("input#name", chromedp.NodeVisible, chromedp.ByQuery), input.InsertText("workspace-scoped-1"),