Given
I visit "http://localhost:3000/"
5s 457ms
And
I feature toggle "WEB_MODERNISATION" to "true"
17ms
And
I wait for 1 seconds
1s 6ms
Given
"button" element with "class" "size-12"
53ms
Then
I scroll element into center view
1s 29ms
And
I wait for 1 seconds
1s 11ms
When
I click on element
1s 510ms
Then
"span" element with "text" "Calculators" should be visible
277ms
When
I click on element
665ms
And
I wait for 1 seconds
1s 3ms
And
I feature toggle "WEB_MODERNISATION" to "true"
10ms
And
I wait for 2 seconds
2s 2ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
20ms
When
I click on element
643ms
Then
I wait for 4 seconds
4s 2ms
Given
"button" element with "text" "Tobramycin"
40ms
Then
I scroll element into center view
1s 17ms
And
I wait for 1 seconds
1s 4ms
When
I click on element
622ms
Given
"button" element with "aria-label" "Male"
32ms
And
I wait for 1 seconds
1s 9ms
And
I scroll to element
198ms
And
I click on element
893ms
Given
"input" element with "id" "abx-height"
83ms
When
I enter "185"
176ms
Given
"input" element with "id" "ag-weight"
29ms
When
I enter "75"
101ms
Given
"input" element with "id" "ag-age"
98ms
When
I enter "50"
77ms
Given
"input" element with "id" "calc-creatinine"
71ms
When
I enter "110"
58ms
Then
I close the keyboard by clicking outside
323ms
And
I wait for 6 seconds
6s 7ms
When
I scroll down the window for 60px
7ms
Given
"button" element with "text" "Yes"
32ms
Then
I scroll element into center view
1s 19ms
And
I wait for 2 seconds
2s 12ms
And
I click on element
661ms
And
I wait for 4 seconds
4s 12ms
Given
"button" element with "text" "Calculate"
23ms
Then
I scroll element into center view
1s 17ms
And
I wait for 2 seconds
2s 10ms
And
I click on element
755ms
Given
"span" element with "text" "420"
29ms
Then
I scroll element into center view
1s 8ms
And
I wait for 1 seconds
1s 3ms
Then
"span" element with "text" "420" should be visible
15ms