Given
I visit "http://localhost:3000/"
4s 794ms
And
I feature toggle "WEB_MODERNISATION" to "true"
17ms
And
I wait for 1 seconds
1s 13ms
Given
"button" element with "class" "size-12"
58ms
Then
I scroll element into center view
1s 14ms
And
I wait for 1 seconds
1s 11ms
When
I click on element
639ms
Then
"span" element with "text" "Calculators" should be visible
243ms
When
I click on element
602ms
And
I wait for 1 seconds
1s 10ms
And
I feature toggle "WEB_MODERNISATION" to "true"
7ms
And
I wait for 2 seconds
2s 12ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
30ms
When
I click on element
645ms
Then
I wait for 4 seconds
4s 24ms
Given
"button" element with "text" "Tobramycin"
24ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 4ms
When
I click on element
654ms
Given
"button" element with "aria-label" "Male"
55ms
And
I wait for 1 seconds
1s 9ms
And
I scroll to element
25ms
And
I click on element
630ms
Given
"input" element with "id" "abx-height"
33ms
When
I enter "185"
102ms
Given
"input" element with "id" "ag-weight"
26ms
When
I enter "75"
69ms
Given
"input" element with "id" "ag-age"
82ms
When
I enter "50"
93ms
Given
"input" element with "id" "calc-creatinine"
24ms
When
I enter "110"
56ms
Then
I close the keyboard by clicking outside
289ms
And
I wait for 6 seconds
6s 9ms
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
32ms
Then
I scroll element into center view
1s 16ms
And
I wait for 2 seconds
2s 10ms
And
I click on element
766ms
And
I wait for 4 seconds
4s 8ms
Given
"button" element with "text" "Calculate"
52ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 12ms
And
I click on element
723ms
Given
"span" element with "text" "420"
34ms
Then
I scroll element into center view
1s 19ms
And
I wait for 1 seconds
1s 6ms
Then
"span" element with "text" "420" should be visible
24ms