Scenarios: * Input method menu * Input method indicator is shown * Unsupported input language (pending) Added IMEPage Change-Id: I1f68d177bd05baca6ae8da97364b81a4d851b8b6
22 lines
793 B
Ruby
22 lines
793 B
Ruby
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')
|
|
a(:input_method_enabled, class: 'ime-name imeselector-toggle')
|
|
text_field(:language_filter, id: 'languagefilter')
|
|
li(:main_page, id: 'n-mainpage-description')
|
|
a(:malayalam_link, title: 'Malayalam')
|
|
a(:more_languages, class: 'ime-selector-more-languages')
|
|
a(:print_export, text: 'Print/export')
|
|
a(:printable_version, text: 'Printable version')
|
|
li(:uls_malayalam_inscript2_item, data_ime_inputmethod: 'ml-inscript2')
|
|
button(:search_button, id: 'searchButton')
|
|
a(:uls_trigger, class: 'uls-trigger')
|
|
end
|