Module: AthenaClientElements
- Defined in:
- lib/efset_test_helper/efset_apps/athena_client_elements.rb
Instance Method Summary collapse
-
#athena_client_iframe ⇒ Object
Main container.
-
#audio_check_title ⇒ Object
Audio check / Audio play.
- #audio_check_yes ⇒ Object
- #confirm_next_task ⇒ Object
-
#continue_next_task ⇒ Object
Next task.
- #play_icon ⇒ Object
- #questions_tab ⇒ Object
-
#reading_tab ⇒ Object
Tasks mobile.
-
#skip_instructions ⇒ Object
Page / Test Instructions.
-
#task_instructions ⇒ Object
Tasks.
Instance Method Details
#athena_client_iframe ⇒ Object
Main container
7 8 9 |
# File 'lib/efset_test_helper/efset_apps/athena_client_elements.rb', line 7 def athena_client_iframe iframe(id: 'athena-client-iframe').iframe(class: 'eft-iframe') end |
#audio_check_title ⇒ Object
Audio check / Audio play
23 24 25 |
# File 'lib/efset_test_helper/efset_apps/athena_client_elements.rb', line 23 def audio_check_title athena_client_iframe.h4(text: 'Audio Check') end |
#audio_check_yes ⇒ Object
31 32 33 |
# File 'lib/efset_test_helper/efset_apps/athena_client_elements.rb', line 31 def audio_check_yes athena_client_iframe.(class: 'btn btn-primary', text: 'Yes') end |
#confirm_next_task ⇒ Object
43 44 45 |
# File 'lib/efset_test_helper/efset_apps/athena_client_elements.rb', line 43 def confirm_next_task athena_client_iframe.(id: 'confirm-next-task') end |
#continue_next_task ⇒ Object
Next task
39 40 41 |
# File 'lib/efset_test_helper/efset_apps/athena_client_elements.rb', line 39 def continue_next_task athena_client_iframe.(id: 'nextButtonDiv') end |
#play_icon ⇒ Object
27 28 29 |
# File 'lib/efset_test_helper/efset_apps/athena_client_elements.rb', line 27 def play_icon athena_client_iframe.span(class: 'btn-icon glyphicon glyphicon-play') end |
#questions_tab ⇒ Object
64 65 66 |
# File 'lib/efset_test_helper/efset_apps/athena_client_elements.rb', line 64 def questions_tab athena_client_iframe.link(text: 'Questions') end |
#reading_tab ⇒ Object
Tasks mobile
60 61 62 |
# File 'lib/efset_test_helper/efset_apps/athena_client_elements.rb', line 60 def reading_tab athena_client_iframe.link(text: 'Reading') end |
#skip_instructions ⇒ Object
Page / Test Instructions
15 16 17 |
# File 'lib/efset_test_helper/efset_apps/athena_client_elements.rb', line 15 def skip_instructions athena_client_iframe.(text: 'Next').click end |
#task_instructions ⇒ Object
Tasks
51 52 53 |
# File 'lib/efset_test_helper/efset_apps/athena_client_elements.rb', line 51 def task_instructions athena_client_iframe.div(class: 'instructions') end |