Given
I visit "http://localhost:3000/"
3s 306ms
And
I feature toggle "WEB_MODERNISATION" to "true"
16ms
And
I wait for 1 seconds
1s 8ms
Given
"button" element with "class" "size-12"
44ms
Then
I scroll element into center view
1s 31ms
And
I wait for 1 seconds
1s 1ms
When
I click on element
648ms
Then
"span" element with "text" "Calculators" should be visible
248ms
When
I click on element
618ms
And
I wait for 1 seconds
1s 1ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 15ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
32ms
When
I click on element
645ms
Then
I wait for 4 seconds
4s 24ms
Given
"button" element with "text" "Tobramycin"
17ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 12ms
When
I click on element
608ms
Given
"button" element with "aria-label" "Male"
21ms
And
I wait for 1 seconds
1s 14ms
And
I scroll to element
11ms
And
I click on element
625ms
Given
"input" element with "id" "abx-height"
23ms
When
I enter "185"
76ms
Given
"input" element with "id" "ag-weight"
21ms
When
I enter "75"
68ms
Given
"input" element with "id" "ag-age"
20ms
When
I enter "50"
49ms
Given
"input" element with "id" "calc-creatinine"
25ms
When
I enter "110"
57ms
Then
I close the keyboard by clicking outside
267ms
And
I wait for 6 seconds
6s 6ms
When
I scroll down the window for 60px
19ms
Given
"button" element with "text" "Yes"
21ms
Then
I scroll element into center view
1s 15ms
And
I wait for 2 seconds
2s 6ms
And
I click on element
601ms
And
I wait for 4 seconds
4s 14ms
Given
"button" element with "text" "Calculate"
18ms
Then
I scroll element into center view
1s 5ms
And
I wait for 2 seconds
2s 2ms
And
I click on element
619ms
Given
"span" element with "text" "420"
20ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 3ms
Then
"span" element with "text" "420" should be visible
15ms