Given
I visit "http://localhost:3000/"
5s 496ms
And
I feature toggle "WEB_MODERNISATION" to "true"
13ms
And
I wait for 1 seconds
1s 12ms
Given
"button" element with "class" "size-12"
30ms
Then
I scroll element into center view
1s 15ms
And
I wait for 1 seconds
1s 3ms
When
I click on element
677ms
Then
"span" element with "text" "Calculators" should be visible
297ms
When
I click on element
620ms
And
I wait for 1 seconds
1s 5ms
And
I feature toggle "WEB_MODERNISATION" to "true"
9ms
And
I wait for 2 seconds
2s 26ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
20ms
When
I click on element
624ms
Then
I wait for 4 seconds
4s 4ms
Given
"button" element with "text" "Tobramycin"
21ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 3ms
When
I click on element
670ms
Given
"button" element with "aria-label" "Male"
53ms
And
I wait for 1 seconds
1s 6ms
And
I scroll to element
16ms
And
I click on element
677ms
Given
"input" element with "id" "abx-height"
27ms
When
I enter "185"
97ms
Given
"input" element with "id" "ag-weight"
22ms
When
I enter "75"
81ms
Given
"input" element with "id" "ag-age"
26ms
When
I enter "50"
61ms
Given
"input" element with "id" "calc-creatinine"
37ms
When
I enter "110"
100ms
Then
I close the keyboard by clicking outside
299ms
And
I wait for 6 seconds
6s 10ms
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
18ms
Then
I scroll element into center view
1s 9ms
And
I wait for 2 seconds
2s 16ms
And
I click on element
632ms
And
I wait for 4 seconds
4s 3ms
Given
"button" element with "text" "Calculate"
50ms
Then
I scroll element into center view
1s 17ms
And
I wait for 2 seconds
2s 7ms
And
I click on element
611ms
Given
"span" element with "text" "420"
18ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 8ms
Then
"span" element with "text" "420" should be visible
17ms