Given
I visit "http://localhost:3000/"
5s 81ms
And
I feature toggle "WEB_MODERNISATION" to "true"
13ms
And
I wait for 1 seconds
1s 5ms
Given
"button" element with "class" "size-12"
62ms
Then
I scroll element into center view
1s 26ms
And
I wait for 1 seconds
1s 9ms
When
I click on element
673ms
Then
"span" element with "text" "Calculators" should be visible
246ms
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 3ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
32ms
When
I click on element
814ms
Then
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Tobramycin"
87ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 15ms
When
I click on element
620ms
Given
"button" element with "aria-label" "Male"
23ms
And
I wait for 1 seconds
1s 12ms
And
I scroll to element
41ms
And
I click on element
648ms
Given
"input" element with "id" "abx-height"
25ms
When
I enter "185"
74ms
Given
"input" element with "id" "ag-weight"
22ms
When
I enter "75"
83ms
Given
"input" element with "id" "ag-age"
34ms
When
I enter "50"
64ms
Given
"input" element with "id" "calc-creatinine"
54ms
When
I enter "110"
105ms
Then
I close the keyboard by clicking outside
275ms
And
I wait for 6 seconds
6s 5ms
When
I scroll down the window for 60px
8ms
Given
"button" element with "text" "Yes"
171ms
Then
I scroll element into center view
1s 25ms
And
I wait for 2 seconds
2s 8ms
And
I click on element
596ms
And
I wait for 4 seconds
4s 14ms
Given
"button" element with "text" "Calculate"
40ms
Then
I scroll element into center view
1s 18ms
And
I wait for 2 seconds
2s 11ms
And
I click on element
629ms
Given
"span" element with "text" "420"
27ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 18ms
Then
"span" element with "text" "420" should be visible
45ms