26 lines
720 B
Ruby
26 lines
720 B
Ruby
step "the user opens the side menu" do
|
|
page.execute_script %|$('.toggle-side-menu').click()|
|
|
sleep 1
|
|
end
|
|
|
|
step "the user opens the side menu again" do
|
|
step "the user opens the side menu"
|
|
end
|
|
|
|
step "the user clicks on the lists link in the side menu" do
|
|
page.execute_script %|$('.side-menu-lists').click()|
|
|
sleep 2
|
|
end
|
|
|
|
step "the user clicks on the about link in the side menu" do
|
|
page.execute_script %|$('.side-menu-about').click()|
|
|
end
|
|
|
|
step "the user clicks on the active list link in the side menu" do
|
|
page.execute_script %|$('.side-menu-active-list').click()|
|
|
end
|
|
|
|
step "the user clicks on the order products link in the side menu" do
|
|
page.execute_script %|$('.side-menu-list-products').click()|
|
|
end
|