summaryrefslogtreecommitdiff
path: root/tests/browser/features/support/pages/main_page.rb
blob: 7d96c2b2ad9606a740f3446c9005a5631a9f3660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class MainPage
  include PageObject

  include URL
  page_url URL.url("")

  a(:edit_link, href: /action=edit/)
  li(:help_link, id: "n-help")
  div(:page_content, id: "content")
  li(:page_information_link, id: "t-info")
  li(:permanent_link_link, id: "t-permalink")
  a(:printable_version_link, href: /printable=yes/)
  li(:random_page_link, id: "n-randompage")
  li(:recent_changes_link, id: "n-recentchanges")
  li(:related_changes_link, id: "t-recentchangeslinked")
  li(:special_pages_link, id: "t-specialpages")
  a(:view_history_link, href: /action=history/)
  li(:what_links_here_link, id: "t-whatlinkshere")
end