Given
I visit "http://localhost:3000/"
6s 561ms
And
I feature toggle "WEB_MODERNISATION" to "true"
14ms
And
I wait for 1 seconds
1s 15ms
Given
"button" element with "class" "size-12"
155ms
Then
I scroll element into center view
1s 39ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
788ms
Then
"span" element with "text" "Calculators" should be visible
301ms
When
I click on element
627ms
And
I wait for 1 seconds
1s 4ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 9ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
24ms
When
I click on element
630ms
Then
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Tobramycin"
36ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 8ms
When
I click on element
649ms
Given
"button" element with "aria-label" "Male"
24ms
And
I wait for 1 seconds
1s 5ms
And
I scroll to element
11ms
And
I click on element
616ms
Given
"input" element with "id" "abx-height"
49ms
When
I enter "185"
61ms
Given
"input" element with "id" "ag-weight"
20ms
When
I enter "75"
51ms
Given
"input" element with "id" "ag-age"
22ms
When
I enter "50"
189ms
Given
"input" element with "id" "calc-creatinine"
104ms
When
I enter "110"
246ms
Then
I close the keyboard by clicking outside
297ms
And
I wait for 6 seconds
6s 5ms
When
I scroll down the window for 60px
12ms
Given
"button" element with "text" "Yes"
105ms
Then
I scroll element into center view
1s 51ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
604ms
And
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Calculate"
22ms
Then
I scroll element into center view
1s 9ms
And
I wait for 2 seconds
2s 15ms
And
I click on element
625ms
Given
"span" element with "text" "420"
19ms
Then
I scroll element into center view
1s 8ms
And
I wait for 1 seconds
1s 12ms
Then
"span" element with "text" "420" should be visible
97ms