b0VIM 7.3dNRkoxosMacBook-Pro-Daniel.local~oxos/geepivo/test/test/helpers/gmail/assertions.rbutf-8 3210#"! Utp"ady  "uLG+&v\B98 s 6 - ' & !  i d H C  y _ V U   S J D C > : 9 end end end end wait_until { assert has_css?("textarea[name='to']") } within_frame "canvas_frame" do find("div", :text => "Compose mail").click def assert_email_sent(subject,body,to) end wait_until { assert has_css?(".signin-box #gaia_loginform") } end click_link "Sign out" find("#gbi4m1").click within_frame "canvas_frame" do def assert_logged_out end end wait_until { assert has_css?("#gbi4m1", :text => email) } within_frame "canvas_frame" do click_button "Sign in" fill_in "Passwd", :with => password fill_in "Email", :with => email visit "http://gmail/com" def assert_logged_in(email,password) module Gmailmodule Assertionsend end end end wait_until { assert has_css?("textarea[name='to']") } within_frame "canvas_frame" do find("div", :text => "Compose mail").click def assert_email_sent(subject,body,to) end wait_until { assert has_css?(".signin-box #gaia_loginform") } end click_link "Sign out" find("#gbi4m1").click within_frame "canvas_frame" do def assert_logged_out end end wait_until { assert has_css?("#gbi4m1", :text => email) } within_frame "canvas_frame" do click_button "Sign in" fill_in "Passwd", :with => password fill_in "Email", :with => email visit "http://gmail/com" def assert_logged_in(email,password) module Gmailmodule Assertions