Feature: Play game kahoot

Scenarios

Chart

Status

Progress

1

Passed

100.00%

Failed

0.00%
Total duration:
2m 40.723s

Scenario: My scenario 1

Before 0m 12.036s
Given I click view with ID "no.mobitroll.kahoot.android:id/nextButton" 0m 1.278s
And I wait for 2 seconds 0m 2.469s
And I click view with xpath "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.RelativeLayout/android.widget.LinearLayout[2]/android.view.ViewGroup/android.widget.FrameLayout[2]/android.widget.FrameLayout/android.widget.TextView" 0m 0.742s
And I wait for 2 seconds 0m 2.436s
And I click view with ID "no.mobitroll.kahoot.android:id/ageInput" 0m 1.278s
And I wait for 2 seconds 0m 2.442s
And I enter text "24" 0m 0.758s
And I click view with ID "no.mobitroll.kahoot.android:id/okButton" 0m 1.863s
And I wait for 2 seconds 0m 2.714s
And I click view with ID "no.mobitroll.kahoot.android:id/pinTab" 0m 0.872s
And I wait 0m 5.429s
And I click view with ID "game-input" 0m 1.084s
And I wait 0m 5.468s
And I enter game code 0m 12.866s
And I click view with xpath "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View/android.view.View/android.view.View/android.view.View/android.view.View[2]/android.widget.Button" 0m 0.755s
And I wait for 2 seconds 0m 2.422s
And I click view with ID "nickname" 0m 0.628s
And I wait for 2 seconds 0m 2.427s
And I enter text "William" 0m 1.006s
And I click view with xpath "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View/android.view.View/android.view.View/android.view.View/android.view.View[2]/android.widget.Button" 0m 0.844s
And I send a signal to user 2 containing "ready_to_start" 0m 0.391s
And I wait for a signal containing "game_started" for 120 seconds 0m 2.449s
And I wait for 15 seconds 0m 15.451s
And I click view with xpath "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View/android.view.View/android.widget.Button[1]" 0m 0.565s
And I send a signal to user 2 containing "finished" 0m 0.421s
And I wait for 10 seconds 0m 10.416s
And I click view with ID "no.mobitroll.kahoot.android:id/doneButton" 0m 2.709s
Then I wait 0m 5.974s
After 0m 0.530s

Screenshots

Before
NO IMAGE AVAILABLE
Given I click view with ID "no.mobitroll.kahoot.android:id/nextButton"
And I wait for 2 seconds
And I click view with xpath "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.widget.RelativeLayout/android.widget.LinearLayout[2]/android.view.ViewGroup/android.widget.FrameLayout[2]/android.widget.FrameLayout/android.widget.TextView"
And I wait for 2 seconds
And I click view with ID "no.mobitroll.kahoot.android:id/ageInput"
And I wait for 2 seconds
And I enter text "24"
And I click view with ID "no.mobitroll.kahoot.android:id/okButton"
And I wait for 2 seconds
And I click view with ID "no.mobitroll.kahoot.android:id/pinTab"
And I wait
And I click view with ID "game-input"
And I wait
And I enter game code
And I click view with xpath "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View/android.view.View/android.view.View/android.view.View/android.view.View[2]/android.widget.Button"
And I wait for 2 seconds
And I click view with ID "nickname"
And I wait for 2 seconds
And I enter text "William"
And I click view with xpath "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View/android.view.View/android.view.View/android.view.View/android.view.View[2]/android.widget.Button"
And I send a signal to user 2 containing "ready_to_start"
And I wait for a signal containing "game_started" for 120 seconds
And I wait for 15 seconds
And I click view with xpath "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/android.webkit.WebView/android.webkit.WebView/android.view.View/android.view.View/android.view.View/android.widget.Button[1]"
And I send a signal to user 2 containing "finished"
And I wait for 10 seconds
And I click view with ID "no.mobitroll.kahoot.android:id/doneButton"
Then I wait
After
NO IMAGE AVAILABLE