Skip to content

Commit 7155e4b

Browse files
committed
Try making pluggable SCM test weaker
1 parent d9f22e0 commit 7155e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pages/pluggable_scm_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def delete_scm(scm_name)
6767

6868
def is_connection_ok
6969
page.find("button[data-test-id='button-check-connection']").click
70-
page.find("div[data-test-id='flash-message-success']").text === "Connection Ok!"
70+
assert_true flash_message(wait: 5).text.include? "Connection Ok!"
7171
end
7272

7373
private

0 commit comments

Comments
 (0)