Given
I visit "http://localhost:3000/"
3s 341ms
And
I feature toggle "WEB_MODERNISATION" to "true"
71ms
And
I wait for 1 seconds
1s 14ms
Given
"button" element with "class" "size-12"
24ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 8ms
When
I click on element
657ms
Then
"span" element with "text" "Calculators" should be visible
246ms
When
I click on element
661ms
And
I wait for 1 seconds
1s 9ms
And
I feature toggle "WEB_MODERNISATION" to "true"
10ms
And
I wait for 2 seconds
2s 4ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
21ms
When
I click on element
669ms
Then
I wait for 4 seconds
4s
Given
"button" element with "text" "Tobramycin"
32ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 14ms
When
I click on element
617ms
Given
"button" element with "aria-label" "Male"
38ms
And
I wait for 1 seconds
1s 2ms
And
I scroll to element
14ms
And
I click on element
654ms
Given
"input" element with "id" "abx-height"
19ms
When
I enter "185"
110ms
Given
"input" element with "id" "ag-weight"
22ms
When
I enter "75"
73ms
Given
"input" element with "id" "ag-age"
20ms
When
I enter "50"
56ms
Given
"input" element with "id" "calc-creatinine"
20ms
When
I enter "110"
62ms
Then
I close the keyboard by clicking outside
290ms
And
I wait for 6 seconds
6s 14ms
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
21ms
Then
I scroll element into center view
1s 19ms
And
I wait for 2 seconds
2s 13ms
And
I click on element
648ms
And
I wait for 4 seconds
4s 14ms
Given
"button" element with "text" "Calculate"
18ms
Then
I scroll element into center view
1s 6ms
And
I wait for 2 seconds
2s 4ms
And
I click on element
633ms
Given
"span" element with "text" "420"
25ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 4ms
Then
"span" element with "text" "420" should be visible
29ms