Given
I visit "http://localhost:3000/"
4s 53ms
And
I feature toggle "WEB_MODERNISATION" to "true"
13ms
And
I wait for 1 seconds
1s 9ms
Given
"button" element with "class" "size-12"
36ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 15ms
When
I click on element
664ms
Then
"span" element with "text" "Calculators" should be visible
278ms
When
I click on element
785ms
And
I wait for 1 seconds
1s 6ms
And
I feature toggle "WEB_MODERNISATION" to "true"
38ms
And
I wait for 2 seconds
2s 16ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
20ms
When
I click on element
662ms
Then
I wait for 4 seconds
4s 15ms
Given
"button" element with "text" "Tobramycin"
39ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 6ms
When
I click on element
628ms
Given
"button" element with "aria-label" "Male"
28ms
And
I wait for 1 seconds
1s 13ms
And
I scroll to element
14ms
And
I click on element
674ms
Given
"input" element with "id" "abx-height"
24ms
When
I enter "185"
66ms
Given
"input" element with "id" "ag-weight"
22ms
When
I enter "75"
81ms
Given
"input" element with "id" "ag-age"
21ms
When
I enter "50"
48ms
Given
"input" element with "id" "calc-creatinine"
19ms
When
I enter "110"
52ms
Then
I close the keyboard by clicking outside
279ms
And
I wait for 6 seconds
6s 1ms
When
I scroll down the window for 60px
8ms
Given
"button" element with "text" "Yes"
34ms
Then
I scroll element into center view
1s 8ms
And
I wait for 2 seconds
2s 4ms
And
I click on element
756ms
And
I wait for 4 seconds
4s 14ms
Given
"button" element with "text" "Calculate"
55ms
Then
I scroll element into center view
1s 31ms
And
I wait for 2 seconds
2s 5ms
And
I click on element
640ms
Given
"span" element with "text" "420"
33ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 14ms
Then
"span" element with "text" "420" should be visible
16ms