Given
I visit "http://localhost:3000/"
4s 603ms
And
I feature toggle "WEB_MODERNISATION" to "true"
29ms
And
I wait for 1 seconds
1s 1ms
Given
"button" element with "class" "size-12"
44ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s
When
I click on element
726ms
Then
"span" element with "text" "Calculators" should be visible
264ms
When
I click on element
644ms
And
I wait for 1 seconds
1s 4ms
And
I feature toggle "WEB_MODERNISATION" to "true"
14ms
And
I wait for 2 seconds
2s 3ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
21ms
When
I click on element
622ms
Then
I wait for 4 seconds
4s 4ms
Given
"button" element with "text" "Tobramycin"
20ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 12ms
When
I click on element
801ms
Given
"button" element with "aria-label" "Male"
74ms
And
I wait for 1 seconds
1s 4ms
And
I scroll to element
29ms
And
I click on element
704ms
Given
"input" element with "id" "abx-height"
29ms
When
I enter "185"
94ms
Given
"input" element with "id" "ag-weight"
57ms
When
I enter "75"
172ms
Given
"input" element with "id" "ag-age"
47ms
When
I enter "50"
72ms
Given
"input" element with "id" "calc-creatinine"
29ms
When
I enter "110"
68ms
Then
I close the keyboard by clicking outside
266ms
And
I wait for 6 seconds
6s 10ms
When
I scroll down the window for 60px
7ms
Given
"button" element with "text" "Yes"
43ms
Then
I scroll element into center view
1s 10ms
And
I wait for 2 seconds
2s 8ms
And
I click on element
736ms
And
I wait for 4 seconds
4s 11ms
Given
"button" element with "text" "Calculate"
23ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 11ms
And
I click on element
621ms
Given
"span" element with "text" "420"
22ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 13ms
Then
"span" element with "text" "420" should be visible
37ms