Given
I visit "http://localhost:3000/"
6s 357ms
And
I feature toggle "WEB_MODERNISATION" to "true"
28ms
And
I wait for 1 seconds
1s 6ms
Given
"button" element with "class" "size-12"
22ms
Then
I scroll element into center view
1s 20ms
And
I wait for 1 seconds
1s 9ms
When
I click on element
664ms
Then
"span" element with "text" "Calculators" should be visible
250ms
When
I click on element
698ms
And
I wait for 1 seconds
1s 6ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 3ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
19ms
When
I click on element
645ms
Then
I wait for 4 seconds
4s 15ms
Given
"button" element with "text" "Tobramycin"
40ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
625ms
Given
"button" element with "aria-label" "Male"
55ms
And
I wait for 1 seconds
1s 1ms
And
I scroll to element
9ms
And
I click on element
623ms
Given
"input" element with "id" "abx-height"
22ms
When
I enter "185"
75ms
Given
"input" element with "id" "ag-weight"
27ms
When
I enter "75"
73ms
Given
"input" element with "id" "ag-age"
22ms
When
I enter "50"
57ms
Given
"input" element with "id" "calc-creatinine"
24ms
When
I enter "110"
61ms
Then
I close the keyboard by clicking outside
265ms
And
I wait for 6 seconds
6s 13ms
When
I scroll down the window for 60px
5ms
Given
"button" element with "text" "Yes"
19ms
Then
I scroll element into center view
1s 21ms
And
I wait for 2 seconds
2s 10ms
And
I click on element
641ms
And
I wait for 4 seconds
4s 8ms
Given
"button" element with "text" "Calculate"
21ms
Then
I scroll element into center view
1s 16ms
And
I wait for 2 seconds
2s
And
I click on element
625ms
Given
"span" element with "text" "420"
18ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 10ms
Then
"span" element with "text" "420" should be visible
20ms