Given
I visit "http://localhost:3000/"
5s 942ms
And
I feature toggle "WEB_MODERNISATION" to "true"
19ms
And
I wait for 1 seconds
1s
Given
"button" element with "class" "size-12"
30ms
Then
I scroll element into center view
1s 12ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
644ms
Then
"span" element with "text" "Calculators" should be visible
249ms
When
I click on element
614ms
And
I wait for 1 seconds
1s 10ms
And
I feature toggle "WEB_MODERNISATION" to "true"
23ms
And
I wait for 2 seconds
2s 7ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
26ms
When
I click on element
639ms
Then
I wait for 4 seconds
4s 19ms
Given
"button" element with "text" "Tobramycin"
23ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
608ms
Given
"button" element with "aria-label" "Male"
56ms
And
I wait for 1 seconds
1s 13ms
And
I scroll to element
14ms
And
I click on element
656ms
Given
"input" element with "id" "abx-height"
76ms
When
I enter "185"
132ms
Given
"input" element with "id" "ag-weight"
35ms
When
I enter "75"
92ms
Given
"input" element with "id" "ag-age"
30ms
When
I enter "50"
55ms
Given
"input" element with "id" "calc-creatinine"
24ms
When
I enter "110"
80ms
Then
I close the keyboard by clicking outside
302ms
And
I wait for 6 seconds
6s 1ms
When
I scroll down the window for 60px
5ms
Given
"button" element with "text" "Yes"
23ms
Then
I scroll element into center view
1s 15ms
And
I wait for 2 seconds
2s 1ms
And
I click on element
617ms
And
I wait for 4 seconds
4s 3ms
Given
"button" element with "text" "Calculate"
27ms
Then
I scroll element into center view
1s 17ms
And
I wait for 2 seconds
2s 13ms
And
I click on element
766ms
Given
"span" element with "text" "420"
42ms
Then
I scroll element into center view
1s 51ms
And
I wait for 1 seconds
1s 10ms
Then
"span" element with "text" "420" should be visible
16ms