Given
I visit "http://localhost:3000/"
3s 604ms
And
I feature toggle "WEB_MODERNISATION" to "true"
15ms
And
I wait for 1 seconds
1s 8ms
Given
"button" element with "class" "size-12"
42ms
Then
I scroll element into center view
1s 339ms
And
I wait for 1 seconds
1s 12ms
When
I click on element
1s 545ms
Then
"span" element with "text" "Calculators" should be visible
1s 161ms
When
I click on element
1s 333ms
And
I wait for 1 seconds
1s 8ms
And
I feature toggle "WEB_MODERNISATION" to "true"
20ms
And
I wait for 2 seconds
2s 4ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
19ms
When
I click on element
1s 69ms
Then
I wait for 4 seconds
4s 14ms
Given
"button" element with "text" "Tobramycin"
22ms
Then
I scroll element into center view
1s 304ms
And
I wait for 1 seconds
1s 6ms
When
I click on element
691ms
Given
"button" element with "aria-label" "Male"
34ms
And
I wait for 1 seconds
1s 15ms
And
I scroll to element
19ms
And
I click on element
623ms
Given
"input" element with "id" "abx-height"
38ms
When
I enter "185"
76ms
Given
"input" element with "id" "ag-weight"
25ms
When
I enter "75"
80ms
Given
"input" element with "id" "ag-age"
25ms
When
I enter "50"
65ms
Given
"input" element with "id" "calc-creatinine"
29ms
When
I enter "110"
180ms
Then
I close the keyboard by clicking outside
283ms
And
I wait for 6 seconds
6s 1ms
When
I scroll down the window for 60px
63ms
Given
"button" element with "text" "Yes"
125ms
Then
I scroll element into center view
1s 19ms
And
I wait for 2 seconds
2s 9ms
And
I click on element
658ms
And
I wait for 4 seconds
4s 13ms
Given
"button" element with "text" "Calculate"
21ms
Then
I scroll element into center view
1s 17ms
And
I wait for 2 seconds
2s 6ms
And
I click on element
811ms
Given
"span" element with "text" "420"
88ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 6ms
Then
"span" element with "text" "420" should be visible
23ms