Given
I visit "http://localhost:3000/"
5s 981ms
And
I feature toggle "APP_MODERNISATION" to "true"
28ms
And
I feature toggle "FORCE_APP_MODE" to "true"
88ms
Then
element with "text" "Quick links" should be visible
73ms
Then
element with "text" "Resources" should be visible
49ms
When
I click on element
728ms
Then
element with "text" "Antibiotic prescribing in primary care - summary table" should be visible
272ms
And
element with "text" "Surgical prophylaxis - summary tables" should be visible
33ms
And
element with "text" "Patient information and useful PDFs" should be visible
29ms
When
I click on element
653ms
Then
I wait for 1 seconds
1s 17ms
Then
element with "text" "Patient information sheets" should be visible
155ms
Then
I go back
1ms
And
element with "text" "Tables and figures" should be visible
278ms
And
I click on element
820ms
Then
"a" element with "text" "Addiction" should be visible
119ms
Then
I go back
1ms
Then
element with "text" "Pregnancy and breastfeeding" should be visible
466ms
And
I click on element
655ms
Then
I wait for 2 seconds
2s 15ms
Then
element with "text" "Drug use in pregnancy" should be visible
26ms
And
element with "aria-label" "Go back" should be visible
24ms
When
I click on element
713ms
Then
I wait for 1 seconds
1s 1ms
Then
element with "text" "Calculators" should be visible
37ms
And
I click on element
683ms
Then
element with "text" "Creatinine clearance calculator for adults" should be visible
37ms
And
element with "text" "Glomerular filtration rate (GFR) calculator for children" should be visible
55ms
And
element with "text" "Body surface area calculator" should be visible
33ms
And
I click on element
658ms
Then
element with "text" "Enter the patient details into the calculator below." should be visible
327ms
And
"h1" element with "text" "Body surface area calculator" should be visible
35ms