Given
I visit "http://localhost:3000/"
4s 476ms
And
I feature toggle "WEB_MODERNISATION" to "true"
21ms
And
I wait for 1 seconds
1s 2ms
Given
"button" element with "class" "size-12"
33ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 8ms
When
I click on element
660ms
Then
"span" element with "text" "Calculators" should be visible
596ms
When
I click on element
641ms
And
I wait for 1 seconds
1s 1ms
And
I feature toggle "WEB_MODERNISATION" to "true"
10ms
And
I wait for 2 seconds
2s 4ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
22ms
When
I click on element
649ms
Then
I wait for 4 seconds
4s 4ms
Given
"button" element with "text" "Tobramycin"
28ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 5ms
When
I click on element
669ms
Given
"button" element with "aria-label" "Male"
29ms
And
I wait for 1 seconds
1s 8ms
And
I scroll to element
39ms
And
I click on element
597ms
Given
"input" element with "id" "abx-height"
19ms
When
I enter "185"
75ms
Given
"input" element with "id" "ag-weight"
19ms
When
I enter "75"
54ms
Given
"input" element with "id" "ag-age"
26ms
When
I enter "50"
74ms
Given
"input" element with "id" "calc-creatinine"
55ms
When
I enter "110"
65ms
Then
I close the keyboard by clicking outside
264ms
And
I wait for 6 seconds
6s 7ms
When
I scroll down the window for 60px
8ms
Given
"button" element with "text" "Yes"
24ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 1ms
And
I click on element
778ms
And
I wait for 4 seconds
4s 12ms
Given
"button" element with "text" "Calculate"
34ms
Then
I scroll element into center view
1s 8ms
And
I wait for 2 seconds
2s 12ms
And
I click on element
626ms
Given
"span" element with "text" "420"
21ms
Then
I scroll element into center view
1s 18ms
And
I wait for 1 seconds
1s 3ms
Then
"span" element with "text" "420" should be visible
16ms