Given
I visit "http://localhost:3000/"
3s 691ms
And
I feature toggle "WEB_MODERNISATION" to "true"
15ms
And
I wait for 1 seconds
1s 2ms
Given
"button" element with "class" "size-12"
3s 433ms
Then
I scroll element into center view
1s 6ms
And
I wait for 1 seconds
1s
When
I click on element
642ms
Then
"span" element with "text" "Calculators" should be visible
253ms
When
I click on element
613ms
And
I wait for 4 seconds
4s
And
I feature toggle "WEB_MODERNISATION" to "true"
12ms
And
I wait for 2 seconds
2s 2ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
123ms
When
I click on element
620ms
Then
I wait for 4 seconds
4s
Given
"button" element with "text" "Amikacin"
19ms
Then
I scroll element into center view
1s 5ms
And
I wait for 1 seconds
1s 1ms
When
I click on element
602ms
Given
"button" element with "aria-label" "Male"
22ms
And
I wait for 1 seconds
1s 12ms
And
I scroll to element
11ms
And
I click on element
601ms
Given
"input" element with "id" "abx-height"
17ms
When
I enter "185"
65ms
Given
"input" element with "id" "ag-weight"
19ms
When
I enter "90"
62ms
Given
"input" element with "id" "ag-age"
20ms
When
I enter "50"
45ms
Given
"input" element with "id" "calc-creatinine"
53ms
When
I enter "110"
54ms
And
I wait for 2 seconds
2s
Then
I close the keyboard by clicking outside
246ms
And
I wait for 6 seconds
6s
When
I scroll down the window for 60px
5ms
And
I wait for 2 seconds
2s
Given
"button" element with "text" "Yes"
23ms
And
I wait for 1 seconds
1s 1ms
And
I scroll to element
19ms
And
I click on element
609ms
Then
I wait for 4 seconds
4s 14ms
Given
"button" element with "text" "Calculate"
17ms
And
I wait for 1 seconds
1s 1ms
And
I click on element
619ms
Then
"span" element with "text" "2000" should be visible
20ms