Given
I visit "http://localhost:3000/"
5s 825ms
And
I feature toggle "WEB_MODERNISATION" to "true"
14ms
And
I wait for 1 seconds
1s 2ms
Given
"button" element with "class" "size-12"
32ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 4ms
When
I click on element
661ms
Then
"span" element with "text" "Calculators" should be visible
249ms
When
I click on element
729ms
And
I wait for 1 seconds
1s 14ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 23ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
30ms
When
I click on element
624ms
Then
I wait for 4 seconds
4s 15ms
Given
"button" element with "text" "Tobramycin"
34ms
Then
I scroll element into center view
1s 11ms
And
I wait for 1 seconds
1s 10ms
When
I click on element
599ms
Given
"button" element with "aria-label" "Male"
20ms
And
I wait for 1 seconds
1s 7ms
And
I scroll to element
11ms
And
I click on element
677ms
Given
"input" element with "id" "abx-height"
49ms
When
I enter "185"
95ms
Given
"input" element with "id" "ag-weight"
20ms
When
I enter "75"
111ms
Given
"input" element with "id" "ag-age"
69ms
When
I enter "50"
82ms
Given
"input" element with "id" "calc-creatinine"
27ms
When
I enter "110"
107ms
Then
I close the keyboard by clicking outside
275ms
And
I wait for 6 seconds
6s 10ms
When
I scroll down the window for 60px
13ms
Given
"button" element with "text" "Yes"
32ms
Then
I scroll element into center view
1s 6ms
And
I wait for 2 seconds
2s 7ms
And
I click on element
609ms
And
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Calculate"
55ms
Then
I scroll element into center view
1s 15ms
And
I wait for 2 seconds
2s 8ms
And
I click on element
650ms
Given
"span" element with "text" "420"
26ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 10ms
Then
"span" element with "text" "420" should be visible
19ms