Given
I visit "http://localhost:3000/"
3s 157ms
And
I feature toggle "WEB_MODERNISATION" to "true"
19ms
And
I wait for 1 seconds
1s 11ms
Given
"button" element with "class" "size-12"
33ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 4ms
When
I click on element
665ms
Then
"span" element with "text" "Calculators" should be visible
246ms
When
I click on element
752ms
And
I wait for 1 seconds
1s 8ms
And
I feature toggle "WEB_MODERNISATION" to "true"
8ms
And
I wait for 2 seconds
2s 5ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
23ms
When
I click on element
648ms
Then
I wait for 4 seconds
4s 5ms
Given
"button" element with "text" "Tobramycin"
43ms
Then
I scroll element into center view
1s 24ms
And
I wait for 1 seconds
1s 14ms
When
I click on element
643ms
Given
"button" element with "aria-label" "Male"
89ms
And
I wait for 1 seconds
1s 4ms
And
I scroll to element
12ms
And
I click on element
604ms
Given
"input" element with "id" "abx-height"
22ms
When
I enter "185"
75ms
Given
"input" element with "id" "ag-weight"
79ms
When
I enter "75"
65ms
Given
"input" element with "id" "ag-age"
22ms
When
I enter "50"
59ms
Given
"input" element with "id" "calc-creatinine"
34ms
When
I enter "110"
76ms
Then
I close the keyboard by clicking outside
304ms
And
I wait for 6 seconds
6s 2ms
When
I scroll down the window for 60px
5ms
Given
"button" element with "text" "Yes"
21ms
Then
I scroll element into center view
1s 16ms
And
I wait for 2 seconds
2s 6ms
And
I click on element
644ms
And
I wait for 4 seconds
4s 10ms
Given
"button" element with "text" "Calculate"
24ms
Then
I scroll element into center view
1s 18ms
And
I wait for 2 seconds
2s 4ms
And
I click on element
632ms
Given
"span" element with "text" "420"
22ms
Then
I scroll element into center view
1s 21ms
And
I wait for 1 seconds
1s 2ms
Then
"span" element with "text" "420" should be visible
16ms