Given
I visit "http://localhost:3000/"
3s 287ms
And
I feature toggle "WEB_MODERNISATION" to "true"
34ms
And
I wait for 1 seconds
1s 11ms
Given
"button" element with "class" "size-12"
76ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s 1ms
When
I click on element
659ms
Then
"span" element with "text" "Calculators" should be visible
290ms
When
I click on element
687ms
And
I wait for 1 seconds
1s 9ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 15ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
59ms
When
I click on element
711ms
Then
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Tobramycin"
33ms
Then
I scroll element into center view
1s 6ms
And
I wait for 1 seconds
1s 9ms
When
I click on element
614ms
Given
"button" element with "aria-label" "Male"
21ms
And
I wait for 1 seconds
1s 13ms
And
I scroll to element
15ms
And
I click on element
677ms
Given
"input" element with "id" "abx-height"
156ms
When
I enter "185"
124ms
Given
"input" element with "id" "ag-weight"
50ms
When
I enter "75"
94ms
Given
"input" element with "id" "ag-age"
33ms
When
I enter "50"
98ms
Given
"input" element with "id" "calc-creatinine"
24ms
When
I enter "110"
60ms
Then
I close the keyboard by clicking outside
285ms
And
I wait for 6 seconds
6s 3ms
When
I scroll down the window for 60px
21ms
Given
"button" element with "text" "Yes"
83ms
Then
I scroll element into center view
1s 12ms
And
I wait for 2 seconds
2s 2ms
And
I click on element
618ms
And
I wait for 4 seconds
4s 8ms
Given
"button" element with "text" "Calculate"
112ms
Then
I scroll element into center view
1s 68ms
And
I wait for 2 seconds
2s 7ms
And
I click on element
653ms
Given
"span" element with "text" "420"
19ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s 17ms
Then
"span" element with "text" "420" should be visible
35ms