Given
I visit "http://localhost:3000/"
3s 736ms
And
I feature toggle "WEB_MODERNISATION" to "true"
25ms
And
I wait for 1 seconds
1s 5ms
Given
"button" element with "class" "size-12"
42ms
Then
I scroll element into center view
1s 33ms
And
I wait for 1 seconds
1s 6ms
When
I click on element
634ms
Then
"span" element with "text" "Calculators" should be visible
241ms
When
I click on element
628ms
And
I wait for 1 seconds
1s 6ms
And
I feature toggle "WEB_MODERNISATION" to "true"
8ms
And
I wait for 2 seconds
2s 15ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
34ms
When
I click on element
646ms
Then
I wait for 4 seconds
4s 8ms
Given
"button" element with "text" "Tobramycin"
29ms
Then
I scroll element into center view
1s 22ms
And
I wait for 1 seconds
1s 8ms
When
I click on element
624ms
Given
"button" element with "aria-label" "Male"
23ms
And
I wait for 1 seconds
1s 11ms
And
I scroll to element
15ms
And
I click on element
631ms
Given
"input" element with "id" "abx-height"
23ms
When
I enter "185"
109ms
Given
"input" element with "id" "ag-weight"
19ms
When
I enter "75"
56ms
Given
"input" element with "id" "ag-age"
19ms
When
I enter "50"
43ms
Given
"input" element with "id" "calc-creatinine"
19ms
When
I enter "110"
48ms
Then
I close the keyboard by clicking outside
288ms
And
I wait for 6 seconds
6s 13ms
When
I scroll down the window for 60px
7ms
Given
"button" element with "text" "Yes"
69ms
Then
I scroll element into center view
1s 13ms
And
I wait for 2 seconds
2s 11ms
And
I click on element
590ms
And
I wait for 4 seconds
4s
Given
"button" element with "text" "Calculate"
96ms
Then
I scroll element into center view
1s 37ms
And
I wait for 2 seconds
2s 3ms
And
I click on element
679ms
Given
"span" element with "text" "420"
26ms
Then
I scroll element into center view
1s 11ms
And
I wait for 1 seconds
1s 8ms
Then
"span" element with "text" "420" should be visible
22ms