Module: TestPluginHelper
- Defined in:
- lib/efset_test_helper/efset_apps/test_plugin_helper.rb
Instance Method Summary collapse
- #complete_efset_listening ⇒ Object
- #complete_efset_reading ⇒ Object
-
#complete_express ⇒ Object
Answer test.
- #complete_express1604 ⇒ Object
- #complete_placement_listening ⇒ Object
- #complete_placement_reading ⇒ Object
- #confirm_audio_check ⇒ Object
- #next_task ⇒ Object
-
#play_icon_visible? ⇒ Boolean
Answer test helpers.
Instance Method Details
#complete_efset_listening ⇒ Object
28 29 30 31 32 33 34 35 |
# File 'lib/efset_test_helper/efset_apps/test_plugin_helper.rb', line 28 def complete_efset_listening skip_instructions 3.times do confirm_audio_check select_radio(1) next_task end end |
#complete_efset_reading ⇒ Object
22 23 24 25 26 |
# File 'lib/efset_test_helper/efset_apps/test_plugin_helper.rb', line 22 def complete_efset_reading skip_instructions select_radio(1) 3.times {next_task} end |
#complete_express ⇒ Object
Answer test
10 11 12 13 14 |
# File 'lib/efset_test_helper/efset_apps/test_plugin_helper.rb', line 10 def complete_express confirm_audio_check select_radio(1) 2.times {next_task} end |
#complete_express1604 ⇒ Object
16 17 18 19 20 |
# File 'lib/efset_test_helper/efset_apps/test_plugin_helper.rb', line 16 def complete_express1604 select_radio(2) continue_next_task 15.times {next_task} end |
#complete_placement_listening ⇒ Object
43 44 45 46 47 48 49 50 51 52 |
# File 'lib/efset_test_helper/efset_apps/test_plugin_helper.rb', line 43 def complete_placement_listening skip_instructions confirm_audio_check select_dropdown(6) next_task 5.times do confirm_audio_check next_task end end |
#complete_placement_reading ⇒ Object
37 38 39 40 41 |
# File 'lib/efset_test_helper/efset_apps/test_plugin_helper.rb', line 37 def complete_placement_reading skip_instructions select_dropdown(1) 4.times {next_task} end |
#confirm_audio_check ⇒ Object
63 64 65 66 |
# File 'lib/efset_test_helper/efset_apps/test_plugin_helper.rb', line 63 def confirm_audio_check play_icon.when_present(10).click confirm_audio.click end |
#next_task ⇒ Object
68 69 70 71 72 |
# File 'lib/efset_test_helper/efset_apps/test_plugin_helper.rb', line 68 def next_task sleep 0.5 continue_next_task confirm_next_task end |