Commit 56500c7c authored by Tom Quirk's avatar Tom Quirk

Test Discussion tab navigation after Design Mgmt

parent d9244ddf
...@@ -58,10 +58,15 @@ module QA ...@@ -58,10 +58,15 @@ module QA
end end
view 'app/views/projects/issues/_tabs.html.haml' do view 'app/views/projects/issues/_tabs.html.haml' do
element :designs_tab_link
element :designs_tab_content
element :discussion_tab_link element :discussion_tab_link
element :discussion_tab_content element :discussion_tab_content
element :designs_tab_link
element :designs_tab_content
end
def click_discussion_tab
click_element(:discussion_tab_link)
active_element?(:discussion_tab_content)
end end
def click_designs_tab def click_designs_tab
......
...@@ -22,6 +22,8 @@ module QA ...@@ -22,6 +22,8 @@ module QA
show.add_annotation(annotation) show.add_annotation(annotation)
expect(show).to have_annotation(annotation) expect(show).to have_annotation(annotation)
show.click_discussion_tab
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