From 6097e1a21cd088256b98f97df4d698e02c79712f Mon Sep 17 00:00:00 2001 From: Jarek Kowalski Date: Tue, 9 Aug 2022 19:05:02 -0700 Subject: [PATCH] fix(ci): another attempt to fix flaky HTMLUI test (#2298) --- tests/htmlui_e2e_test/htmlui_e2e_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/htmlui_e2e_test/htmlui_e2e_test.go b/tests/htmlui_e2e_test/htmlui_e2e_test.go index b8a11b97a..7c95af90d 100644 --- a/tests/htmlui_e2e_test/htmlui_e2e_test.go +++ b/tests/htmlui_e2e_test/htmlui_e2e_test.go @@ -137,10 +137,7 @@ func TestEndToEndTest(t *testing.T) { chromedp.Click(`a[data-testid='new-snapshot']`), tc.log("entering path:"+snap1Path), - chromedp.SendKeys(`input[name='path']`, snap1Path), - - // sleep a bit to ensure all the keys in the long path get typed - chromedp.Sleep(500*time.Millisecond), + chromedp.SendKeys(`input[name='path']`, snap1Path+"\t"), tc.log("clicking estimate"), chromedp.Click(`button[data-testid='estimate-now']`),