Given
I visit "http://localhost:3000/"
5s 14ms
And
I feature toggle "WEB_MODERNISATION" to "true"
15ms
And
I wait for 1 seconds
1s 13ms
Given
"button" element with "class" "size-12"
38ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
647ms
Then
"span" element with "text" "Calculators" should be visible
251ms
When
I click on element
610ms
And
I wait for 1 seconds
1s
And
I feature toggle "WEB_MODERNISATION" to "true"
6ms
And
I wait for 2 seconds
2s 3ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
18ms
When
I click on element
623ms
Then
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Tobramycin"
90ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 11ms
When
I click on element
645ms
Given
"button" element with "aria-label" "Male"
24ms
And
I wait for 1 seconds
1s 4ms
And
I scroll to element
11ms
And
I click on element
591ms
Given
"input" element with "id" "abx-height"
19ms
When
I enter "185"
59ms
Given
"input" element with "id" "ag-weight"
20ms
When
I enter "75"
62ms
Given
"input" element with "id" "ag-age"
21ms
When
I enter "50"
52ms
Given
"input" element with "id" "calc-creatinine"
21ms
When
I enter "110"
59ms
Then
I close the keyboard by clicking outside
252ms
And
I wait for 6 seconds
6s 8ms
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
38ms
Then
I scroll element into center view
1s 11ms
And
I wait for 2 seconds
2s 8ms
And
I click on element
612ms
And
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Calculate"
26ms
Then
I scroll element into center view
1s 23ms
And
I wait for 2 seconds
2s 4ms
And
I click on element
618ms
Given
"span" element with "text" "420"
35ms
Then
I scroll element into center view
1s 25ms
And
I wait for 1 seconds
1s 3ms
Then
"span" element with "text" "420" should be visible
18ms