Sha256: 45096f8015fa0303f243fc467326f28a286b7ada6f851b8f2c7c1e8be2e51b13
Contents?: true
Size: 1.47 KB
Versions: 15
Compression:
Stored size: 1.47 KB
Contents
load_script! 'common/features' add_step! (RubyApp::Element::Event) { |event| event.assert_exists_link('Calendars') } add_step! (RubyApp::Element::AssertedEvent) { |event| event.click_link('Calendars') } add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.assert_exists_link('Month') } add_step! (RubyApp::Element::AssertedEvent) { |event| event.click_link('Month') } add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.assert_exists_link(Date.today.day == 15 ? 14 : 15) } add_step! (RubyApp::Element::AssertedEvent) { |event| event.click_link(Date.today.day == 15 ? 14 : 15) } add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.assert_exists_text("You selected day #{Date.today.day == 15 ? 14 : 15}.") } add_step! (RubyApp::Element::AssertedEvent) { |event| event.assert_exists_link('OK') } add_step! (RubyApp::Element::AssertedEvent) { |event| event.click_link('OK') } add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.assert_exists_text(Date.today.day == 15 ? 14 : 15) } 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.click_link('Back') } add_step! (RubyApp::Elements::Mobile::Page::ShownEvent) { |event| event.execute {} }
Version data entries
15 entries across 15 versions & 1 rubygems