Given
I visit "http://localhost:3000/"
5s 544ms
And
I feature toggle "WEB_MODERNISATION" to "true"
66ms
And
I wait for 1 seconds
1s 9ms
Given
"button" element with "class" "size-12"
60ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 9ms
When
I click on element
663ms
Then
"span" element with "text" "Calculators" should be visible
259ms
When
I click on element
665ms
And
I wait for 1 seconds
1s 12ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 13ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
39ms
When
I click on element
694ms
Then
I wait for 4 seconds
4s 2ms
Given
"button" element with "text" "Tobramycin"
37ms
Then
I scroll element into center view
1s 23ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
767ms
Given
"button" element with "aria-label" "Male"
33ms
And
I wait for 1 seconds
1s 3ms
And
I scroll to element
13ms
And
I click on element
605ms
Given
"input" element with "id" "abx-height"
19ms
When
I enter "185"
60ms
Given
"input" element with "id" "ag-weight"
19ms
When
I enter "75"
47ms
Given
"input" element with "id" "ag-age"
21ms
When
I enter "50"
44ms
Given
"input" element with "id" "calc-creatinine"
18ms
When
I enter "110"
49ms
Then
I close the keyboard by clicking outside
254ms
And
I wait for 6 seconds
6s 7ms
When
I scroll down the window for 60px
7ms
Given
"button" element with "text" "Yes"
20ms
Then
I scroll element into center view
1s 7ms
And
I wait for 2 seconds
2s 15ms
And
I click on element
633ms
And
I wait for 4 seconds
4s 14ms
Given
"button" element with "text" "Calculate"
19ms
Then
I scroll element into center view
1s 12ms
And
I wait for 2 seconds
2s 15ms
And
I click on element
644ms
Given
"span" element with "text" "420"
60ms
Then
I scroll element into center view
1s 48ms
And
I wait for 1 seconds
1s 10ms
Then
"span" element with "text" "420" should be visible
19ms