Files
mediawiki-extensions-Univer…/tests/browser/features/support/pages/random_page.rb
Zeljko Filipin 30368d121e Running tests at language-browsertests.wmflabs.org
This will revert: https://gerrit.wikimedia.org/r/#/c/114457/

Change-Id: I53d7adc685820d421d774c196642bddc9e5f19b0
2014-02-21 12:50:54 +00:00

22 lines
580 B
Ruby

# encoding: utf-8
class RandomPage
include PageObject
include URL
page_url URL.url("Special:Random")
span(:cog, title: "Language settings")
a(:create_a_book, text: "Create a book")
a(:download_as_pdf, text: "Download as PDF")
a(:download_the_file, text: "Download the file")
li(:main_page, id: "n-mainpage-description")
div(:asia, id: "AS")
a(:malayalam) do |page|
page.asia_element.element.li(lang: "ml")
end
a(:print_export, text: "Print/export")
a(:printable_version, text: "Printable version")
button(:search_button, id: "searchButton")
end