Given
I visit "http://localhost:3000/"
6s 226ms
And
I feature toggle "APP_MODERNISATION" to "true"
40ms
And
I feature toggle "FORCE_APP_MODE" to "true"
84ms
Then
element with "text" "Quick links" should be visible
127ms
Then
element with "text" "Resources" should be visible
47ms
When
I click on element
714ms
Then
element with "text" "Antibiotic prescribing in primary care - summary table" should be visible
338ms
And
element with "text" "Surgical prophylaxis - summary tables" should be visible
35ms
And
element with "text" "Patient information and useful PDFs" should be visible
30ms
When
I click on element
988ms
Then
I wait for 1 seconds
1s 7ms
Then
element with "text" "Patient information sheets" should be visible
224ms
Then
I go back
< 1ms
And
element with "text" "Tables and figures" should be visible
559ms
And
I click on element
906ms
Then
"a" element with "text" "Addiction" should be visible
36ms
Then
I go back
< 1ms
Then
element with "text" "Pregnancy and breastfeeding" should be visible
53ms
And
I click on element
1s 842ms
Then
I wait for 2 seconds
2s 8ms
Then
element with "text" "Drug use in pregnancy" should be visible
83ms
And
element with "aria-label" "Go back" should be visible
208ms
When
I click on element
783ms
Then
I wait for 1 seconds
1s 5ms
Then
element with "text" "Calculators" should be visible
143ms
And
I click on element
717ms
Then
element with "text" "Creatinine clearance calculator for adults" should be visible
30ms
And
element with "text" "Glomerular filtration rate (GFR) calculator for children" should be visible
26ms
And
element with "text" "Body surface area calculator" should be visible
21ms
And
I click on element
772ms
Then
element with "text" "Enter the patient details into the calculator below." should be visible
37ms
And
"h1" element with "text" "Body surface area calculator" should be visible
171ms