Given
I visit "http://localhost:3000/"
5s 37ms
And
I feature toggle "WEB_MODERNISATION" to "true"
28ms
And
I wait for 1 seconds
1s 11ms
Given
"button" element with "class" "size-12"
66ms
Then
I scroll element into center view
1s 27ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
685ms
Then
"span" element with "text" "Calculators" should be visible
389ms
When
I click on element
865ms
And
I wait for 1 seconds
1s 14ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 15ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
220ms
When
I click on element
657ms
Then
I wait for 4 seconds
4s 9ms
Given
"button" element with "text" "Tobramycin"
25ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 1ms
When
I click on element
642ms
Given
"button" element with "aria-label" "Male"
31ms
And
I wait for 1 seconds
1s 6ms
And
I scroll to element
63ms
And
I click on element
598ms
Given
"input" element with "id" "abx-height"
20ms
When
I enter "185"
64ms
Given
"input" element with "id" "ag-weight"
19ms
When
I enter "75"
59ms
Given
"input" element with "id" "ag-age"
21ms
When
I enter "50"
45ms
Given
"input" element with "id" "calc-creatinine"
20ms
When
I enter "110"
57ms
Then
I close the keyboard by clicking outside
275ms
And
I wait for 6 seconds
6s 14ms
When
I scroll down the window for 60px
7ms
Given
"button" element with "text" "Yes"
80ms
Then
I scroll element into center view
1s 21ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
695ms
And
I wait for 4 seconds
4s 8ms
Given
"button" element with "text" "Calculate"
32ms
Then
I scroll element into center view
1s 12ms
And
I wait for 2 seconds
2s 6ms
And
I click on element
702ms
Given
"span" element with "text" "420"
23ms
Then
I scroll element into center view
1s 6ms
And
I wait for 1 seconds
1s 8ms
Then
"span" element with "text" "420" should be visible
213ms