Given
I visit "http://localhost:3000/"
3s 934ms
And
I feature toggle "WEB_MODERNISATION" to "true"
29ms
And
I wait for 1 seconds
1s
Given
"button" element with "class" "size-12"
68ms
Then
I scroll element into center view
1s 20ms
And
I wait for 1 seconds
1s 14ms
When
I click on element
714ms
Then
"span" element with "text" "Calculators" should be visible
255ms
When
I click on element
672ms
And
I wait for 1 seconds
1s 13ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
41ms
When
I click on element
649ms
Then
I wait for 4 seconds
4s 27ms
Given
"button" element with "text" "Tobramycin"
36ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 10ms
When
I click on element
653ms
Given
"button" element with "aria-label" "Male"
39ms
And
I wait for 1 seconds
1s 9ms
And
I scroll to element
14ms
And
I click on element
735ms
Given
"input" element with "id" "abx-height"
50ms
When
I enter "185"
96ms
Given
"input" element with "id" "ag-weight"
28ms
When
I enter "75"
67ms
Given
"input" element with "id" "ag-age"
44ms
When
I enter "50"
59ms
Given
"input" element with "id" "calc-creatinine"
27ms
When
I enter "110"
73ms
Then
I close the keyboard by clicking outside
269ms
And
I wait for 6 seconds
6s 15ms
When
I scroll down the window for 60px
32ms
Given
"button" element with "text" "Yes"
96ms
Then
I scroll element into center view
1s 13ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
942ms
And
I wait for 4 seconds
4s 2ms
Given
"button" element with "text" "Calculate"
24ms
Then
I scroll element into center view
1s 18ms
And
I wait for 2 seconds
2s 15ms
And
I click on element
690ms
Given
"span" element with "text" "420"
24ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 9ms
Then
"span" element with "text" "420" should be visible
47ms