load_script! 'common/features/authentications' add_step! (RubyApp::Element::Event) { |event| event.assert_exists_link('myOpenID') } add_step! (RubyApp::Element::AssertedEvent) { |event| event.click_link('myOpenID') } add_step! (RubyApp::Elements::Mobile::Page::LoadedEvent) add_step! (RubyApp::Elements::Mobile::Page::LoadedEvent) add_step! (RubyApp::Elements::Mobile::Page::LoadedEvent) { |event| event.assert_exists_text('You are logged in as') } add_step! (RubyApp::Element::AssertedEvent) { |event| event.click_link('Back') } add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.click_link('Back') } add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.execute {} }