Given
I visit "http://localhost:3000/"
4s 410ms
And
I feature toggle "WEB_MODERNISATION" to "true"
61ms
And
I wait for 1 seconds
1s 8ms
Given
"button" element with "class" "size-12"
38ms
Then
I scroll element into center view
1s 13ms
And
I wait for 1 seconds
1s 6ms
When
I click on element
722ms
Then
"span" element with "text" "Calculators" should be visible
318ms
When
I click on element
624ms
And
I wait for 1 seconds
1s 2ms
And
I feature toggle "WEB_MODERNISATION" to "true"
8ms
And
I wait for 2 seconds
2s 8ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
19ms
When
I click on element
669ms
Then
I wait for 4 seconds
4s 13ms
Given
"button" element with "text" "Tobramycin"
110ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 12ms
When
I click on element
653ms
Given
"button" element with "aria-label" "Male"
29ms
And
I wait for 1 seconds
1s 9ms
And
I scroll to element
13ms
And
I click on element
612ms
Given
"input" element with "id" "abx-height"
25ms
When
I enter "185"
88ms
Given
"input" element with "id" "ag-weight"
40ms
When
I enter "75"
79ms
Given
"input" element with "id" "ag-age"
29ms
When
I enter "50"
89ms
Given
"input" element with "id" "calc-creatinine"
37ms
When
I enter "110"
144ms
Then
I close the keyboard by clicking outside
299ms
And
I wait for 6 seconds
6s 14ms
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
20ms
Then
I scroll element into center view
1s 6ms
And
I wait for 2 seconds
2s 10ms
And
I click on element
612ms
And
I wait for 4 seconds
4s 13ms
Given
"button" element with "text" "Calculate"
65ms
Then
I scroll element into center view
1s 5ms
And
I wait for 2 seconds
2s 7ms
And
I click on element
643ms
Given
"span" element with "text" "420"
21ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 5ms
Then
"span" element with "text" "420" should be visible
30ms