Given
I visit "http://localhost:3000/"
5s 537ms
And
I feature toggle "WEB_MODERNISATION" to "true"
15ms
And
I wait for 1 seconds
1s 3ms
Given
"button" element with "class" "size-12"
51ms
Then
I scroll element into center view
1s 7ms
And
I wait for 1 seconds
1s 14ms
When
I click on element
734ms
Then
"span" element with "text" "Calculators" should be visible
335ms
When
I click on element
707ms
And
I wait for 1 seconds
1s 1ms
And
I feature toggle "WEB_MODERNISATION" to "true"
10ms
And
I wait for 2 seconds
2s 30ms
Then
"span" element with "text" "Aminoglycoside initial dose calculator for adults" should be visible
22ms
When
I click on element
623ms
Then
I wait for 4 seconds
4s 9ms
Given
"button" element with "text" "Tobramycin"
40ms
Then
I scroll element into center view
1s 8ms
And
I wait for 1 seconds
1s 4ms
When
I click on element
680ms
Given
"button" element with "aria-label" "Male"
60ms
And
I wait for 1 seconds
1s 8ms
And
I scroll to element
37ms
And
I click on element
750ms
Given
"input" element with "id" "abx-height"
65ms
When
I enter "185"
87ms
Given
"input" element with "id" "ag-weight"
52ms
When
I enter "75"
78ms
Given
"input" element with "id" "ag-age"
29ms
When
I enter "50"
92ms
Given
"input" element with "id" "calc-creatinine"
101ms
When
I enter "110"
274ms
Then
I close the keyboard by clicking outside
274ms
And
I wait for 6 seconds
6s 15ms
When
I scroll down the window for 60px
6ms
Given
"button" element with "text" "Yes"
22ms
Then
I scroll element into center view
1s 13ms
And
I wait for 2 seconds
2s 15ms
And
I click on element
617ms
And
I wait for 4 seconds
4s 1ms
Given
"button" element with "text" "Calculate"
33ms
Then
I scroll element into center view
1s 14ms
And
I wait for 2 seconds
2s 10ms
And
I click on element
629ms
Given
"span" element with "text" "420"
25ms
Then
I scroll element into center view
1s 16ms
And
I wait for 1 seconds
1s 12ms
Then
"span" element with "text" "420" should be visible
29ms