Given
I visit "http://localhost:3000/"
4s 137ms
And
I feature toggle "WEB_MODERNISATION" to "true"
13ms
And
I wait for 1 seconds
1s 8ms
Then
"span" element with "text" "Calculators" should be visible
80ms
When
I click on element
613ms
And
I wait for 1 seconds
1s 3ms
And
I feature toggle "WEB_MODERNISATION" to "true"
16ms
And
I wait for 2 seconds
2s 7ms
Then
"a" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
18ms
When
I click on element
649ms
Then
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Tobramycin"
22ms
Then
I scroll element into center view
1s 20ms
And
I wait for 1 seconds
1s 4ms
When
I click on element
648ms
Given
"button" element with "aria-label" "Male"
37ms
And
I wait for 1 seconds
1s 1ms
And
I scroll to element
15ms
And
I click on element
558ms
Given
"input" element with "id" "abx-height"
21ms
When
I enter "185"
70ms
Given
"input" element with "id" "ag-weight"
29ms
When
I enter "75"
89ms
Given
"input" element with "id" "ag-age"
29ms
When
I enter "50"
81ms
Given
"input" element with "id" "calc-creatinine"
46ms
When
I enter "110"
132ms
Then
I close the keyboard by clicking outside
155ms
And
I wait for 6 seconds
6s 27ms
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
29ms
Then
I scroll element into center view
1s 23ms
And
I wait for 2 seconds
2s 1ms
And
I click on element
606ms
And
I wait for 4 seconds
4s 14ms
Given
"button" element with "text" "Calculate"
41ms
Then
I scroll element into center view
1s 13ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
570ms
Given
"span" element with "text" "420"
18ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 4ms
Then
"span" element with "text" "420" should be visible
18ms