Given
I visit "http://localhost:3000/"
6s 74ms
And
I feature toggle "WEB_MODERNISATION" to "true"
12ms
And
I wait for 1 seconds
1s 7ms
Given
"button" element with "class" "size-12"
26ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
668ms
Then
"span" element with "text" "Calculators" should be visible
238ms
When
I click on element
634ms
And
I wait for 1 seconds
1s 2ms
And
I feature toggle "WEB_MODERNISATION" to "true"
12ms
And
I wait for 2 seconds
2s 10ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
38ms
When
I click on element
667ms
Then
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Tobramycin"
36ms
Then
I scroll element into center view
1s 15ms
And
I wait for 1 seconds
1s 9ms
When
I click on element
663ms
Given
"button" element with "aria-label" "Male"
30ms
And
I wait for 1 seconds
1s 12ms
And
I scroll to element
13ms
And
I click on element
624ms
Given
"input" element with "id" "abx-height"
31ms
When
I enter "185"
72ms
Given
"input" element with "id" "ag-weight"
26ms
When
I enter "75"
63ms
Given
"input" element with "id" "ag-age"
21ms
When
I enter "50"
51ms
Given
"input" element with "id" "calc-creatinine"
38ms
When
I enter "110"
68ms
Then
I close the keyboard by clicking outside
271ms
And
I wait for 6 seconds
6s 4ms
When
I scroll down the window for 60px
68ms
Given
"button" element with "text" "Yes"
74ms
Then
I scroll element into center view
1s 17ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
660ms
And
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Calculate"
22ms
Then
I scroll element into center view
1s 5ms
And
I wait for 2 seconds
2s 5ms
And
I click on element
695ms
Given
"span" element with "text" "420"
25ms
Then
I scroll element into center view
1s 11ms
And
I wait for 1 seconds
1s 13ms
Then
"span" element with "text" "420" should be visible
24ms