From c8090b5388f6f18c5cfb6ad1f5392eceb11ea7b4 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 28 Apr 2017 17:29:19 +0200 Subject: [PATCH] Don't wait for click message in webelem tests Looks like we get this sometimes: ----> Waiting for 'Clicked non-editable element!' in the log 14:02:14.976 DEBUG webview webkittab:find_at_pos:618 Hit test result element is null! 14:02:14.976 DEBUG mouse mouse:_mousepress_insertmode_cb:149 Got None element, scheduling check on mouse release 14:02:14.977 DEBUG mouse webview:mousePressEvent:299 Normal click, setting normal target 14:02:14.978 DEBUG mouse mouse:mouserelease_insertmode_cb:173 Element vanished! --- tests/end2end/features/javascript.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/end2end/features/javascript.feature b/tests/end2end/features/javascript.feature index 7c601f4e1..c0c5344d2 100644 --- a/tests/end2end/features/javascript.feature +++ b/tests/end2end/features/javascript.feature @@ -80,17 +80,17 @@ Feature: Javascript stuff Scenario: Clicking on form element with tagName child When I open data/issue2569.html And I run :click-element id theform - And I wait for "Clicked editable element!" in the log + And I wait for "Sending fake click to *" in the log Then no crash should happen Scenario: Clicking on svg element When I open data/issue2569.html And I run :click-element id icon - And I wait for "Clicked non-editable element!" in the log + And I wait for "Sending fake click to *" in the log Then no crash should happen Scenario: Clicking on li element When I open data/issue2569.html And I run :click-element id listitem - And I wait for "Clicked non-editable element!" in the log + And I wait for "Sending fake click to *" in the log Then no crash should happen