Given
I visit "http://localhost:3000/"
4s 923ms
And
I feature toggle "WEB_MODERNISATION" to "true"
13ms
And
I wait for 1 seconds
1s 8ms
Given
"button" element with "class" "size-12"
24ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 14ms
When
I click on element
685ms
Then
"span" element with "text" "Calculators" should be visible
358ms
When
I click on element
673ms
And
I wait for 1 seconds
1s 15ms
And
I feature toggle "WEB_MODERNISATION" to "true"
12ms
And
I wait for 2 seconds
2s 11ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
24ms
When
I click on element
801ms
Then
I wait for 4 seconds
4s 2ms
Given
"button" element with "text" "Tobramycin"
57ms
Then
I scroll element into center view
1s 21ms
And
I wait for 1 seconds
1s 1ms
When
I click on element
658ms
Given
"button" element with "aria-label" "Male"
45ms
And
I wait for 1 seconds
1s 6ms
And
I scroll to element
13ms
And
I click on element
621ms
Given
"input" element with "id" "abx-height"
19ms
When
I enter "185"
63ms
Given
"input" element with "id" "ag-weight"
21ms
When
I enter "75"
48ms
Given
"input" element with "id" "ag-age"
32ms
When
I enter "50"
50ms
Given
"input" element with "id" "calc-creatinine"
20ms
When
I enter "110"
55ms
Then
I close the keyboard by clicking outside
292ms
And
I wait for 6 seconds
6s 7ms
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
19ms
Then
I scroll element into center view
1s 8ms
And
I wait for 2 seconds
2s 15ms
And
I click on element
703ms
And
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Calculate"
168ms
Then
I scroll element into center view
1s 33ms
And
I wait for 2 seconds
2s 10ms
And
I click on element
631ms
Given
"span" element with "text" "420"
24ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 4ms
Then
"span" element with "text" "420" should be visible
89ms