Given
I visit "http://localhost:3000/"
2s 880ms
And
I feature toggle "WEB_MODERNISATION" to "true"
37ms
And
I wait for 1 seconds
1s 14ms
Given
"button" element with "class" "size-12"
33ms
Then
I scroll element into center view
1s 29ms
And
I wait for 1 seconds
1s 9ms
When
I click on element
746ms
Then
"span" element with "text" "Calculators" should be visible
280ms
When
I click on element
620ms
And
I wait for 1 seconds
1s 6ms
And
I feature toggle "WEB_MODERNISATION" to "true"
23ms
And
I wait for 2 seconds
2s 14ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
23ms
When
I click on element
640ms
Then
I wait for 4 seconds
4s 9ms
Given
"button" element with "text" "Tobramycin"
26ms
Then
I scroll element into center view
1s 26ms
And
I wait for 1 seconds
1s 11ms
When
I click on element
613ms
Given
"button" element with "aria-label" "Male"
23ms
And
I wait for 1 seconds
1s 10ms
And
I scroll to element
11ms
And
I click on element
630ms
Given
"input" element with "id" "abx-height"
19ms
When
I enter "185"
61ms
Given
"input" element with "id" "ag-weight"
28ms
When
I enter "75"
89ms
Given
"input" element with "id" "ag-age"
19ms
When
I enter "50"
47ms
Given
"input" element with "id" "calc-creatinine"
19ms
When
I enter "110"
51ms
Then
I close the keyboard by clicking outside
285ms
And
I wait for 6 seconds
6s 5ms
When
I scroll down the window for 60px
19ms
Given
"button" element with "text" "Yes"
83ms
Then
I scroll element into center view
1s 21ms
And
I wait for 2 seconds
2s 3ms
And
I click on element
598ms
And
I wait for 4 seconds
4s 6ms
Given
"button" element with "text" "Calculate"
45ms
Then
I scroll element into center view
1s 12ms
And
I wait for 2 seconds
2s 15ms
And
I click on element
650ms
Given
"span" element with "text" "420"
32ms
Then
I scroll element into center view
1s 10ms
And
I wait for 1 seconds
1s 5ms
Then
"span" element with "text" "420" should be visible
41ms