From 8d5d2db0bfa1fc96424ec266e52651464f0cee1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Thu, 11 Aug 2016 15:52:31 +0200 Subject: [PATCH] stabilize features/mobile/drawer.feature:59 --- features/step_definitions/mobile_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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|