Given
I visit "http://localhost:3000/"
5s 37ms
And
I feature toggle "WEB_MODERNISATION" to "true"
38ms
And
I wait for 1 seconds
1s 4ms
Given
"button" element with "class" "size-12"
32ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 8ms
When
I click on element
671ms
Then
"span" element with "text" "Calculators" should be visible
315ms
When
I click on element
709ms
And
I wait for 1 seconds
1s
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 6ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
44ms
When
I click on element
812ms
Then
I wait for 4 seconds
4s 22ms
Given
"button" element with "text" "Tobramycin"
26ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 16ms
When
I click on element
653ms
Given
"button" element with "aria-label" "Male"
30ms
And
I wait for 1 seconds
1s
And
I scroll to element
58ms
And
I click on element
617ms
Given
"input" element with "id" "abx-height"
22ms
When
I enter "185"
92ms
Given
"input" element with "id" "ag-weight"
22ms
When
I enter "75"
64ms
Given
"input" element with "id" "ag-age"
25ms
When
I enter "50"
53ms
Given
"input" element with "id" "calc-creatinine"
22ms
When
I enter "110"
123ms
Then
I close the keyboard by clicking outside
293ms
And
I wait for 6 seconds
6s 11ms
When
I scroll down the window for 60px
5ms
Given
"button" element with "text" "Yes"
21ms
Then
I scroll element into center view
1s 15ms
And
I wait for 2 seconds
2s 12ms
And
I click on element
616ms
And
I wait for 4 seconds
4s 4ms
Given
"button" element with "text" "Calculate"
26ms
Then
I scroll element into center view
1s 15ms
And
I wait for 2 seconds
2s 1ms
And
I click on element
684ms
Given
"span" element with "text" "420"
23ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 9ms
Then
"span" element with "text" "420" should be visible
73ms