Commit fd0af857 authored by Walmyr Lima's avatar Walmyr Lima

Update page object method

- To click in a new element defined in the view
using click_element;
and
- To pass the page that should render after the click
so that required fields will be validated.
parent 4100b09d
...@@ -26,7 +26,7 @@ module QA ...@@ -26,7 +26,7 @@ module QA
end end
def create_new_issue def create_new_issue
click_on 'Submit issue' click_element :issuable_create_button, Page::Project::Issue::Show
end end
end end
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