Given
I visit "http://localhost:3000/"
3s 82ms
And
I feature toggle "WEB_MODERNISATION" to "true"
13ms
And
I wait for 1 seconds
1s 8ms
Given
"button" element with "class" "size-12"
26ms
Then
I scroll element into center view
1s 12ms
And
I wait for 1 seconds
1s 13ms
When
I click on element
741ms
Then
"span" element with "text" "Calculators" should be visible
288ms
When
I click on element
648ms
And
I wait for 1 seconds
1s 3ms
And
I feature toggle "WEB_MODERNISATION" to "true"
11ms
And
I wait for 2 seconds
2s 16ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
30ms
When
I click on element
633ms
Then
I wait for 4 seconds
4s 4ms
Given
"button" element with "text" "Tobramycin"
33ms
Then
I scroll element into center view
1s 30ms
And
I wait for 1 seconds
1s 8ms
When
I click on element
620ms
Given
"button" element with "aria-label" "Male"
23ms
And
I wait for 1 seconds
1s 3ms
And
I scroll to element
166ms
And
I click on element
610ms
Given
"input" element with "id" "abx-height"
34ms
When
I enter "185"
159ms
Given
"input" element with "id" "ag-weight"
34ms
When
I enter "75"
84ms
Given
"input" element with "id" "ag-age"
37ms
When
I enter "50"
118ms
Given
"input" element with "id" "calc-creatinine"
44ms
When
I enter "110"
113ms
Then
I close the keyboard by clicking outside
274ms
And
I wait for 6 seconds
6s 8ms
When
I scroll down the window for 60px
5ms
Given
"button" element with "text" "Yes"
25ms
Then
I scroll element into center view
1s 10ms
And
I wait for 2 seconds
2s 9ms
And
I click on element
686ms
And
I wait for 4 seconds
4s 5ms
Given
"button" element with "text" "Calculate"
20ms
Then
I scroll element into center view
1s 8ms
And
I wait for 2 seconds
2s 8ms
And
I click on element
622ms
Given
"span" element with "text" "420"
26ms
Then
I scroll element into center view
1s 20ms
And
I wait for 1 seconds
1s 15ms
Then
"span" element with "text" "420" should be visible
19ms