Commit 961b3b40 authored by Sanad Liaquat's avatar Sanad Liaquat Committed by Ramya Authappan

Fix create_edit_delete_epic_spec.rb test flakiness

parent e6f9ebd1
...@@ -28,7 +28,7 @@ module QA ...@@ -28,7 +28,7 @@ module QA
def add_issue_to_epic(issue_url) def add_issue_to_epic(issue_url)
click_element :add_issues_button click_element :add_issues_button
fill_element :add_issue_input, issue_url fill_element :add_issue_input, issue_url
click_element :add_issue_button click_body
click_element :add_issue_button click_element :add_issue_button
end end
......
...@@ -156,6 +156,10 @@ module QA ...@@ -156,6 +156,10 @@ module QA
click_link text click_link text
end end
def click_body
find('body').click
end
def self.path def self.path
raise NotImplementedError raise NotImplementedError
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment