Integration tests for live preview of display language
Bug: 53255 Change-Id: I1506ddd0ef68217ac114bdf4c29c62cd071b1900
This commit is contained in:
committed by
Amir E. Aharoni
parent
7706d97c8a
commit
039c91d1d5
@@ -1,3 +1,4 @@
|
||||
# encoding: utf-8
|
||||
require "page-object"
|
||||
|
||||
module InterlanguagePageModule
|
||||
@@ -9,6 +10,7 @@ module InterlanguagePageModule
|
||||
span(:cog, class: 'uls-settings-trigger')
|
||||
button(:ellipsis_button, class: 'uls-more-languages button')
|
||||
a(:english_link, text: 'English')
|
||||
a(:hindi_link, text: 'हिन्दी')
|
||||
div(:input_settings, id: 'input-settings-block')
|
||||
div(:language_list, class: 'row uls-language-list lcd')
|
||||
text_field(:language_search, id: 'languagefilter')
|
||||
|
||||
@@ -23,7 +23,7 @@ class PanelPage
|
||||
select_list(:panel_interface_font_selector, id: 'ui-font-selector')
|
||||
|
||||
# TODO: Rename to match convention
|
||||
button(:other_language_button, class: 'button uls-language-button')
|
||||
button(:other_language_button, class: 'button uls-language-button', index: 1)
|
||||
button(:default_language_button, class: 'button uls-language-button down')
|
||||
|
||||
# Triggers
|
||||
@@ -33,6 +33,8 @@ class PanelPage
|
||||
select(:select_font_for_interface, id: 'ui-font-selector')
|
||||
select(:select_font_for_content, id: 'content-font-selector')
|
||||
|
||||
div(:uls_display_settings, class: 'uls-display-settings')
|
||||
|
||||
# Is there way to access the html element?
|
||||
div(:interface, id: 'footer')
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user