Given
I visit "http://localhost:3000/"
7s 446ms
And
I feature toggle "WEB_MODERNISATION" to "true"
17ms
And
I wait for 1 seconds
1s 8ms
Given
"button" element with "class" "size-12"
21ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
650ms
Then
"span" element with "text" "Calculators" should be visible
242ms
When
I click on element
610ms
And
I wait for 1 seconds
1s 9ms
And
I feature toggle "WEB_MODERNISATION" to "true"
61ms
And
I wait for 2 seconds
2s 7ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
17ms
When
I click on element
627ms
Then
I wait for 4 seconds
4s 14ms
Given
"button" element with "text" "Tobramycin"
31ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 5ms
When
I click on element
618ms
Given
"button" element with "aria-label" "Male"
19ms
And
I wait for 1 seconds
1s 1ms
And
I scroll to element
10ms
And
I click on element
600ms
Given
"input" element with "id" "abx-height"
18ms
When
I enter "185"
60ms
Given
"input" element with "id" "ag-weight"
18ms
When
I enter "75"
58ms
Given
"input" element with "id" "ag-age"
21ms
When
I enter "50"
42ms
Given
"input" element with "id" "calc-creatinine"
19ms
When
I enter "110"
48ms
Then
I close the keyboard by clicking outside
302ms
And
I wait for 6 seconds
6s 2ms
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
37ms
Then
I scroll element into center view
1s 26ms
And
I wait for 2 seconds
2s 15ms
And
I click on element
607ms
And
I wait for 4 seconds
4s 5ms
Given
"button" element with "text" "Calculate"
29ms
Then
I scroll element into center view
1s 6ms
And
I wait for 2 seconds
2s 2ms
And
I click on element
668ms
Given
"span" element with "text" "420"
24ms
Then
I scroll element into center view
1s 15ms
And
I wait for 1 seconds
1s 8ms
Then
"span" element with "text" "420" should be visible
28ms