Given
I visit "http://localhost:3000/"
4s
And
I feature toggle "WEB_MODERNISATION" to "true"
12ms
And
I wait for 1 seconds
1s 9ms
Given
"button" element with "class" "size-12"
43ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 15ms
When
I click on element
716ms
Then
"span" element with "text" "Calculators" should be visible
281ms
When
I click on element
623ms
And
I wait for 1 seconds
1s 4ms
And
I feature toggle "WEB_MODERNISATION" to "true"
10ms
And
I wait for 2 seconds
2s 8ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
27ms
When
I click on element
666ms
Then
I wait for 4 seconds
4s 17ms
Given
"button" element with "text" "Tobramycin"
60ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 12ms
When
I click on element
657ms
Given
"button" element with "aria-label" "Male"
60ms
And
I wait for 1 seconds
1s 8ms
And
I scroll to element
10ms
And
I click on element
647ms
Given
"input" element with "id" "abx-height"
27ms
When
I enter "185"
89ms
Given
"input" element with "id" "ag-weight"
31ms
When
I enter "75"
124ms
Given
"input" element with "id" "ag-age"
70ms
When
I enter "50"
182ms
Given
"input" element with "id" "calc-creatinine"
42ms
When
I enter "110"
162ms
Then
I close the keyboard by clicking outside
335ms
And
I wait for 6 seconds
6s 16ms
When
I scroll down the window for 60px
14ms
Given
"button" element with "text" "Yes"
39ms
Then
I scroll element into center view
1s 21ms
And
I wait for 2 seconds
2s 3ms
And
I click on element
600ms
And
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Calculate"
19ms
Then
I scroll element into center view
1s 7ms
And
I wait for 2 seconds
2s 15ms
And
I click on element
645ms
Given
"span" element with "text" "420"
54ms
Then
I scroll element into center view
1s 8ms
And
I wait for 1 seconds
1s 16ms
Then
"span" element with "text" "420" should be visible
14ms