diff --git a/features/step_definitions/mobile_steps.rb b/features/step_definitions/mobile_steps.rb index ba0bfba22..34f494de8 100644 --- a/features/step_definitions/mobile_steps.rb +++ b/features/step_definitions/mobile_steps.rb @@ -12,7 +12,7 @@ end When /^I open the drawer$/ do find("#menu-badge").click - expect(find("#app")["class"]).to include "draw" + expect(page).to have_css("#app.draw") end Then /^the aspect dropdown within "([^"]*)" should be labeled "([^"]*)"/ do |selector, label|