Given
I visit "http://localhost:3000/"
6s 531ms
And
I feature toggle "WEB_MODERNISATION" to "true"
23ms
And
I wait for 1 seconds
1s 5ms
Given
"button" element with "class" "size-12"
38ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 14ms
When
I click on element
628ms
Then
"span" element with "text" "Calculators" should be visible
253ms
When
I click on element
634ms
And
I wait for 1 seconds
1s 1ms
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
50ms
When
I click on element
675ms
Then
I wait for 4 seconds
4s 13ms
Given
"button" element with "text" "Tobramycin"
20ms
Then
I scroll element into center view
1s 9ms
And
I wait for 1 seconds
1s 5ms
When
I click on element
615ms
Given
"button" element with "aria-label" "Male"
21ms
And
I wait for 1 seconds
1s 8ms
And
I scroll to element
27ms
And
I click on element
701ms
Given
"input" element with "id" "abx-height"
60ms
When
I enter "185"
107ms
Given
"input" element with "id" "ag-weight"
37ms
When
I enter "75"
128ms
Given
"input" element with "id" "ag-age"
28ms
When
I enter "50"
58ms
Given
"input" element with "id" "calc-creatinine"
24ms
When
I enter "110"
77ms
Then
I close the keyboard by clicking outside
285ms
And
I wait for 6 seconds
6s 2ms
When
I scroll down the window for 60px
13ms
Given
"button" element with "text" "Yes"
51ms
Then
I scroll element into center view
1s 16ms
And
I wait for 2 seconds
2s 2ms
And
I click on element
675ms
And
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Calculate"
29ms
Then
I scroll element into center view
1s 12ms
And
I wait for 2 seconds
2s 1ms
And
I click on element
654ms
Given
"span" element with "text" "420"
36ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 11ms
Then
"span" element with "text" "420" should be visible
195ms