Given
I visit "http://localhost:3000/"
3s 920ms
And
I feature toggle "WEB_MODERNISATION" to "true"
34ms
And
I wait for 1 seconds
1s 8ms
Then
"span" element with "text" "Calculators" should be visible
80ms
When
I click on element
621ms
And
I wait for 1 seconds
1s 13ms
And
I feature toggle "WEB_MODERNISATION" to "true"
63ms
And
I wait for 2 seconds
2s 11ms
Then
"a" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
19ms
When
I click on element
643ms
Then
I wait for 4 seconds
4s 9ms
Given
"button" element with "text" "Tobramycin"
38ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
648ms
Given
"button" element with "aria-label" "Male"
31ms
And
I wait for 1 seconds
1s 13ms
And
I scroll to element
39ms
And
I click on element
575ms
Given
"input" element with "id" "abx-height"
19ms
When
I enter "185"
72ms
Given
"input" element with "id" "ag-weight"
34ms
When
I enter "75"
184ms
Given
"input" element with "id" "ag-age"
23ms
When
I enter "50"
139ms
Given
"input" element with "id" "calc-creatinine"
106ms
When
I enter "110"
74ms
Then
I close the keyboard by clicking outside
145ms
And
I wait for 6 seconds
6s 11ms
When
I scroll down the window for 60px
8ms
Given
"button" element with "text" "Yes"
26ms
Then
I scroll element into center view
1s 12ms
And
I wait for 2 seconds
2s 7ms
And
I click on element
641ms
And
I wait for 4 seconds
4s 5ms
Given
"button" element with "text" "Calculate"
93ms
Then
I scroll element into center view
1s 11ms
And
I wait for 2 seconds
2s 16ms
And
I click on element
611ms
Given
"span" element with "text" "420"
53ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 9ms
Then
"span" element with "text" "420" should be visible
17ms