Commit 30f606b2 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Update common.rb

parent d371c75b
......@@ -17,11 +17,7 @@ module QA
def expand_section(name)
page.within('#content-body') do
page.within('section', text: name) do
<<<<<<< HEAD
click_button('Expand')
=======
click_button 'Expand' unless first('button', text: 'Collapse')
>>>>>>> upstream/master
yield if block_given?
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