Given
I visit "http://localhost:3000/"
4s 194ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 1 seconds
1s 1ms
Given
"button" element with "class" "size-12"
60ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 3ms
When
I click on element
648ms
Then
"span" element with "text" "Calculators" should be visible
271ms
When
I click on element
623ms
And
I wait for 1 seconds
1s 10ms
And
I feature toggle "WEB_MODERNISATION" to "true"
9ms
And
I wait for 2 seconds
2s 16ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
47ms
When
I click on element
649ms
Then
I wait for 4 seconds
4s 3ms
Given
"button" element with "text" "Tobramycin"
39ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 2ms
When
I click on element
842ms
Given
"button" element with "aria-label" "Male"
70ms
And
I wait for 1 seconds
1s 4ms
And
I scroll to element
13ms
And
I click on element
628ms
Given
"input" element with "id" "abx-height"
25ms
When
I enter "185"
77ms
Given
"input" element with "id" "ag-weight"
75ms
When
I enter "75"
69ms
Given
"input" element with "id" "ag-age"
40ms
When
I enter "50"
68ms
Given
"input" element with "id" "calc-creatinine"
19ms
When
I enter "110"
63ms
Then
I close the keyboard by clicking outside
273ms
And
I wait for 6 seconds
6s 15ms
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
34ms
Then
I scroll element into center view
1s 15ms
And
I wait for 2 seconds
2s 17ms
And
I click on element
619ms
And
I wait for 4 seconds
4s 5ms
Given
"button" element with "text" "Calculate"
21ms
Then
I scroll element into center view
1s 8ms
And
I wait for 2 seconds
2s 10ms
And
I click on element
627ms
Given
"span" element with "text" "420"
26ms
Then
I scroll element into center view
1s 21ms
And
I wait for 1 seconds
1s
Then
"span" element with "text" "420" should be visible
15ms