Given
I visit "http://localhost:3000/"
8s 777ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 1 seconds
1s 11ms
Then
"span" element with "text" "Calculators" should be visible
25ms
When
I click on element
782ms
And
I wait for 1 seconds
1s 1ms
And
I feature toggle "WEB_MODERNISATION" to "true"
10ms
And
I wait for 2 seconds
2s 15ms
Then
"a" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
20ms
When
I click on element
570ms
Then
I wait for 4 seconds
4s 2ms
Given
"button" element with "text" "Tobramycin"
25ms
Then
I scroll element into center view
1s 15ms
And
I wait for 1 seconds
1s 11ms
When
I click on element
562ms
Given
"button" element with "aria-label" "Male"
20ms
And
I wait for 1 seconds
1s 7ms
And
I scroll to element
12ms
And
I click on element
563ms
Given
"input" element with "id" "abx-height"
30ms
When
I enter "185"
78ms
Given
"input" element with "id" "ag-weight"
22ms
When
I enter "75"
57ms
Given
"input" element with "id" "ag-age"
20ms
When
I enter "50"
46ms
Given
"input" element with "id" "calc-creatinine"
20ms
When
I enter "110"
48ms
Then
I close the keyboard by clicking outside
131ms
And
I wait for 6 seconds
6s 2ms
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
21ms
Then
I scroll element into center view
1s 16ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
580ms
And
I wait for 4 seconds
4s 15ms
Given
"button" element with "text" "Calculate"
24ms
Then
I scroll element into center view
1s 10ms
And
I wait for 2 seconds
2s 4ms
And
I click on element
567ms
Given
"span" element with "text" "420"
25ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 16ms
Then
"span" element with "text" "420" should be visible
165ms