Given
I visit "http://localhost:3000/"
5s 444ms
And
I feature toggle "WEB_MODERNISATION" to "true"
44ms
And
I wait for 1 seconds
1s 7ms
Given
"button" element with "class" "size-12"
31ms
Then
I scroll element into center view
1s 12ms
And
I wait for 1 seconds
1s 4ms
When
I click on element
669ms
Then
"span" element with "text" "Calculators" should be visible
257ms
When
I click on element
732ms
And
I wait for 1 seconds
1s 4ms
And
I feature toggle "WEB_MODERNISATION" to "true"
6ms
And
I wait for 2 seconds
2s 21ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
52ms
When
I click on element
613ms
Then
I wait for 4 seconds
4s 9ms
Given
"button" element with "text" "Tobramycin"
19ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 1ms
When
I click on element
633ms
Given
"button" element with "aria-label" "Male"
36ms
And
I wait for 1 seconds
1s 9ms
And
I scroll to element
19ms
And
I click on element
589ms
Given
"input" element with "id" "abx-height"
25ms
When
I enter "185"
69ms
Given
"input" element with "id" "ag-weight"
18ms
When
I enter "75"
56ms
Given
"input" element with "id" "ag-age"
20ms
When
I enter "50"
48ms
Given
"input" element with "id" "calc-creatinine"
20ms
When
I enter "110"
57ms
Then
I close the keyboard by clicking outside
254ms
And
I wait for 6 seconds
6s 1ms
When
I scroll down the window for 60px
4ms
Given
"button" element with "text" "Yes"
19ms
Then
I scroll element into center view
1s 5ms
And
I wait for 2 seconds
2s 14ms
And
I click on element
607ms
And
I wait for 4 seconds
4s 6ms
Given
"button" element with "text" "Calculate"
18ms
Then
I scroll element into center view
1s 5ms
And
I wait for 2 seconds
2s 9ms
And
I click on element
639ms
Given
"span" element with "text" "420"
24ms
Then
I scroll element into center view
1s 11ms
And
I wait for 1 seconds
1s 7ms
Then
"span" element with "text" "420" should be visible
14ms