Given
I visit "http://localhost:3000/"
6s 383ms
And
I feature toggle "WEB_MODERNISATION" to "true"
33ms
And
I wait for 1 seconds
1s 6ms
Then
"span" element with "text" "Calculators" should be visible
23ms
When
I click on element
779ms
And
I wait for 1 seconds
1s 7ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 2 seconds
2s 26ms
Then
"a" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
39ms
When
I click on element
586ms
Then
I wait for 4 seconds
4s 7ms
Given
"button" element with "text" "Tobramycin"
21ms
Then
I scroll element into center view
1s 29ms
And
I wait for 1 seconds
1s 21ms
When
I click on element
578ms
Given
"button" element with "aria-label" "Male"
31ms
And
I wait for 1 seconds
1s 6ms
And
I scroll to element
17ms
And
I click on element
618ms
Given
"input" element with "id" "abx-height"
28ms
When
I enter "185"
114ms
Given
"input" element with "id" "ag-weight"
25ms
When
I enter "75"
78ms
Given
"input" element with "id" "ag-age"
63ms
When
I enter "50"
97ms
Given
"input" element with "id" "calc-creatinine"
42ms
When
I enter "110"
127ms
Then
I close the keyboard by clicking outside
227ms
And
I wait for 6 seconds
6s 13ms
When
I scroll down the window for 60px
5ms
Given
"button" element with "text" "Yes"
18ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 9ms
And
I click on element
574ms
And
I wait for 4 seconds
4s 4ms
Given
"button" element with "text" "Calculate"
42ms
Then
I scroll element into center view
1s 12ms
And
I wait for 2 seconds
2s 4ms
And
I click on element
566ms
Given
"span" element with "text" "420"
19ms
Then
I scroll element into center view
1s 11ms
And
I wait for 1 seconds
1s 13ms
Then
"span" element with "text" "420" should be visible
20ms