Given
I visit "http://localhost:3000/"
5s 761ms
And
I feature toggle "APP_MODERNISATION" to "true"
73ms
And
I feature toggle "FORCE_APP_MODE" to "true"
151ms
Then
element with "text" "Quick links" should be visible
193ms
Then
element with "text" "Resources" should be visible
97ms
When
I click on element
801ms
Then
element with "text" "Antibiotic prescribing in primary care - summary table" should be visible
1s 478ms
And
element with "text" "Surgical prophylaxis - summary tables" should be visible
90ms
And
element with "text" "Patient information and useful PDFs" should be visible
201ms
When
I click on element
749ms
Then
I wait for 1 seconds
1s 12ms
Then
element with "text" "Patient information sheets" should be visible
81ms
Then
I go back
1ms
And
element with "text" "Tables and figures" should be visible
514ms
And
I click on element
801ms
Then
"a" element with "text" "Addiction" should be visible
43ms
Then
I go back
< 1ms
Then
element with "text" "Pregnancy and breastfeeding" should be visible
250ms
And
I click on element
1s 311ms
Then
I wait for 2 seconds
2s 7ms
Then
element with "text" "Drug use in pregnancy" should be visible
43ms
And
element with "aria-label" "Go back" should be visible
32ms
When
I click on element
767ms
Then
I wait for 1 seconds
1s 14ms
Then
element with "text" "Calculators" should be visible
38ms
And
I click on element
725ms
Then
element with "text" "Creatinine clearance calculator for adults" should be visible
117ms
And
element with "text" "Glomerular filtration rate (GFR) calculator for children" should be visible
35ms
And
element with "text" "Body surface area calculator" should be visible
35ms
And
I click on element
632ms
Then
element with "text" "Enter the patient details into the calculator below." should be visible
27ms
And
"h1" element with "text" "Body surface area calculator" should be visible
21ms