diaspora/features/step_definitions/mobile_steps.rb
movilla 7a8269ebf3 * Add test for mobile page: Edit profile mobile, Conversations mobile, Getting Started mobile
* Complete the existing: Post mobile.
* Complete some test for no mobile: Edit profile, Post main.
* Fix little error css and js mobile.
* Add file-upload-custom javascripts to mobile.js.
2013-03-10 15:02:18 +01:00

23 lines
469 B
Ruby

When /^I visit the mobile aspects page$/ do
visit('/aspects.mobile')
end
When /^I visit the mobile home page$/ do
visit('/users/sign_in.mobile')
end
Given /^I publisher mobile page$/ do
visit('/status_messages/new.mobile')
end
When /^I visit the mobile stream page$/ do
visit('/stream.mobile')
end
When /^I toggle the mobile view$/ do
visit('/mobile/toggle')
end
When /^I visit the mobile getting started page$/ do
visit('/getting_started.mobile')
end