Given
I visit "http://localhost:3000/"
5s 546ms
And
I feature toggle "WEB_MODERNISATION" to "true"
17ms
And
I wait for 1 seconds
1s 9ms
Given
"button" element with "class" "size-12"
37ms
Then
I scroll element into center view
1s 15ms
And
I wait for 1 seconds
1s 2ms
When
I click on element
2s 215ms
Then
"span" element with "text" "Calculators" should be visible
308ms
When
I click on element
854ms
And
I wait for 1 seconds
1s 16ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 11ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
42ms
When
I click on element
732ms
Then
I wait for 4 seconds
4s 23ms
Given
"button" element with "text" "Tobramycin"
22ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 10ms
When
I click on element
667ms
Given
"button" element with "aria-label" "Male"
46ms
And
I wait for 1 seconds
1s 14ms
And
I scroll to element
12ms
And
I click on element
602ms
Given
"input" element with "id" "abx-height"
43ms
When
I enter "185"
59ms
Given
"input" element with "id" "ag-weight"
22ms
When
I enter "75"
52ms
Given
"input" element with "id" "ag-age"
19ms
When
I enter "50"
46ms
Given
"input" element with "id" "calc-creatinine"
19ms
When
I enter "110"
52ms
Then
I close the keyboard by clicking outside
270ms
And
I wait for 6 seconds
6s 4ms
When
I scroll down the window for 60px
9ms
Given
"button" element with "text" "Yes"
36ms
Then
I scroll element into center view
1s 7ms
And
I wait for 2 seconds
2s 5ms
And
I click on element
629ms
And
I wait for 4 seconds
4s 12ms
Given
"button" element with "text" "Calculate"
45ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 12ms
And
I click on element
625ms
Given
"span" element with "text" "420"
21ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 14ms
Then
"span" element with "text" "420" should be visible
18ms