pages/join_fanzone.rb
#generic method to check if you are on a specific fanzone
generic method to check if you are on a specific fanzone
generic method to check if you are on a specific fanzone
def check_if_im_on_a_specific_fanzone_screen(fanzoneName)
    page.should have_content(fanzoneName)
    sleep(2)
    fanzoneTabs =Array[FANFEED_TAB,NEWS_TAB,BLOGS_TAB,FIXTURE_RESULTS_TAB,PHOTOS_AND_VIDEOS_TAB]
    for fanzoneTab in fanzoneTabs
      page.should have_content(fanzoneTab)
    end
  end
def check_if_im_on_a_specific_fanzone_screen ( fanzoneName ) page . should have_content ( fanzoneName ) sleep ( 2 ) fanzoneTabs = Array [ FANFEED_TAB , NEWS_TAB , BLOGS_TAB , FIXTURE_RESULTS_TAB , PHOTOS_AND_VIDEOS_TAB ] for fanzoneTab in fanzoneTabs page . should have_content ( fanzoneTab ) end end
generic method to check if you are on a specific fanzone
generic method to check if you are on a specific fanzone
# I will check the Fanzone title #I will check All the table from the fanzone view
fanzoneName
<not_specific>