Given
I visit "http://localhost:3000/"
5s 344ms
And
I feature toggle "WEB_MODERNISATION" to "true"
18ms
And
I wait for 1 seconds
1s 5ms
Given
"button" element with "class" "size-12"
35ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 7ms
When
I click on element
674ms
Then
"span" element with "text" "Calculators" should be visible
245ms
When
I click on element
625ms
And
I wait for 1 seconds
1s 7ms
And
I feature toggle "WEB_MODERNISATION" to "true"
8ms
And
I wait for 2 seconds
2s 11ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
73ms
When
I click on element
647ms
Then
I wait for 4 seconds
4s 8ms
Given
"button" element with "text" "Tobramycin"
24ms
Then
I scroll element into center view
1s 8ms
And
I wait for 1 seconds
1s 15ms
When
I click on element
605ms
Given
"button" element with "aria-label" "Male"
21ms
And
I wait for 1 seconds
1s 1ms
And
I scroll to element
10ms
And
I click on element
650ms
Given
"input" element with "id" "abx-height"
25ms
When
I enter "185"
75ms
Given
"input" element with "id" "ag-weight"
63ms
When
I enter "75"
64ms
Given
"input" element with "id" "ag-age"
20ms
When
I enter "50"
55ms
Given
"input" element with "id" "calc-creatinine"
21ms
When
I enter "110"
56ms
Then
I close the keyboard by clicking outside
267ms
And
I wait for 6 seconds
6s 5ms
When
I scroll down the window for 60px
7ms
Given
"button" element with "text" "Yes"
26ms
Then
I scroll element into center view
1s 15ms
And
I wait for 2 seconds
2s 12ms
And
I click on element
635ms
And
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Calculate"
32ms
Then
I scroll element into center view
1s 17ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
648ms
Given
"span" element with "text" "420"
36ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 5ms
Then
"span" element with "text" "420" should be visible
18ms