Given
I visit "http://localhost:3000/"
4s 198ms
And
I feature toggle "WEB_MODERNISATION" to "true"
30ms
And
I wait for 1 seconds
1s 2ms
Given
"button" element with "class" "size-12"
65ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 15ms
When
I click on element
659ms
Then
"span" element with "text" "Calculators" should be visible
284ms
When
I click on element
608ms
And
I wait for 1 seconds
1s 9ms
And
I feature toggle "WEB_MODERNISATION" to "true"
70ms
And
I wait for 2 seconds
2s 12ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
33ms
When
I click on element
687ms
Then
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Tobramycin"
86ms
Then
I scroll element into center view
1s 21ms
And
I wait for 1 seconds
1s
When
I click on element
605ms
Given
"button" element with "aria-label" "Male"
18ms
And
I wait for 1 seconds
1s 1ms
And
I scroll to element
17ms
And
I click on element
631ms
Given
"input" element with "id" "abx-height"
24ms
When
I enter "185"
75ms
Given
"input" element with "id" "ag-weight"
20ms
When
I enter "75"
70ms
Given
"input" element with "id" "ag-age"
24ms
When
I enter "50"
85ms
Given
"input" element with "id" "calc-creatinine"
29ms
When
I enter "110"
65ms
Then
I close the keyboard by clicking outside
269ms
And
I wait for 6 seconds
6s 10ms
When
I scroll down the window for 60px
5ms
Given
"button" element with "text" "Yes"
19ms
Then
I scroll element into center view
1s 6ms
And
I wait for 2 seconds
2s 3ms
And
I click on element
671ms
And
I wait for 4 seconds
4s 9ms
Given
"button" element with "text" "Calculate"
22ms
Then
I scroll element into center view
1s 13ms
And
I wait for 2 seconds
2s 4ms
And
I click on element
637ms
Given
"span" element with "text" "420"
27ms
Then
I scroll element into center view
1s 5ms
And
I wait for 1 seconds
1s 13ms
Then
"span" element with "text" "420" should be visible
33ms