All Scenarios

178

Passed Scenarios

172

Failed Scenarios

6

Execution Time: 15:13 Device Type: Web

Expand All | Collapse All

Given I visit "http://localhost:3000/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-1_stem" 4s 40ms

And the REWS calculator is opened from the content 13s 998ms

Then element with "data-dita-outputclass" "rews-cal-link" and "aria-expanded" "true" should be visible 145ms

And "aside" element with "aria-label" "REWS calculator" should be visible 235ms

And element with "data-testid" "rews-calculator-introduction" should be visible 107ms

And "label" element with "for" "patient-table" should be visible 79ms

And "button" element with "text" "Calculate REWS" should be visible 51ms

And element with "data-testid" "rews-results" should be visible 45ms

When "button" element with "aria-label" "Close REWS calculator" should be visible 47ms

And I click on element 1s 216ms

Then "aside" element with "aria-label" "REWS calculator" should be hidden 252ms

And "button" element with "text" "Calculate REWS" should be hidden 12ms

And element with "data-dita-outputclass" "rews-cal-link" and "aria-expanded" "false" should be visible 125ms

And the page heading should be "Preeclampsia" 91ms

Given I visit "http://localhost:3000/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-1_stem" 3s 976ms

And the REWS calculator is opened from the content 12s 846ms

When "button" element with "aria-label" "Close REWS calculator" should be visible 344ms

And I click on element 1s 59ms

And I change the screen size to 820 x 1180 179ms

And "button" element with "data-dita-outputclass" "rews-cal-link" should be visible 120ms

And I click on element 1s 127ms

Then element with "role" "dialog" and "aria-label" "REWS calculator" should be visible 106ms

And keyboard focus should be inside element with "aria-label" "REWS calculator" 181ms

When I press the "Escape" key 365ms

Then "div" element with "aria-label" "REWS calculator" should be hidden 20ms

And keyboard focus should be inside element with "data-dita-outputclass" "rews-cal-link" 87ms

Given I visit "http://localhost:3000/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-1_stem" 4s 60ms

And the REWS calculator is opened from the content 12s 385ms

Then the "Calculate REWS" button should be disabled 46ms

And element with "id" "calc-help" and "full text" "Select a patient table and complete all fields to calculate." should be visible 101ms

And element with "data-testid" "rews-total-score" and "full text" "–" should be visible 282ms

And element with "data-rews-result-state" "disabled" should be visible 260ms

And the "Clear All" button should be disabled 216ms

And the "Copy Results" button should be disabled 72ms

When "div" element with "id" "patient-table" should be visible 277ms

And I click on element 1s 206ms

And "li" element with "data-value" "rews-table-adult" should be visible 51ms

And I click on element 1s 215ms

Then the "Calculate REWS" button should be disabled 35ms

When "div" element with "id" "level-of-consciousness" should be visible 130ms

And I click on element 1s 236ms

And "li" element with "data-value" "alert" should be visible 61ms

And I click on element 1s 540ms

And "input" element with "id" "respiratory-rate" should be visible 77ms

And I enter "16" 164ms

Then the "Calculate REWS" button should be disabled 45ms

Given I open the REWS calculator from the content again 4s 600ms

And "div" element with "id" "patient-table" should be visible 97ms

When I click on element 1s 75ms

And "li" element with "data-value" "rews-table-adult" should be visible 42ms

And I click on element 964ms

And "div" element with "id" "level-of-consciousness" should be visible 43ms

And I click on element 1s 392ms

And "li" element with "data-value" "alert" should be visible 78ms

And I click on element 1s 116ms

And "input" element with "id" "respiratory-rate" should be visible 147ms

And I enter "16" 176ms

And "input" element with "id" "oxygen-saturation" should be visible 70ms

And I enter "97" 163ms

And "input" element with "id" "pulse" should be visible 86ms

And I enter "80" 159ms

And "input" element with "id" "systolic-blood-pressure" should be visible 51ms

And I enter "120" 142ms

Then the "Calculate REWS" button should be disabled 51ms

When "input" element with "id" "temperature" should be visible 49ms

And I enter "37" 104ms

Then the "Calculate REWS" button should be enabled 26ms

And "p" element with "id" "calc-help" should not be visible 21ms

Given I open the REWS calculator from the content again 4s 947ms

And "div" element with "id" "patient-table" should be visible 154ms

When I click on element 1s 281ms

And "li" element with "data-value" "rews-table-0-3mo" should be visible 67ms

And I click on element 1s 461ms

And "div" element with "id" "level-of-consciousness" should be visible 184ms

And I click on element 1s 519ms

And "li" element with "data-value" "alert" should be visible 163ms

And I click on element 1s 274ms

And "button" element with "value" "normal" should be visible 148ms

And I click on element 1s 80ms

And "input" element with "id" "respiratory-rate" should be visible 52ms

And I enter "40" 148ms

And "input" element with "id" "oxygen-saturation" should be visible 126ms

And I enter "97" 224ms

And "button" element with "value" "less-than-two-litres-per-minute" should be visible 147ms

And I click on element 1s 356ms

And "input" element with "id" "pulse" should be visible 119ms

And I enter "130" 202ms

And "input" element with "id" "temperature" should be visible 102ms

And I enter "37" 162ms

Then the "Calculate REWS" button should be disabled 43ms

When "button" element with "value" "less-than-two-seconds" should be visible 53ms

And I click on element 1s 521ms

Then the "Calculate REWS" button should be enabled 161ms

Given I open the REWS calculator from the content again 4s 119ms

And "div" element with "id" "patient-table" should be visible 148ms

When I click on element 1s 196ms

And "li" element with "data-value" "rews-table-adult" should be visible 79ms

And I click on element 1s 49ms

And "div" element with "id" "level-of-consciousness" should be visible 89ms

And I click on element 1s 173ms

And "li" element with "data-value" "alert" should be visible 145ms

And I click on element 1s 168ms

And "input" element with "id" "respiratory-rate" should be visible 113ms

And I enter "16" 197ms

And "input" element with "id" "oxygen-saturation" should be visible 119ms

And I enter "97" 216ms

And "input" element with "id" "pulse" should be visible 83ms

And I enter "80" 126ms

And "input" element with "id" "systolic-blood-pressure" should be visible 92ms

And I enter "120" 125ms

And "input" element with "id" "temperature" should be visible 119ms

And I enter "37" 181ms

Then the "Calculate REWS" button should be enabled 105ms

When "input" element with "id" "pulse" should be visible 157ms

And I clear the input 78ms

Then the "Calculate REWS" button should be disabled 27ms

When I enter "80" 85ms

Then the "Calculate REWS" button should be enabled 126ms

When I clear the input 111ms

And I enter "abc" 133ms

Then the "Calculate REWS" button should be disabled 46ms

When I clear the input 72ms

And I enter "80" 93ms

Then the "Calculate REWS" button should be enabled 44ms

Given I visit "http://localhost:3000/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-1_stem" 4s 86ms

And the REWS calculator is opened from the content 11s 923ms

Then each of these values should be accepted: 24s 563ms
age_range table_value field_id value
13 years and over rews-table-adult respiratory-rate 200
13 years and over rews-table-adult temperature 45.9
Obstetric rews-table-obstetric diastolic-blood-pressure 0
Paediatric 0–3 months rews-table-0-3mo oxygen-saturation 100

And each of these values should be rejected as outside the permitted range: 22s 696ms
age_range table_value field_id value
13 years and over rews-table-adult respiratory-rate 201
13 years and over rews-table-adult temperature 46
Obstetric rews-table-obstetric diastolic-blood-pressure 301
Paediatric 1–4 years rews-table-1-4yr pulse -1

And each of these entries should be marked invalid and show its error message: 20s 714ms
age_range table_value field_id value message
13 years and over rews-table-adult respiratory-rate abc Enter numbers only (up to 3 digits)
13 years and over rews-table-adult systolic-blood-pressure 120.5 Enter a whole number.
13 years and over rews-table-adult temperature 36.75 Use no more than 1 decimal places.
Paediatric 5–12 years rews-table-5-12yr oxygen-saturation 12a Enter numbers only (up to 3 digits)

And leading zeros should be accepted and left out of what is shown: 11s 360ms
field_id value shown_value
respiratory-rate 007 7
temperature 036.5 36.5

Given I visit "http://localhost:3000/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-1_stem" 4s 44ms

And the REWS calculator is opened from the content 12s 845ms

Then the REWS calculator should give these results: 36s 976ms
age_range table_value avpu respiratory_distress respiratory_rate oxygen_saturation nasal_prongs pulse capillary_refill temperature expected_total expected_category expected_values expected_scores reference_link
Paediatric 0–3 months rews-table-0-3mo alert moderate 65 93 less-than-two-litres-per-minute 165 less-than-two-seconds 37 5 High Alert,Moderate,65 / min,93%,< 2 L/min,165 / min,< 2 sec,37 °C 0,2,1,1,0,1,0,0 View REWS reference table for Paediatric 0–3 months
Paediatric 4–11 months rews-table-4-11mo voice normal 47 97 less-than-two-litres-per-minute 130 less-than-two-seconds 38.2 3 Medium Voice,Normal,47 / min,97%,< 2 L/min,130 / min,< 2 sec,38.2 °C 1,0,1,0,0,0,0,1 View REWS reference table for Paediatric 4–11 months
Paediatric 1–4 years rews-table-1-4yr alert mild 35 95 two-litres-per-minute-or-more 140 less-than-two-seconds 37 5 High Alert,Mild,35 / min,95%,≥ 2 L/min,140 / min,< 2 sec,37 °C 0,1,1,0,2,1,0,0 View REWS reference table for Paediatric 1–4 years
Paediatric 5–12 years rews-table-5-12yr alert normal 22 96 less-than-two-litres-per-minute 90 two-seconds-or-more 37 2 Low Alert,Normal,22 / min,96%,< 2 L/min,90 / min,≥ 2 sec,37 °C 0,0,0,0,0,0,2,0 View REWS reference table for Paediatric 5–12 years

Given I visit "http://localhost:3000/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-1_stem" 4s 936ms

And the REWS calculator is opened from the content 5s 594ms

Then the REWS calculator should give these results: 27s 849ms
age_range table_value avpu respiratory_rate oxygen_needed pulse systolic_bp diastolic_bp temperature expected_total expected_category expected_values expected_scores reference_link
Obstetric (more than 20 weeks pregnant) rews-table-obstetric voice 22 less-than-two-litres-per-minute 80 120 70 36.5 2 Low Voice,22 / min,< 2 L/min,80 / min,120 mmHg,70 mmHg,36.5 °C 1,1,0,0,0,0,0 View REWS reference table for Obstetric (more than 20 weeks pregnant)
Obstetric (more than 20 weeks pregnant) rews-table-obstetric alert 16 less-than-two-litres-per-minute 115 120 92 37 3 Medium Alert,16 / min,< 2 L/min,115 / min,120 mmHg,92 mmHg,37 °C 0,0,0,2,0,1,0 View REWS reference table for Obstetric (more than 20 weeks pregnant)
Obstetric (more than 20 weeks pregnant) rews-table-obstetric alert 26 more-than-four-litres-per-minute 100 145 95 37 7 High Alert,26 / min,> 4 L/min,100 / min,145 mmHg,95 mmHg,37 °C 0,2,3,0,1,1,0 View REWS reference table for Obstetric (more than 20 weeks pregnant)

Given I visit "http://localhost:3000/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-1_stem" 4s 754ms

And the REWS calculator is opened from the content 12s 49ms

Then the REWS calculator should give these results: 6s 837ms
table_value avpu respiratory_rate oxygen_saturation pulse systolic_bp temperature expected_total expected_category expected_values expected_scores
rews-table-adult alert 031 097 080 120 037 2 Low Alert,31 / min,97%,80 / min,120 mmHg,37 °C 0,2,0,0,0,0

And the REWS calculator should give these results: 6s 914ms
table_value avpu respiratory_rate oxygen_saturation pulse systolic_bp temperature expected_total expected_category expected_values expected_scores reference_link
rews-table-adult unresponsive 16 97 80 120 37 3 Medium Unresponsive,16 / min,97%,80 / min,120 mmHg,37 °C 3,0,0,0,0,0 View REWS reference table for 13 years and over

Given I visit "http://localhost:3000/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-1_stem" 5s 383ms

And the REWS calculator is opened from the content 15s 134ms

Then the REWS total should follow the band edges of these observations: 24s 618ms
table_value avpu respiratory_rate oxygen_saturation pulse systolic_bp temperature field_id values totals
rews-table-adult alert 16 97 80 120 37 respiratory-rate 8,9,20,21 3,0,0,1
rews-table-adult alert 16 97 80 120 37 oxygen-saturation 92,93 1,0
rews-table-adult alert 16 97 80 120 37 temperature 37.9,38,38.5,38.6 0,1,1,2

And the REWS total should follow the band edges of these observations: 9s 877ms
table_value avpu respiratory_distress respiratory_rate oxygen_saturation nasal_prongs pulse capillary_refill temperature field_id values totals
rews-table-0-3mo alert normal 40 97 less-than-two-litres-per-minute 130 less-than-two-seconds 37 pulse 109,110,159,160,179,180 1,0,0,1,2,3

Given I visit "http://localhost:3000/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-1_stem" 5s 56ms

And the REWS calculator is opened from the content 7s 550ms

Given "div" element with "id" "patient-table" should be visible 100ms

When I click on element 951ms

And "li" element with "data-value" "rews-table-adult" should be visible 37ms

And I click on element 1s 97ms

And "div" element with "id" "level-of-consciousness" should be visible 72ms

And I click on element 1s 94ms

And "li" element with "data-value" "alert" should be visible 68ms

And I click on element 912ms

And "input" element with "id" "respiratory-rate" should be visible 33ms

And I enter "16" 97ms

And "input" element with "id" "oxygen-saturation" should be visible 34ms

And I enter "97" 109ms

And "input" element with "id" "pulse" should be visible 34ms

And I enter "80" 64ms

And "input" element with "id" "systolic-blood-pressure" should be visible 35ms

And I enter "120" 75ms

And "input" element with "id" "temperature" should be visible 32ms

And I enter "37" 62ms

And "button" element with "text" "Calculate REWS" should be visible 32ms

And I click on element 966ms

Then element with "data-testid" "rews-total-score" and "full text" "0" should be visible 49ms

And element with "data-testid" "rews-risk-badge" and "full text" "Low" should be visible 52ms

When "input" element with "id" "pulse" should be visible 40ms

And I clear the input 98ms

And I enter "135" 109ms

Then element with "data-testid" "rews-total-score" and "full text" "–" should be visible 66ms

And element with "data-rews-result-state" "disabled" should be visible 128ms

And "table" element with "data-testid" "rews-reference-table" should not be visible 15ms

When "input" element with "id" "temperature" should be visible 77ms

And I clear the input 75ms

And I enter "38.6" 101ms

And "button" element with "text" "Calculate REWS" should be visible 57ms

And I click on element 1s 27ms

Then element with "data-testid" "rews-total-score" and "full text" "5" should be visible 63ms

And element with "data-testid" "rews-risk-badge" and "full text" "High" should be visible 64ms

And the REWS reference table values should be "Alert,16 / min,97%,135 / min,120 mmHg,38.6 °C" 73ms

And the REWS reference table scores should be "0,0,0,3,0,2" 64ms

Given I visit "http://localhost:3000/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-1_stem" 4s 681ms

And the REWS calculator is opened from the content 8s 40ms

Given "div" element with "id" "patient-table" should be visible 93ms

When I click on element 1s 103ms

And "li" element with "data-value" "rews-table-obstetric" should be visible 123ms

And I click on element 1s 240ms

And "div" element with "id" "level-of-consciousness" should be visible 136ms

And I click on element 919ms

And "li" element with "data-value" "alert" should be visible 31ms

And I click on element 915ms

And "input" element with "id" "respiratory-rate" should be visible 33ms

And I enter "21" 93ms

And "button" element with "value" "two-to-four-litres-per-minute" should be visible 33ms

And I click on element 1s 18ms

And "input" element with "id" "pulse" should be visible 46ms

And I enter "110" 196ms

And "input" element with "id" "systolic-blood-pressure" should be visible 113ms

And I enter "140" 175ms

And "input" element with "id" "diastolic-blood-pressure" should be visible 170ms

And I enter "90" 101ms

And "input" element with "id" "temperature" should be visible 186ms

And I enter "37" 371ms

And "button" element with "text" "Calculate REWS" should be visible 73ms

And I click on element 990ms

And element with "data-testid" "rews-total-score" and "full text" "5" should be visible 59ms

When "button" element with "text" "Clear All" should be visible 51ms

And I click on element 1s 53ms

Then element with "id" "respiratory-rate" and "value" "" should be visible 59ms

And element with "id" "temperature" and "value" "" should be visible 75ms

And element with "id" "level-of-consciousness" and "full text" "Select" should be visible 180ms

And "button" element with "aria-pressed" "true" should not be visible 18ms

And element with "data-testid" "rews-total-score" and "full text" "–" should be visible 228ms

And "table" element with "data-testid" "rews-reference-table" should not be visible 15ms

And the "Calculate REWS" button should be disabled 44ms

And the "Clear All" button should be disabled 51ms

When "input" element with "id" "pulse" should be visible 178ms

And I enter "301" 170ms

And "h2" element with "id" "observations-and-vitals-heading" should be visible 61ms

And I click on element 1s 65ms

And "p" element with "text" "Value outside of range. Please review." should be visible 92ms

And "button" element with "text" "Clear All" should be visible 63ms

And I click on element 1s 106ms

Then "p" element with "role" "alert" should not be visible 13ms

And element with "id" "pulse" and "aria-invalid" "false" should be visible 46ms

Given I visit "http://localhost:3000/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-1_stem" 4s 655ms

And the REWS calculator is opened from the content 14s 114ms

Given element with "id" "patient-table" and "aria-labelledby" "patient-table-label" should be visible 93ms

And "button" element with "aria-label" "Close REWS calculator" should be visible 107ms

And element with "aria-describedby" "calc-help" and "aria-disabled" "true" should be visible 141ms

When "div" element with "id" "patient-table" should be visible 83ms

And I click on element 1s 191ms

And "li" element with "data-value" "rews-table-5-12yr" should be visible 166ms

And I click on element 1s 217ms

Then element with "id" "level-of-consciousness" and "aria-labelledby" "level-of-consciousness-label" should be visible 210ms

And "label" element with "for" "respiratory-rate" should be visible 160ms

And "label" element with "for" "temperature" should be visible 114ms

And element with "role" "group" and "aria-label" "Respiratory distress" should be visible 169ms

And element with "role" "group" and "aria-label" "Capillary refill" should be visible 57ms

When "div" element with "id" "level-of-consciousness" should be visible 45ms

And I click on element 944ms

And "li" element with "data-value" "alert" should be visible 45ms

And I click on element 1s 21ms

And "button" element with "value" "normal" should be visible 57ms

And I click on element 1s 22ms

Then element with "value" "normal" and "aria-pressed" "true" should be visible 40ms

When "input" element with "id" "respiratory-rate" should be visible 36ms

And I enter "25" 164ms

And "input" element with "id" "oxygen-saturation" should be visible 36ms

And I enter "95" 75ms

And "button" element with "value" "less-than-two-litres-per-minute" should be visible 36ms

And I click on element 919ms

And "input" element with "id" "pulse" should be visible 35ms

And I enter "110" 165ms

And "button" element with "value" "less-than-two-seconds" should be visible 177ms

And I click on element 1s 139ms

And "input" element with "id" "temperature" should be visible 168ms

And I enter "37" 175ms

And "button" element with "text" "Calculate REWS" should be visible 258ms

And I click on element 1s 442ms

Then element with "data-testid" "rews-total-score" and "full text" "0" should be visible 105ms

And keyboard focus should be inside element with "data-testid" "rews-summary" 92ms

And "h2" element with "text" "REWS Total" should be visible 56ms

And element with "data-testid" "rews-risk-badge" and "full text" "Low" should be visible 60ms

Given I visit "http://localhost:3000/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-1_stem" 2s 546ms

And the REWS calculator is opened from the content 6s 162ms

Given "div" element with "id" "patient-table" should be visible 140ms

When I press the "Enter" key on element 526ms

Then element with "role" "listbox" should be visible 166ms

When I press the "Enter" key 420ms

Then element with "id" "patient-table" and "full text" "13 years and over" should be visible 84ms

When "div" element with "id" "level-of-consciousness" should be visible 54ms

And I press the "Enter" key on element 386ms

And I press the "Enter" key 360ms

Then element with "id" "level-of-consciousness" and "full text" "Alert" should be visible 58ms

When I press the "Tab" key 337ms

Then keyboard focus should be inside element with "id" "respiratory-rate" 71ms

When "input" element with "id" "respiratory-rate" should be visible 50ms

And I enter "16" 89ms

And "input" element with "id" "oxygen-saturation" should be visible 93ms

And I enter "97" 98ms

And "input" element with "id" "pulse" should be visible 44ms

And I enter "80" 92ms

And "input" element with "id" "systolic-blood-pressure" should be visible 48ms

And I enter "120" 99ms

And "input" element with "id" "temperature" should be visible 45ms

And I enter "37" 89ms

And I press the "Tab" key 316ms

And I press the "Enter" key 349ms

Then element with "data-testid" "rews-total-score" and "full text" "0" should be visible 48ms

And keyboard focus should be inside element with "data-testid" "rews-summary" 47ms

Given I visit "https://test.rphcm.tg.org.au/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-5" 2s 587ms

And I wait for 2 seconds 2s 31ms

And "button" element with "text" "age-appropriate REWS" should be visible 9s 397ms

And I click on element 1s 199ms

Given "div" element with "id" "patient-table" should be visible 168ms

When I click on element 1s 33ms

Then element with "role" "listbox" should be visible 147ms

And element with "role" "option" and "text" "13 years and over" should be visible 109ms

And element with "role" "option" and "text" "Obstetric (more than 20 weeks pregnant)" should be visible 118ms

And element with "role" "option" and "text" "Paediatric 0–3 months" should be visible 132ms

And element with "role" "option" and "text" "Paediatric 4–11 months" should be visible 151ms

And element with "role" "option" and "text" "Paediatric 1–4 years" should be visible 67ms

And element with "role" "option" and "text" "Paediatric 5–12 years" should be visible 114ms

Given "button" element with "aria-label" "Close REWS calculator" should be visible 96ms

Given I visit "https://test.rphcm.tg.org.au/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-5" 4s 823ms

And I wait for 2 seconds 2s 14ms

And "button" element with "text" "age-appropriate REWS" should be visible 7s 264ms

And I click on element 1s 268ms

Then "aside" element with "aria-label" "REWS calculator" should be visible 48ms

And "button" element with "text" "Calculate REWS" should be visible 41ms

And "aside" element with "id" "side-panel" should be hidden 22ms

And "button" element with "aria-label" "Hide contents" should be hidden 11ms

Given "button" element with "aria-label" "Close REWS calculator" should be visible 41ms

When I click on element 1s 13ms

And I wait for 2 seconds 2s 34ms

Then "aside" element with "aria-label" "REWS calculator" should be hidden 15ms

And "button" element with "text" "Calculate REWS" should be hidden 8ms

And "aside" element with "id" "side-panel" should be visible 38ms

And "button" element with "aria-label" "Hide contents" should be visible 39ms

Given I visit "http://localhost:3000/site/calculator" 6s 520ms

And I wait for 2 seconds 2s 23ms

Then the page heading should be "REWS Calculator" 216ms

Then the age range list should offer these patient categories: 972ms
category
13 years and over
Obstetric (more than 20 weeks pregnant)
Paediatric 0–3 months
Paediatric 4–11 months
Paediatric 1–4 years
Paediatric 5–12 years

And choosing each of these patient tables should show its fields: 11s 47ms
age_range table_value label
13 years and over rews-table-adult Level of consciousness (AVPU)
13 years and over rews-table-adult Respiratory rate (breaths/min)
13 years and over rews-table-adult Oâ‚‚ sats (%)
13 years and over rews-table-adult Pulse (bpm)
13 years and over rews-table-adult Systolic BP (mmHg)
13 years and over rews-table-adult Temperature (°C)
Obstetric rews-table-obstetric Level of consciousness (AVPU)
Obstetric rews-table-obstetric Respiratory rate (breaths/min)
Obstetric rews-table-obstetric Oâ‚‚ needed to keep Oâ‚‚ sats 94% or more
Obstetric rews-table-obstetric Pulse (bpm)
Obstetric rews-table-obstetric Systolic BP (mmHg)
Obstetric rews-table-obstetric Diastolic BP (mmHg)
Obstetric rews-table-obstetric Temperature (°C)
Paediatric 0–3 months rews-table-0-3mo Level of consciousness (AVPU)
Paediatric 0–3 months rews-table-0-3mo Respiratory distress
Paediatric 0–3 months rews-table-0-3mo Respiratory rate (breaths/min)
Paediatric 0–3 months rews-table-0-3mo O₂ sats (%)
Paediatric 0–3 months rews-table-0-3mo O₂ needed – nasal prongs
Paediatric 0–3 months rews-table-0-3mo Pulse (bpm)
Paediatric 0–3 months rews-table-0-3mo Capillary refill
Paediatric 0–3 months rews-table-0-3mo Temperature (°C)
Paediatric 4–11 months rews-table-4-11mo Level of consciousness (AVPU)
Paediatric 4–11 months rews-table-4-11mo Respiratory distress
Paediatric 4–11 months rews-table-4-11mo Respiratory rate (breaths/min)
Paediatric 4–11 months rews-table-4-11mo O₂ sats (%)
Paediatric 4–11 months rews-table-4-11mo O₂ needed – nasal prongs
Paediatric 4–11 months rews-table-4-11mo Pulse (bpm)
Paediatric 4–11 months rews-table-4-11mo Capillary refill
Paediatric 4–11 months rews-table-4-11mo Temperature (°C)
Paediatric 1–4 years rews-table-1-4yr Level of consciousness (AVPU)
Paediatric 1–4 years rews-table-1-4yr Respiratory distress
Paediatric 1–4 years rews-table-1-4yr Respiratory rate (breaths/min)
Paediatric 1–4 years rews-table-1-4yr O₂ sats (%)
Paediatric 1–4 years rews-table-1-4yr O₂ needed – nasal prongs
Paediatric 1–4 years rews-table-1-4yr Pulse (bpm)
Paediatric 1–4 years rews-table-1-4yr Capillary refill
Paediatric 1–4 years rews-table-1-4yr Temperature (°C)
Paediatric 5–12 years rews-table-5-12yr Level of consciousness (AVPU)
Paediatric 5–12 years rews-table-5-12yr Respiratory distress
Paediatric 5–12 years rews-table-5-12yr Respiratory rate (breaths/min)
Paediatric 5–12 years rews-table-5-12yr O₂ sats (%)
Paediatric 5–12 years rews-table-5-12yr O₂ needed – nasal prongs
Paediatric 5–12 years rews-table-5-12yr Pulse (bpm)
Paediatric 5–12 years rews-table-5-12yr Capillary refill
Paediatric 5–12 years rews-table-5-12yr Temperature (°C)

Given I visit "http://localhost:3000/site/calculator" 2s 662ms

And I wait for 2 seconds 2s 207ms

Then the page heading should be "REWS Calculator" 220ms

Then each of these entries should show its error message: 22s 492ms
age_range table_value field_id value message
13 years and over rews-table-adult respiratory-rate abc Enter numbers only (up to 3 digits)
13 years and over rews-table-adult respiratory-rate 201 Value outside of range. Please review.
13 years and over rews-table-adult systolic-blood-pressure 120.5 Enter a whole number.
13 years and over rews-table-adult temperature 36.75 Use no more than 1 decimal places.
Obstetric rews-table-obstetric diastolic-blood-pressure 301 Value outside of range. Please review.
Obstetric rews-table-obstetric pulse #$ Enter numbers only (up to 3 digits)
Paediatric 0–3 months rews-table-0-3mo oxygen-saturation 101 Value outside of range. Please review.
Paediatric 4–11 months rews-table-4-11mo respiratory-rate 16.5 Enter a whole number.
Paediatric 1–4 years rews-table-1-4yr pulse 301 Value outside of range. Please review.
Paediatric 5–12 years rews-table-5-12yr temperature 46 Value outside of range. Please review.

And each of these entries should be accepted without an error message: 10s 61ms
age_range table_value field_id value
13 years and over rews-table-adult temperature 36.7
Obstetric rews-table-obstetric diastolic-blood-pressure 300
Paediatric 5–12 years rews-table-5-12yr respiratory-rate 200

Given I visit "http://localhost:3000/site/calculator" 2s 267ms

And I wait for 2 seconds 2s 28ms

Then the page heading should be "REWS Calculator" 58ms

Then the REWS for "13 years and over" should give these results: 28s 129ms
avpu respiratory_rate oxygen_saturation pulse systolic_bp temperature expected_total expected_response_key expected_action expected_values expected_scores
voice 21 95 100 120 37 2 Low Low risk Voice,21 / min,95%,100 / min,120 mmHg,37 °C 1,1,0,0,0,0
voice 31 95 100 120 37 3 Medium Further assessment required Voice,31 / min,95%,100 / min,120 mmHg,37 °C 1,2,0,0,0,0
voice 31 95 100 120 38 4 Medium Further assessment required Voice,31 / min,95%,100 / min,120 mmHg,38 °C 1,2,0,0,0,1
pain 21 95 100 120 38 5 High Urgent action and medical consult required Pain,21 / min,95%,100 / min,120 mmHg,38 °C 3,1,0,0,0,1
voice 31 90 111 90 38.6 10 High Urgent action and medical consult required Voice,31 / min,90%,111 / min,90 mmHg,38.6 °C 1,2,1,2,2,2
pain 8 84 40 120 37 12 High Urgent action and medical consult required Pain,8 / min,84%,40 / min,120 mmHg,37 °C 3,3,3,3,0,0

Given I visit "http://localhost:3000/site/calculator" 7s 587ms

And I wait for 2 seconds 2s 78ms

Then the page heading should be "REWS Calculator" 166ms

Then the REWS for "Paediatric 5–12 years" should give these results: 22s 920ms
avpu respiratory_distress respiratory_rate oxygen_saturation oxygen_nasal_prongs pulse capillary_refill temperature expected_total expected_response_key expected_action expected_message expected_text_below_rews_total expected_guidance_link_text expected_values expected_scores
alert normal 25 95 < 2 L/min 110 < 2 sec 37 0 Low Low risk Medical consult Paediatric 5–12 years View REWS reference table for Paediatric 5–12 years Alert,Normal,25 / min,95%,< 2 L/min,110 / min,< 2 sec,37 °C 0,0,0,0,0,0,0,0
alert severe 25 95 < 2 L/min 110 < 2 sec 37 3 Medium Medical consult Early management of sepsis Paediatric 5–12 years View REWS reference table for Paediatric 5–12 years Alert,Severe,25 / min,95%,< 2 L/min,110 / min,< 2 sec,37 °C 0,3,0,0,0,0,0,0
alert severe 30 95 < 2 L/min 110 < 2 sec 37 4 Medium Medical consult Early management of sepsis Paediatric 5–12 years View REWS reference table for Paediatric 5–12 years Alert,Severe,30 / min,95%,< 2 L/min,110 / min,< 2 sec,37 °C 0,3,1,0,0,0,0,0
alert mild 35 95 ≥ 2 L/min 140 < 2 sec 37 7 High Urgent action and medical consult required Early management of sepsis Paediatric 5–12 years View REWS reference table for Paediatric 5–12 years Alert,Mild,35 / min,95%,≥ 2 L/min,140 / min,< 2 sec,37 °C 0,1,2,0,2,2,0,0

Given I visit "http://localhost:3000/site/calculator" 6s 730ms

And I wait for 2 seconds 2s 38ms

Then the page heading should be "REWS Calculator" 148ms

Then the REWS for "Obstetric" should give these results: 18s 414ms
avpu respiratory_rate oxygen_level pulse systolic_bp diastolic_bp temperature expected_total expected_response_key expected_action expected_values expected_scores expected_message expected_text_below_rews_total expected_guidance_link_text
alert 16 < 2 L/min 80 120 70 37 0 Low Low risk Alert,16 / min,< 2 L/min,80 / min,120 mmHg,70 mmHg,37 °C 0,0,0,0,0,0,0 Medical consult Obstetric (more than 20 weeks pregnant) View REWS reference table for Obstetric (more than 20 weeks pregnant)
alert 21 < 2 L/min 110 140 90 37 3 Medium Further assessment required Alert,21 / min,< 2 L/min,110 / min,140 mmHg,90 mmHg,37 °C 0,1,0,0,1,1,0 Early management of sepsis Obstetric (more than 20 weeks pregnant) View REWS reference table for Obstetric (more than 20 weeks pregnant)
alert 21 2–4 L/min 110 140 90 37 5 High Urgent action and medical consult required Alert,21 / min,2–4 L/min,110 / min,140 mmHg,90 mmHg,37 °C 0,1,2,0,1,1,0 Early management of sepsis Obstetric (more than 20 weeks pregnant) View REWS reference table for Obstetric (more than 20 weeks pregnant)

Given I visit "http://localhost:3000/site/calculator" 7s 529ms

And I wait for 2 seconds 2s 64ms

Then the page heading should be "REWS Calculator" 142ms

Given "div" element with "id" "patient-table" should be visible 88ms

When I click on element 1s 242ms

And "li" element with "data-value" "rews-table-obstetric" should be visible 111ms

And I click on element 1s 248ms

And "div" element with "id" "level-of-consciousness" should be visible 111ms

And I click on element 1s 721ms

And "li" element with "data-value" "alert" should be visible 100ms

And I click on element 1s 240ms

And "input" element with "id" "respiratory-rate" should be visible 130ms

And I enter "21" 190ms

And "button" element with "text" "2–4 L/min" should be visible 426ms

And I click on element 1s 20ms

And "input" element with "id" "pulse" should be visible 94ms

And I enter "110" 195ms

And "input" element with "id" "systolic-blood-pressure" should be visible 170ms

And I enter "140" 230ms

And "input" element with "id" "diastolic-blood-pressure" should be visible 180ms

And I enter "90" 267ms

And "input" element with "id" "temperature" should be visible 110ms

And I enter "37" 251ms

And "button" element with "text" "Calculate REWS" should be visible 162ms

And I click on element 1s 107ms

And element with "data-testid" "rews-total-score" and "full text" "5" should be visible 84ms

And the "Clear All" button should be enabled 34ms

When "button" element containing text "text" "Clear All" should be visible 51ms

And I click on element 1s 179ms

Then element with "id" "patient-table" and "full text" "Select patient table" should be visible 1m 10s 4ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (C:\agent\_work\59\s\node_modules\@cucumber\cucumber\lib\user_code_runner.js:63:28) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)

Given I visit "http://localhost:3000/site/calculator" 3s 882ms

And I wait for 2 seconds 2s 20ms

Then the page heading should be "REWS Calculator" 75ms

Given "div" element with "id" "patient-table" should be visible 167ms

When I click on element 991ms

And "li" element with "data-value" "rews-table-obstetric" should be visible 50ms

And I click on element 1s 24ms

And "input" element with "id" "respiratory-rate" should be visible 39ms

And I enter "abc" 108ms

And "input" element with "id" "pulse" should be visible 39ms

And I enter "110" 94ms

And "*" element with "text" "Enter numbers only (up to 3 digits)" should be visible 38ms

When "button" element containing text "text" "Clear All" should be visible 41ms

And I click on element 931ms

Then "*" element with "text" "Enter numbers only (up to 3 digits)" should not be visible 8ms

And "input" element with "id" "respiratory-rate" should not be visible 8ms Show Error +
                                            
AssertionError + expected - actual -1 +0 at World.(anonymous) (C:\agent\_work\59\s\features\step_definitions\visibility-steps.js:302:32) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Given I visit "http://localhost:3000/site/calculator" 2s 506ms

And I wait for 2 seconds 2s 13ms

Then the page heading should be "REWS Calculator" 53ms

Given "div" element with "id" "patient-table" should be visible 33ms

When I click on element 935ms

And "li" element with "data-value" "rews-table-obstetric" should be visible 31ms

And I click on element 931ms

And "input" element with "id" "respiratory-rate" should be visible 33ms

And I enter "21" 90ms

When "button" element containing text "text" "Clear All" should be visible 36ms

And I click on element 2s 208ms

Then "h1" element with "text" "REWS Calculator" should be visible 113ms

And "div" element with "id" "patient-table" should be visible 135ms

And "button" element with "text" "Calculate REWS" should be visible 120ms

And element with "data-testid" "rews-results" should be visible 132ms

And the "Clear All" button should be disabled 106ms

Given I visit "http://localhost:3000/community" 6s 220ms

And I wait for 3 seconds 3s 806ms

And "h1" element with "text" "Community" should be visible 39ms

Given "button" element with "id" "community-tab-0" 39ms

When I click on element 910ms

And I wait for 2 seconds 2s 74ms

Then element with "id" "community-tab-0" and "aria-selected" "true" should be visible 60ms

And "h2" element with "text" "Using the RPHCM" should be visible 111ms

Given I visit "http://localhost:3000/community" 2s 541ms

And I wait for 3 seconds 3s 9ms

And "h1" element with "text" "Community" should be visible 3s 883ms

Given "button" element with "id" "community-tab-1" 146ms

When I click on element 1s 171ms

And I wait for 2 seconds 2s 40ms

Then element with "id" "community-tab-1" and "aria-selected" "true" should be visible 63ms

And "h2" element with "text" "Project team" should be visible 77ms

Given I visit "http://localhost:3000/community" 4s 987ms

And I wait for 3 seconds 3s 60ms

And "h1" element with "text" "Community" should be visible 207ms

Given "button" element with "id" "community-tab-2" 47ms

When I click on element 960ms

And I wait for 2 seconds 2s 22ms

Then element with "id" "community-tab-2" and "aria-selected" "true" should be visible 41ms

And "h2" element with "text" "Editorial committee" should be visible 46ms

Given I visit "http://localhost:3000/community" 2s 999ms

And I wait for 3 seconds 3s 14ms

And "h1" element with "text" "Community" should be visible 48ms

Given "button" element with "id" "community-tab-3" 40ms

When I click on element 1s 33ms

And I wait for 2 seconds 2s 25ms

Then element with "id" "community-tab-3" and "aria-selected" "true" should be visible 92ms

And "h2" element with "text" "Reviewers" should be visible 84ms

Given I visit "http://localhost:3000/community" 5s 537ms

And I wait for 3 seconds 3s 388ms

And "h1" element with "text" "Community" should be visible 3s 967ms

Given "button" element with "id" "community-tab-4" 100ms

When I click on element 967ms

And I wait for 2 seconds 2s 50ms

Then element with "id" "community-tab-4" and "aria-selected" "true" should be visible 60ms

And "h2" element with "text" "Become a reviewer" should be visible 87ms

Given I visit "http://localhost:3000/" 6s 300ms

Given "a" element with "text" "Conditions of use and disclaimer" 5s 482ms

Then I scroll to element 31ms

And I click on element 3s 124ms

And I wait for 2 seconds 2s 21ms

Then "h1" element with "text" "Conditions of use and disclaimer" should be visible 56ms

Given I visit "http://localhost:3000/" 7s 504ms

Given "a" element with "text" "Privacy policy" 7s 183ms

Then I scroll to element 30ms

And I click on element 1s 146ms

And I wait for 2 seconds 2s 12ms

Then "h1" element with "text" "Privacy policy" should be visible 34ms

Given I visit "http://localhost:3000/" 4s 560ms

Given "a" element with "text" "Copyright permission" 6s 680ms

Then I scroll to element 27ms

And I click on element 1s 123ms

And I wait for 2 seconds 2s 12ms

Then "h1" element with "text" "Copyright permission" should be visible 36ms

Given I visit "http://localhost:3000/" 6s 713ms

Given "a" element with "text" "Licence agreement" 2s 100ms

Then I scroll to element 59ms

And I click on element 1s 139ms

And I wait for 2 seconds 2s 43ms

Then "h1" element with "text" "Licence agreement" should be visible 69ms

Given I visit "http://localhost:3000/" 2s 874ms

Given "a" element with "text" "Support" 4s 631ms

Then I scroll to element 57ms

And I click on element 1s 16ms

And I wait for 2 seconds 2s 84ms

Then "h1" element with "text" "Support" should be visible 81ms

Given I visit "http://localhost:3000/" 2s 400ms

Given "a" element with "text" "Frequently asked questions (FAQs)" 2s 876ms

Then I scroll to element 25ms

And I click on element 1s 279ms

And I wait for 2 seconds 2s 35ms

Then "h1" element with "text" "Frequently asked questions (FAQs)" should be visible 30ms

Given I visit "http://localhost:3000/" 2s 444ms

When I wait for 3 seconds 3s 64ms

Given element with "text" "Manuals" 71ms

When I click on element 1s 263ms

When I wait for 3 seconds 3s 9ms

Then the menu should display the following items: 9ms
CARPA Standard Treatment Manual

Given I visit "http://localhost:3000/" 10s 167ms

When I wait for 3 seconds 3s 275ms

Given element with "text" "Manuals" 103ms

When I click on element 985ms

When I wait for 3 seconds 3s 15ms

Then the menu should display the following items: 13ms
Women's Business Manual

Given I visit "http://localhost:3000/" 9s 625ms

When I wait for 3 seconds 3s 184ms

Given element with "text" "Manuals" 166ms

When I click on element 996ms

When I wait for 3 seconds 3s 14ms

Then the menu should display the following items: 9ms
Clinical Procedures Manual

Given I visit "http://localhost:3000/" 8s 820ms

When I wait for 3 seconds 3s 648ms

Given element with "text" "Manuals" 117ms

When I click on element 898ms

When I wait for 3 seconds 3s 25ms

Then the menu should display the following items: 13ms
Medicines Book

Given I visit "http://localhost:3000/" 8s 724ms

When I wait for 3 seconds 3s 289ms

Given element with "text" "Tools" 1s 913ms

When I click on element 938ms

When I wait for 3 seconds 3s 42ms

Then the menu should display the following items: 13ms
Dosing tables

Given I visit "http://localhost:3000/" 8s 37ms

When I wait for 3 seconds 3s 213ms

Given element with "text" "Tools" 126ms

When I click on element 993ms

When I wait for 3 seconds 3s 24ms

Then the menu should display the following items: 14ms
Remote Early Warning Score (REWS) Calculator

Given I visit "http://localhost:3000/" 8s 250ms

When I wait for 3 seconds 3s 10ms

Given element with "text" "Tools" 40ms

When I click on element 1s 8ms

When I wait for 3 seconds 3s 190ms

Then the menu should display the following items: 18ms
Clinical observations

Given I visit "http://localhost:3000/" 3s 139ms

When I wait for 3 seconds 3s 17ms

Given element with "text" "Tools" 4s 163ms

When I click on element 991ms

When I wait for 3 seconds 3s 31ms

Then the menu should display the following items: 13ms
Printable resources

Given I visit "http://localhost:3000/" 3s 219ms

When I wait for 3 seconds 3s 23ms

Given element with "text" "Resources" 4s 345ms

When I click on element 1s 21ms

When I wait for 3 seconds 3s 42ms

Then the menu should display the following items: 12ms
Resources

Given I visit "http://localhost:3000/" 3s 470ms

When I wait for 3 seconds 3s 15ms

Given element with "text" "Resources" 4s 352ms

When I click on element 1s 79ms

When I wait for 3 seconds 3s 19ms

Then the menu should display the following items: 8ms
Cultural safety

Given I visit "http://localhost:3000/" 2s 931ms

When I wait for 3 seconds 3s 26ms

Given element with "text" "Resources" 4s 288ms

When I click on element 1s 76ms

When I wait for 3 seconds 3s 41ms

Then the menu should display the following items: 13ms
Working in remote clinics

Given I visit "http://localhost:3000/" 4s 706ms

When I wait for 3 seconds 3s 11ms

Given element with "text" "Resources" 4s 79ms

When I click on element 963ms

When I wait for 3 seconds 3s 25ms

Then the menu should display the following items: 12ms
Terminology

Given I visit "http://localhost:3000/" 5s 510ms

When I wait for 3 seconds 3s 33ms

Given element with "text" "Resources" 75ms

When I click on element 998ms

When I wait for 3 seconds 3s 28ms

Then the menu should display the following items: 15ms
External resources

Given I visit "http://localhost:3000/" 2s 827ms

When I wait for 3 seconds 3s 691ms

Given element with "text" "Resources" 71ms

When I click on element 1s 273ms

When I wait for 3 seconds 3s 18ms

Then the menu should display the following items: 9ms
Training

Given I visit "http://localhost:3000/" 2s 543ms

When I wait for 3 seconds 3s 66ms

Given element with "text" "Community" 2s 351ms

When I click on element 926ms

When I wait for 3 seconds 3s 25ms

Then the menu should display the following items: 17ms
About RPHCM

Given I visit "http://localhost:3000/" 3s 685ms

When I wait for 3 seconds 3s 420ms

Given element with "text" "Community" 4s 339ms

When I click on element 1s 149ms

When I wait for 3 seconds 3s 30ms

Then the menu should display the following items: 32ms
Become a reviewer

Given I visit "http://localhost:3000/" 2s 812ms

Given "h3" element with "text" "CARPA Standard Treatment Manual" should be visible 2s 949ms

When I scroll to element 54ms

And I click on element 1s 331ms

Then "h1" element with "text" "CARPA Standard Treatment Manual" should be visible 482ms

Given I visit "http://localhost:3000/" 2s 491ms

Given "h3" element with "text" "Minymaku Kutju Tjukurpa Women's Business Manual" should be visible 4s 806ms

When I scroll to element 113ms

And I click on element 1s 58ms

Then "h1" element with "text" "Minymaku Kutju Tjukurpa Women's Business Manual" should be visible 994ms

Given I visit "http://localhost:3000/" 3s 22ms

Given "h3" element with "text" "Clinical Procedures Manual" should be visible 3s 452ms

When I scroll to element 33ms

And I click on element 1s 139ms

Then "h1" element with "text" "Clinical Procedures Manual" should be visible 1s 103ms

Given I visit "http://localhost:3000/" 3s 346ms

Given "h3" element with "text" "Medicines Book for Aboriginal and Torres Strait Islander Health Practitioners" should be visible 3s 286ms

When I scroll to element 30ms

And I click on element 1s 153ms

Then "h1" element with "text" "Medicines Book for Aboriginal and Torres Strait Islander Health Practitioners" should be visible 427ms

Given I visit "http://localhost:3000/manual/minymaku" 3s 996ms

Given "p" element with "text" "Gynaecology" should be visible 3s 515ms

When I click on element 1s 359ms

Then "p" element with "text" "Women’s health" should be visible 317ms

When I click on element 980ms

Then "p" element with "text" "Menopause" should be visible 277ms

When I click on element 1s 126ms

And "h1" element with "text" "Menopause" should be visible 86ms

Given I visit "http://localhost:3000/manual/minymaku" 3s 876ms

Given "p" element with "text" "Postnatal" should be visible 3s 174ms

When I click on element 1s 298ms

Then "p" element with "text" "Infant feeding" should be visible 270ms

When I click on element 1s 44ms

Then "p" element with "text" "Breastfeeding" should be visible 95ms

When I click on element 1s 143ms

And "h1" element with "text" "Breastfeeding" should be visible 63ms

Given I visit "http://localhost:3000/manual/minymaku" 4s 794ms

Given "p" element with "text" "Postnatal" should be visible 2s 515ms

When I click on element 949ms

Then "p" element with "text" "Mother" should be visible 261ms

When I click on element 1s 42ms

Then "p" element with "text" "Postnatal care of mother" should be visible 79ms

When I click on element 1s 72ms

And "h1" element with "text" "Postnatal care of mother" should be visible 114ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 4s 470ms

And I wait for 2 seconds 2s 19ms

Then "h1" element with "text" "Browse A-Z" should be visible 1s 821ms

And "span" element with "text" "A" should be visible 64ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 2s 905ms

And I wait for 2 seconds 2s 32ms

Then "h1" element with "text" "Browse A-Z" should be visible 3s 947ms

And "span" element with "text" "B" should be visible 30ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 6s 817ms

And I wait for 2 seconds 2s 44ms

Then "h1" element with "text" "Browse A-Z" should be visible 9s 859ms

And "span" element with "text" "F" should be visible 75ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 6s 557ms

And I wait for 2 seconds 2s 50ms

Then "h1" element with "text" "Browse A-Z" should be visible 9s 502ms

And "span" element with "text" "I" should be visible 98ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 5s 963ms

And I wait for 2 seconds 2s 59ms

Then "h1" element with "text" "Browse A-Z" should be visible 1s 346ms

And "span" element with "text" "M" should be visible 33ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 6s 77ms

And I wait for 2 seconds 2s 35ms

Then "h1" element with "text" "Browse A-Z" should be visible 5s 981ms

And "span" element with "text" "N" should be visible 82ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 5s 47ms

And I wait for 2 seconds 2s 45ms

Then "h1" element with "text" "Browse A-Z" should be visible 8s 539ms

And "span" element with "text" "P" should be visible 75ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 4s 493ms

And I wait for 2 seconds 2s 9ms

Then "h1" element with "text" "Browse A-Z" should be visible 4s 977ms

And "span" element with "text" "W" should be visible 90ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 6s 282ms

And I wait for 2 seconds 2s 15ms

Then "h6" element with "text" "Browse by medicine class" should be visible 1s 761ms

And element containing text "text" "Anti-infectives (antibiotics, worm medicines)" should be visible 114ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 3s 205ms

And I wait for 2 seconds 2s 138ms

Then "h6" element with "text" "Browse by medicine class" should be visible 2s 604ms

And element containing text "text" "Blood and electrolytes" should be visible 92ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 3s 25ms

And I wait for 2 seconds 2s 31ms

Then "h6" element with "text" "Browse by medicine class" should be visible 3s 803ms

And element containing text "text" "Cardiovascular (heart)" should be visible 47ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 2s 967ms

And I wait for 2 seconds 2s 78ms

Then "h6" element with "text" "Browse by medicine class" should be visible 5s 92ms

And element containing text "text" "Ear, nose and throat" should be visible 112ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 6s 338ms

And I wait for 2 seconds 3s 234ms

Then "h6" element with "text" "Browse by medicine class" should be visible 347ms

And element containing text "text" "Endocrine (diabetes, thyroid, calcium regulation)" should be visible 62ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 2s 681ms

And I wait for 2 seconds 2s 205ms

Then "h6" element with "text" "Browse by medicine class" should be visible 3s 302ms

And element containing text "text" "Infections" should be visible 65ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 3s 52ms

And I wait for 2 seconds 2s 39ms

Then "h6" element with "text" "Browse by medicine class" should be visible 7s 824ms

And element containing text "text" "Musculoskeletal" should be visible 102ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 2s 504ms

And I wait for 2 seconds 2s 11ms

Then "h6" element with "text" "Browse by medicine class" should be visible 8s 494ms

And element containing text "text" "Neurological" should be visible 253ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 2s 205ms

And I wait for 2 seconds 2s 20ms

And element with "aria-label" "Browse medicines starting with A" should be visible 7s 574ms

When I click on element 986ms

And I wait for 4 seconds 4s 18ms

And "a" element with "text" "Antiplatelets" should be visible 45ms

When I click on element 993ms

And I wait for 2 seconds 2s 18ms

And element with "text" "Antiplatelets" should be visible 49ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 3s 138ms

And I wait for 2 seconds 2s 18ms

And element with "aria-label" "Browse medicines starting with F" should be visible 6s 164ms

When I click on element 1s 11ms

And I wait for 4 seconds 4s 29ms

And "a" element with "text" "Fluconazole" should be visible 53ms

When I click on element 1s 97ms

And I wait for 2 seconds 2s 91ms

And element with "text" "Fluconazole" should be visible 156ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 6s 567ms

And I wait for 2 seconds 2s 23ms

And element with "aria-label" "Browse medicines starting with M" should be visible 6s 401ms

When I click on element 1s 278ms

And I wait for 4 seconds 4s 37ms

And "a" element with "text" "Metronidazole" should be visible 116ms

When I click on element 1s 153ms

And I wait for 2 seconds 2s 23ms

And element with "text" "Metronidazole" should be visible 40ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 7s 538ms

And I wait for 2 seconds 2s 62ms

And element with "aria-label" "Browse medicines starting with I" should be visible 5s 738ms

When I click on element 1s 43ms

And I wait for 4 seconds 4s 36ms

And "a" element with "text" "Insulins" should be visible 69ms

When I click on element 1s 147ms

And I wait for 2 seconds 2s 16ms

And element with "text" "Insulins" should be visible 41ms

Given I visit "http://localhost:3000/manual/medicines/page/browse-a-z" 4s 723ms

And I wait for 2 seconds 2s 38ms

And element with "aria-label" "Browse medicines starting with P" should be visible 7s 441ms

When I click on element 1s 190ms

And I wait for 4 seconds 4s 28ms

And "a" element with "text" "Pyrantel" should be visible 67ms

When I click on element 2s 20ms

And I wait for 2 seconds 2s 19ms

And element with "text" "Pyrantel" should be visible 86ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/burns" 5s 37ms

And I wait for 3 seconds 3s 17ms

And "button" element with "text" "Cite" should be visible 1s 858ms

When I click on element 1s 125ms

Then "h2" element with "text" "Citation" should be visible 88ms

Given I visit "http://localhost:3000/manual/minymaku/page/breastfeeding" 4s 789ms

And I wait for 3 seconds 3s 29ms

And "button" element with "text" "Cite" should be visible 363ms

When I click on element 1s 110ms

Then "h2" element with "text" "Citation" should be visible 45ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/injuries-soft-tissue" 2s 750ms

And I wait for 3 seconds 3s 19ms

And "button" element with "text" "Cite" should be visible 39ms

When I click on element 963ms

Then "h2" element with "text" "Citation" should be visible 39ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/burns" 2s 355ms

And I wait for 3 seconds 3s 15ms

And "h2" element with "text" "Do first" should be visible 8s 344ms

When I scroll to element 117ms

And "button" element with "aria-label" "Cite section: Do first" should be visible 69ms

And I click on element 1s 278ms

Then "h2" element with "text" "Citation" should be visible 70ms

Given I visit "http://localhost:3000/manual/minymaku/page/breastfeeding" 2s 772ms

And I wait for 3 seconds 3s 13ms

And "h2" element with "text" "Supporting breastfeeding" should be visible 6s 976ms

When I scroll to element 32ms

And "button" element with "aria-label" "Cite section: Supporting breastfeeding" should be visible 75ms

And I click on element 1s 180ms

Then "h2" element with "text" "Citation" should be visible 93ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/injuries-soft-tissue" 3s 883ms

And I wait for 3 seconds 3s 19ms

And "h2" element with "text" "Check" should be visible 5s 753ms

When I scroll to element 148ms

And "button" element with "aria-label" "Cite section: Check" should be visible 69ms

And I click on element 1s 137ms

Then "h2" element with "text" "Citation" should be visible 107ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/injuries-soft-tissue#c_stm_injuries_soft_tissue_topic-1_stem" 6s 66ms

And I wait for 3 seconds 3s 231ms

Given "a" element with "href" "/manual/carpa-stm/page/injuries-soft-tissue#table_stm_injuries-soft-tissue_4" should be visible 1s 538ms

When I scroll to element 90ms

And I click on element 1s 194ms

And I wait for 2 seconds 2s 13ms

And "a" element with "text" "Antibiotics for soft tissue injuries by wound type" should be visible 29ms

Then the page fragment should be "table_stm_injuries-soft-tissue_4" 4ms

And "caption" element containing text "text" "Antibiotics for soft tissue injuries by wound type" should be visible 30ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/injuries-soft-tissue#c_stm_injuries_soft_tissue_topic-1_stem" 8s 94ms

And I wait for 3 seconds 4s 179ms

Given I am on the page before opening a new tab 2ms

And "a" element containing text "text" "Children’s Health Queensland Paediatric Antibiocard: Empirical Antibiotic Guidelines" should be visible 1s 302ms

When I scroll to element 44ms

And I click on element 916ms

Then new tab should be opened 10ms

And url should contain "health.qld.gov.au/qcg" 2s 620ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/injuries-soft-tissue#c_stm_injuries_soft_tissue_topic-1_stem" 8s 387ms

And I wait for 3 seconds 3s 81ms

Given I am on the page before opening a new tab 6ms

And "a" element containing text "text" "Management of water-immersed wound infections in children" should be visible 3s 384ms

When I scroll to element 75ms

And I click on element 1s 123ms

Then new tab should be opened 36ms

And url should contain "health.qld.gov.au/qcg" 853ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/injuries-soft-tissue#c_stm_injuries_soft_tissue_topic-1_stem" 7s 319ms

And I wait for 3 seconds 3s 43ms

Given I am on the page before opening a new tab 6ms

And "a" element containing text "text" "Primary Care Manual Emergency, 10th edition" should be visible 4s 405ms

When I scroll to element 89ms

And I click on element 1s 362ms

Then new tab should be opened 1s 225ms

And url should contain "publications.qld.gov.au" 13ms

Given I visit "https://test.rphcm.tg.org.au/manual/carpa-stm/page/burns" 8s 339ms

And I wait for 2 seconds 2s 62ms

Given "section" element with "data-dita-element" "example" should be visible 4s 770ms

When I scroll to element 74ms

Then element should have css "border" "2px solid rgb(223, 229, 223)" 10ms

And "h4" element with "full text" "Example – working out fluids needed" should be visible 34ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/early-recognition-of-sepsis#c_shared_early_recognition_of_sepsis_topic-1_stem" 7s 868ms

And I wait for 2 seconds 2s 45ms

Then "div" element with "role" "note" should be visible 4s 342ms

When I scroll to element 87ms

And "span" element with "text" "medical consult" should be visible 72ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/early-recognition-of-sepsis#c_shared_early_recognition_of_sepsis_topic-1_stem" 3s 800ms

And I wait for 2 seconds 2s 42ms

Then "h4" element with "text" "Patient 12 years and younger" should be visible 5s 908ms

When I scroll to element 85ms

Then "div" element with "role" "note" after the element should be visible 32ms

And element should have css "background-color" "rgb(253, 237, 237)" 15ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/early-recognition-of-sepsis#c_shared_early_recognition_of_sepsis_topic-1_stem" 3s 165ms

And I wait for 2 seconds 2s 31ms

Then "img" element with "aria-hidden" "true" should be visible 6s 602ms

And "img" element with "width" "28" should be visible 59ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/early-recognition-of-sepsis#c_shared_early_recognition_of_sepsis_topic-1_stem" 3s 449ms

And I wait for 2 seconds 2s 26ms

Given I visit "https://test.rphcm.tg.org.au/manual/carpa-stm/page/acute-assessment-of-breathing-problems-in-adults#c_stm_acute_assessment_of_breathing_problems_in_adults_topic-1_stem" 357ms

And I wait for 2 seconds 2s 49ms

Then "div" element with "text" "is recommended where there is no specific protocol for a condition" should be visible 3s 572ms

When I scroll to element 47ms

Then element should be wrapped in "div" element with "role" "note" 58ms

When I get parent element 9ms

Then element should have css "background-color" "rgb(255, 244, 229)" 12ms

And "span" element with "data-dita-outputclass" "medical-consult" should be visible 39ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/pain-management-acute" 3s 21ms

And I wait for 3 seconds 3s 44ms

And "a" element with "full text" "Red flags – urgent medical consult" should be visible 1s 477ms

When I scroll to element 64ms

And I click on element 1s 106ms

And I wait for 2 seconds 2s 63ms

Then "h2" element with "text" "Red flags – urgent medical consult" should be visible 62ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/pain-management-acute" 2s 880ms

And I wait for 3 seconds 3s 54ms

And "a" element with "full text" "Ask" should be visible 1s 929ms

When I scroll to element 53ms

And I click on element 1s 93ms

And I wait for 2 seconds 2s 25ms

Then "h2" element with "text" "Ask" should be visible 52ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/pain-management-acute" 2s 66ms

And I wait for 3 seconds 3s 20ms

And "a" element with "full text" "Check" should be visible 3s 641ms

When I scroll to element 31ms

And I click on element 1s 88ms

And I wait for 2 seconds 2s 13ms

Then "h2" element with "text" "Check" should be visible 34ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/pain-management-acute" 5s 378ms

And I wait for 3 seconds 3s 102ms

And "a" element with "full text" "Do" should be visible 2s 956ms

When I scroll to element 41ms

And I click on element 987ms

And I wait for 2 seconds 2s 122ms

Then "h2" element with "text" "Do" should be visible 1s 184ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/pain-management-acute" 5s 203ms

And I wait for 3 seconds 3s 47ms

And "a" element with "full text" "Pain medicines" should be visible 2s 844ms

When I scroll to element 70ms

And I click on element 1s 14ms

And I wait for 2 seconds 2s 125ms

Then "h2" element with "text" "Pain medicines" should be visible 872ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/pain-management-acute" 5s 874ms

And I wait for 3 seconds 3s 18ms

And "a" element with "full text" "Oral non-steroidal anti-inflammatory drugs (NSAIDs)" should be visible 39ms

When I scroll to element 26ms

And I click on element 1s 134ms

And I wait for 2 seconds 2s 65ms

Then "h2" element with "text" "Oral non-steroidal anti-inflammatory drugs (NSAIDs)" should be visible 130ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/pain-management-acute" 5s 592ms

And I wait for 3 seconds 3s 17ms

And "a" element with "full text" "References" should be visible 38ms

When I scroll to element 23ms

And I click on element 1s 129ms

And I wait for 2 seconds 2s 251ms

Then "h2" element with "text" "References" should be visible 94ms

Given I visit "http://localhost:3000/manual/medicines/page/c_mb_how_the_medicine_monographs_topic-9_stem" 2s 461ms

And I wait for 3 seconds 3s 25ms

And "a" element with "text" "Pregnant" should be visible 3s 137ms

When I scroll to element 69ms

And I click on element 918ms

And I wait for 2 seconds 2s 106ms

Then "h2" element with "text" "Pregnant" should be visible 77ms

Given I visit "http://localhost:3000/manual/medicines/page/c_mb_how_the_medicine_monographs_topic-9_stem" 7s 793ms

And I wait for 3 seconds 3s 40ms

And "a" element with "text" "Breastfeeding" should be visible 102ms

When I scroll to element 123ms

And I click on element 1s 164ms

And I wait for 2 seconds 2s 63ms

Then "h2" element with "text" "Breastfeeding" should be visible 49ms

Given I visit "http://localhost:3000/manual/medicines/page/c_mb_how_the_medicine_monographs_topic-9_stem" 6s 580ms

And I wait for 3 seconds 4s 65ms

And "a" element with "text" "Babies and children" should be visible 99ms

When I scroll to element 64ms

And I click on element 1s 196ms

And I wait for 2 seconds 2s 15ms

Then "h2" element with "text" "Babies and children" should be visible 2s 615ms

Given I visit "http://localhost:3000/manual/medicines/page/c_mb_how_the_medicine_monographs_topic-9_stem" 7s 41ms

And I wait for 3 seconds 3s 34ms

And "a" element with "text" "Old people" should be visible 142ms

When I scroll to element 78ms

And I click on element 1s 138ms

And I wait for 2 seconds 2s 12ms

Then "h2" element with "text" "Old people" should be visible 3s 600ms

Given I visit "http://localhost:3000/manual/medicines/page/c_mb_how_the_medicine_monographs_topic-9_stem" 6s 735ms

And I wait for 3 seconds 3s 52ms

And "a" element with "text" "Kidney trouble" should be visible 1s 938ms

When I scroll to element 29ms

And I click on element 934ms

And I wait for 2 seconds 2s 20ms

Then "h2" element with "text" "Kidney trouble" should be visible 1s 437ms

Given I visit "http://localhost:3000/manual/medicines/page/c_mb_how_the_medicine_monographs_topic-9_stem" 4s 170ms

And I wait for 3 seconds 3s 307ms

And "a" element with "text" "Other trouble or illnesses the patient may already have" should be visible 38ms

When I scroll to element 21ms

And I click on element 929ms

And I wait for 2 seconds 2s 17ms

Then "h2" element with "text" "Other trouble or illnesses the patient may already have" should be visible 1s 704ms

Given I visit "http://localhost:3000/manual/minymaku/page/labour-and-birth" 2s 716ms

And I wait for 3 seconds 3s 32ms

Given "button" element with "text" "Print" should be visible 107ms

When I click on element 1s 138ms

Then "h2" element with "text" "Print options" should be visible 91ms

And "span" element with "text" "Whole page" should be visible 88ms

And "span" element with "text" "Choose sections" should be visible 146ms

And "button" element with "aria-label" "Close print options" should be visible 62ms

Given I visit "http://localhost:3000/resources" 2s 975ms

And I wait for 3 seconds 3s 558ms

Given "button" element with "text" "Terminology" should be visible 44ms

When I click on element 1s 47ms

Given "button" element with "text" "Print" should be visible 87ms

When I click on element 1s 50ms

Then "h2" element with "text" "Print options" should be visible 129ms

And "span" element with "text" "Whole page" should be visible 35ms

And "span" element with "text" "Choose sections" should be visible 36ms

And "button" element with "aria-label" "Close print options" should be visible 32ms

And "button" element with "text" "Print" should be visible 27ms

Given I visit "https://test.rphcm.tg.org.au/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-2" 3s 519ms

And I wait for 2 seconds 2s 12ms

Then "article" element with "data-dita-red-flag" "true" should be visible 9s 652ms

Then element should have a "1px" "solid" "rgb(211, 47, 47)" border 51ms

And "h2" element with "text" "Red flags – urgent medical consult" should be visible 79ms

And "button" element with "aria-label" "Cite section: Red flags – urgent medical consult" should be visible 87ms

Given I visit "http://localhost:3000/resources/rews" 2s 457ms

And I wait for 2 seconds 2s 28ms

Then the page heading should be "Remote Early Warning Scores (REWS)" 91ms

Given "a" element containing text "text" "Assessing respiratory distress" should be visible 2s 470ms

When I scroll to element 23ms

And I click on element 1s 339ms

And I wait for 2 seconds 2s 16ms

Then "th" element containing text "text" "Assessing respiratory distress" should be visible 33ms

Given I visit "http://localhost:3000/resources/rews" 2s 319ms

And I wait for 2 seconds 2s 25ms

Then the page heading should be "Remote Early Warning Scores (REWS)" 97ms

Given "a" element containing text "text" "Adult REWS" should be visible 2s 976ms

When I scroll to element 23ms

And I click on element 4s 67ms

And I wait for 2 seconds 2s 26ms

Then "th" element containing text "text" "13 years and over – remote early warning score (REWS)" should be visible 132ms

Given I visit "http://localhost:3000/resources/rews" 7s 549ms

And I wait for 2 seconds 2s 142ms

Then the page heading should be "Remote Early Warning Scores (REWS)" 154ms

Given "a" element containing text "text" "Obstetric REWS" should be visible 1s 246ms

When I scroll to element 224ms

And I click on element 995ms

And I wait for 2 seconds 2s 33ms

Then "th" element containing text "text" "Obstetric – remote early warning score (REWS)" should be visible 76ms

Given I visit "http://localhost:3000/resources/rews" 5s 597ms

And I wait for 2 seconds 2s 450ms

Then the page heading should be "Remote Early Warning Scores (REWS)" 58ms

Given "a" element containing text "text" "0–3 months REWS" should be visible 1s 608ms

When I scroll to element 65ms

And I click on element 1s 45ms

And I wait for 2 seconds 2s 22ms

Then "th" element containing text "text" "Paediatric 0–3 months – Remote Early Warning Score (REWS)" should be visible 44ms

Given I visit "http://localhost:3000/resources/rews" 5s 450ms

And I wait for 2 seconds 2s 35ms

Then the page heading should be "Remote Early Warning Scores (REWS)" 297ms

Given "a" element containing text "text" "4–11 months REWS" should be visible 3s 13ms

When I scroll to element 42ms

And I click on element 2s 759ms

And I wait for 2 seconds 2s 58ms

Then "th" element containing text "text" "Paediatric 4–11 months – remote early warning score (REWS)" should be visible 117ms

Given I visit "http://localhost:3000/resources/rews" 2s 965ms

And I wait for 2 seconds 2s 13ms

Then the page heading should be "Remote Early Warning Scores (REWS)" 72ms

Given "a" element containing text "text" "1–4 years REWS" should be visible 5s 611ms

When I scroll to element 123ms

And I click on element 1s 51ms

And I wait for 2 seconds 2s 21ms

Then "th" element containing text "text" "Paediatric 1–4 years – remote early warning score (REWS)" should be visible 31ms

Given I visit "http://localhost:3000/resources/rews" 2s 966ms

And I wait for 2 seconds 2s 17ms

Then the page heading should be "Remote Early Warning Scores (REWS)" 54ms

Given "a" element containing text "text" "5–12 years REWS" should be visible 5s 929ms

When I scroll to element 31ms

And I click on element 1s 52ms

And I wait for 2 seconds 2s 11ms

Then "th" element containing text "text" "Paediatric 5–12 years – remote early warning score (REWS)" should be visible 32ms

Given I visit "http://localhost:3000/manual/minymaku/page/labour-and-birth" 8s 589ms

And I wait for 3 seconds 3s 313ms

And the "Share" page tool should be visible 190ms

When I click on element 1s 72ms

Then "h2" element with "text" "Share this page" should be visible 101ms

And "button" element with "text" "Copy link" should be visible 202ms

And "a" element with "text" "Share via email" should be visible 49ms

And "button" element with "aria-label" "Close share this page" should be visible 91ms

Given I visit "http://localhost:3000/manual/minymaku/page/labour-and-birth" 6s 86ms

And I wait for 3 seconds 3s 27ms

And the "Share" page tool should be visible 84ms

When I click on element 1s 293ms

And "button" element with "text" "Copy link" should be visible 45ms

And I click on element 903ms

Then "button" element with "text" "Copied" should be visible 32ms

Given I visit "http://localhost:3000/manual/minymaku/page/labour-and-birth" 5s 708ms

And I wait for 3 seconds 3s 145ms

And the "Share" page tool should be visible 58ms

When I click on element 934ms

And "a" element with "text" "Share via email" should be visible 31ms

And I click on element 1s 131ms

Then url should contain "labour-and-birth" 16ms

Given I visit "http://localhost:3000/" 3s 280ms

And the updates page is opened from the home page link 7s 348ms

Then the filter showing "All manuals" should offer these options: 13s 502ms
option
All manuals
CARPA Treatment
Clinical Procedures
Medicines Book
Show Error +
                                            
Error: The filter showing "All manuals": 2 of 4 not displayed - option "Clinical Procedures" | option "Medicines Book". It offers: All manuals, CARPA Treatment at World.(anonymous) (C:\agent\_work\59\s\features\step_definitions\updates-filter-steps.js:115:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Given I visit "http://localhost:3000/" 2s 688ms

And the updates page is opened from the home page link 5s 728ms

Then the filter showing "All time" should offer these options: 532ms
option
All time
Last 30 days
Last 3 months
Last 6 months
Last 12 months
Custom range

Given I visit "http://localhost:3000/" 5s 14ms

And the updates page is opened from the home page link 7s 351ms

Then choosing each of these manuals should show only its updates: 37s 742ms
manual badge excluded_badge_1 excluded_badge_2
CARPA Treatment CARPA STM CPM MB
Clinical Procedures CPM CARPA STM MB
Medicines Book MB CARPA STM CPM
Show Error +
                                            
Error: 2 of 3 rows failed - Clinical Procedures: The manual filter does not offer "Clinical Procedures" (it offers: All manuals, CARPA Treatment) | Medicines Book: The manual filter does not offer "Medicines Book" (it offers: All manuals, CARPA Treatment) at checkEachRow (C:\agent\_work\59\s\features\step_definitions\table-step-helpers.js:192:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async World.(anonymous) (C:\agent\_work\59\s\features\step_definitions\updates-filter-steps.js:129:3)

Given I visit "http://localhost:3000/" 4s 336ms

And the updates page is opened from the home page link 7s 286ms

Then clearing the filter for each of these manuals should bring back all updates: 43s 274ms
manual badge
CARPA Treatment CARPA STM
Clinical Procedures CPM
Medicines Book MB
Show Error +
                                            
Error: 2 of 3 rows failed - Clinical Procedures: The manual filter does not offer "Clinical Procedures" (it offers: All manuals, CARPA Treatment) | Medicines Book: The manual filter does not offer "Medicines Book" (it offers: All manuals, CARPA Treatment) at checkEachRow (C:\agent\_work\59\s\features\step_definitions\table-step-helpers.js:192:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async World.(anonymous) (C:\agent\_work\59\s\features\step_definitions\updates-filter-steps.js:161:3)

As a clinician
I want to open a term and see its definition in a pop-up without leaving the page
So that I keep my place in the content

Given I visit "http://localhost:3000/manual/carpa-stm/page/ear-and-hearing-problems" 5s 828ms

And I wait for 3 seconds 4s 496ms

Given "button" element with "text" "CSOM" should be visible 2s 567ms

When I click on element 1s 298ms

Then element with "role" "dialog" should be visible 198ms

And element with "text" "chronic suppurative otitis media" should be visible 3s 661ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/ear-and-hearing-problems" 5s 472ms

And I wait for 3 seconds 3s 16ms

Given "button" element with "text" "ENT" should be visible 8s 742ms

When I click on element 1s 505ms

Then element with "role" "dialog" should be visible 62ms

And element with "text" "ear, nose and throat" should be visible 66ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/ear-and-hearing-problems" 5s 128ms

And I wait for 3 seconds 3s 104ms

Given "button" element with "text" "AOMwiP" should be visible 4s 141ms

When I click on element 1s 4ms

Then element with "role" "dialog" should be visible 31ms

And element with "text" "acute otitis media with perforation" should be visible 1s 233ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/ear-and-hearing-problems" 3s 624ms

And I wait for 3 seconds 3s 284ms

Given "button" element with "text" "CSOM" should be visible 1s 542ms

When I click on element 1s 229ms

And "button" element with "aria-label" "Close csom" should be visible 47ms

And I click on element 1s 139ms

And I wait for 1 seconds 1s 139ms

Then "p" element with "data-dita-element" "glossterm" should not be visible 60ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/ear-and-hearing-problems" 4s 646ms

And I wait for 3 seconds 3s 25ms

Given "button" element with "text" "ENT" should be visible 3s 151ms

When I click on element 949ms

And "button" element with "aria-label" "Close ent" should be visible 33ms

And I click on element 918ms

And I wait for 1 seconds 1s 43ms

Then "p" element with "data-dita-element" "glossterm" should not be visible 21ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/ear-and-hearing-problems" 4s 813ms

And I wait for 3 seconds 3s 11ms

Given "span[contains(., 'azithromycin oral')]/button" element containing text "text" "doses" should be visible 1s 919ms

When I click on element 1s 187ms

Then element with "role" "dialog" should be visible 134ms

And element with "data-dita-element" "title" and "text" "Azithromycin" should be visible 57ms

Given I visit "http://localhost:3000/manual/carpa-stm/page/ear-and-hearing-problems" 4s 387ms

And I wait for 3 seconds 3s 787ms

Given "span[contains(., 'amoxicillin oral')]/button" element containing text "text" "doses" should be visible 2s 44ms

When I click on element 1s 358ms

Then element with "role" "dialog" should be visible 48ms

And element with "data-dita-element" "title" and "text" "Amoxicillin" should be visible 2s 687ms

Given I visit "http://localhost:3000/resources" 4s 372ms

And I wait for 2 seconds 2s 20ms

And the Resources page has finished loading 993ms

Given element with "id" "resources-tab-0" 68ms

When I click on element 1s 424ms

Then element with "id" "resources-tab-0" and "aria-selected" "true" should be visible 97ms

And these elements should be shown for "AC2 and AC4 Overview page": 134ms
tag attribute value
h1 text Resources
p text Clinical tools, educational materials, training links, and patient resources for remote and Indigenous primary health care
h2 text Browse resources
h4 text Cultural safety

And these elements should be shown for "AC1 Resources categories": 305ms
tag attribute value
h4 text Working in remote clinics
h4 text Cultural safety
h4 text External resources
h4 text Training
h4 text Terminology

And the standard footer should be shown 745ms

And each landing page category should open its page: 9s 192ms
category tab_id content_tag content
Cultural safety resources-tab-1 h2 Culturally appropriate health care
Working in remote clinics resources-tab-2 h2 Travelling in remote areas
Terminology resources-tab-3 h2 Glossary
External resources resources-tab-4 h2 Anaemia
Training resources-tab-5 p Links to online and face-to-face training and eLearning

Given I visit "http://localhost:3000/resources" 5s 638ms

And I wait for 2 seconds 2s 18ms

And the Resources page has finished loading 1s 755ms

Given element with "id" "resources-tab-1" 103ms

When I click on element 1s 103ms

Then element with "id" "resources-tab-1" and "aria-selected" "true" should be visible 87ms

And these elements should be shown for "AC2 and AC5 Cultural safety introduction": 537ms
tag attribute value
h2 text Cultural safety
p text Primary health care in remote and rural Australia often involves working with culturally diverse

And these elements should be shown for "AC5 Cultural safety topics": 297ms
tag attribute value
h2 text Culturally appropriate health care
h2 text Cultural beliefs
h2 text Effective communication
h2 text Consider how you question patients
h2 text Loss and grief
h2 text At end of consult, check that
h2 text Remember
h2 text References

And these elements should be shown for "AC5 Cultural safety references": 104ms
tag attribute value
* text Primary references
* text Communicating effectively with Aboriginal and Torres Strait Islander people
* href https://www.health.qld.gov.au/research-reports

And these elements should be shown for "AC5 Cultural safety tips": 44ms
tag attribute value
h3 text Tips

And the On this page menu should list these sections and take me to each: 1s 534ms
link heading
Culturally appropriate health care Culturally appropriate health care
Cultural beliefs Cultural beliefs
Effective communication Effective communication
Consider how you question patients Consider how you question patients
Loss and grief Loss and grief
At end of consult, check that At end of consult, check that
Remember Remember
References: Cultural safety References: Cultural safety

And the standard footer should be shown 315ms

Given I visit "http://localhost:3000/resources" 3s 411ms

And I wait for 2 seconds 2s 33ms

And the Resources page has finished loading 1s 970ms

Given element with "id" "resources-tab-2" 187ms

When I click on element 1s 68ms

Then element with "id" "resources-tab-2" and "aria-selected" "true" should be visible 72ms

And these elements should be shown for "AC2 Working in remote clinics heading": 3s 218ms
tag attribute value
h2 text Travelling in remote areas

And the On this page menu should list these sections and take me to each: 3s 275ms
link heading
Travelling in remote areas Travelling in remote areas
Consult by telephone, satellite phone, or radio Consult by telephone, satellite phone, or radio
Evacuations Evacuations
Infection control Infection control

And the standard footer should be shown 170ms

Given I visit "http://localhost:3000/resources" 2s 508ms

And I wait for 2 seconds 2s 12ms

And the Resources page has finished loading 1s 976ms

Given element with "id" "resources-tab-3" 74ms

When I click on element 1s 148ms

And I choose the "Abbreviations" category 7s 530ms

Then these entries should be listed with their descriptions: 10s 798ms
term description
ABC airway, breathing, circulation
GAS Group A beta haemolytic streptococcus
KICA Kimberly Indigenous Cognitive Assessment
NRT nicotine replacement therapy
ORS oral rehydration solution

And the listed entries should be in alphabetical order 28ms

And each listed entry should have a definition 12ms

And each A-Z button should take me to its section and show the entry: 1m 57s 177ms
letter term
A ABC
B BCG
C C3
D DAA
E ECEI
F FaFT
G GAS
H HAM/TSP
I ICS
J JVP
K kg
L LA
M MAC
N N/A
O Oâ‚‚
P PBS
Q qid
R rAOM
S S1
T T10
U U/A
V VBG
W WA
X XL
Other %
Show Error +
                                            
Error: 3 of 25 rows failed - V (VBG): The entry "VBG" was not displayed after scrolling towards it for 25 seconds (page then: 287 entries shown, 0 loading) | W (WA): The entry "WA" was not displayed after scrolling towards it for 25 seconds (page then: 287 entries shown, 0 loading) | X (XL): The entry "XL" was not displayed after scrolling towards it for 25 seconds (page then: 287 entries shown, 0 loading). Stopped early: 1 more row was not tried, because rows failing one after another points at the page, not the rows at checkEachRow (C:\agent\_work\59\s\features\step_definitions\resources-steps.js:269:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async World.(anonymous) (C:\agent\_work\59\s\features\step_definitions\resources-steps.js:343:3)

Given I visit "http://localhost:3000/resources" 2s 883ms

And I wait for 2 seconds 2s 26ms

And the Resources page has finished loading 6s 526ms

Given element with "id" "resources-tab-3" 84ms

When I click on element 1s 174ms

Then element with "id" "resources-tab-3" and "aria-selected" "true" should be visible 97ms

And these elements should be shown for "AC2 Terminology heading": 22ms
tag attribute value
h2 text Glossary

When I open the category list 38ms

Then these elements should be shown for "AC9 Terminology categories": 151ms
tag attribute value
* text Glossary
* text Abbreviations
* text Mnemonics

When I choose the "Glossary" category 1s 125ms

Then these elements should be shown for "AC12 Glossary heading": 13ms
tag attribute value
h2 text Glossary

And these entries should be listed with their descriptions: 1s 57ms
term description
Active ingredient chemical in a medicine that makes the desired changes in the body
Adrenaline hormone and neurotransmitter produced by the body, usually in response to stress

And the listed entries should be in alphabetical order 503ms

And each listed entry should have a definition 8ms

And each A-Z button should take me to its section and show the entry: 22s 794ms
letter term
A Adrenaline
B Bacteria
C Cholesterol
D Diabetes
E Electrolytes
F Fungus
H Histamine
I Immunisation
M Medicine
O Opioid
P Platelets
R Resistance
S Shock
T Therapeutic
V Virus

When I choose the "Mnemonics" category 1s 883ms

Then these elements should be shown for "AC13 Mnemonics": 920ms
tag attribute value
h2 text Mnemonics
h6 text A M P L E
p text (assessing trauma)
* text Allergies
* text Medicines or current illness
* text Past history
* text Last time they ate or drank
* text Event – what happened to cause the injuries
h6 text A V P U
* text Alert
* text Voice
* text Unresponsive
h6 text I S B A R
p text (phone consultation)
* text Identity
* text Situation
* text Background
* text Assessment
* text Request

And choosing each of these categories should show only its entries: 8s 391ms
category entry other_category other_entry
Glossary Active ingredient Abbreviations ABC
Abbreviations ABC Glossary Active ingredient
Mnemonics A M P L E Glossary Active ingredient

And the standard footer should be shown 346ms

Given I visit "http://localhost:3000/resources" 5s 106ms

And I wait for 2 seconds 2s 33ms

And the Resources page has finished loading 8s 569ms

Given element with "id" "resources-tab-4" 163ms

When I click on element 1s 90ms

Then element with "id" "resources-tab-4" and "aria-selected" "true" should be visible 40ms

And these elements should be shown for "AC2 External resources heading": 2s 115ms
tag attribute value
h2 text Anaemia

And the external resources should be laid out for this device 98ms

And choosing each of these categories should show only its resources: 8s 880ms
category resource other_category other_resource
Anaemia Good Food for Strong Blood poster Tropical health HOT north website
Child and youth health Baby feeding cues poster Sexual health Australia STI management guidelines
Sexual health Australia STI management guidelines Child and youth health Baby feeding cues poster
Tropical health HOT north website Anaemia Good Food for Strong Blood poster

And these resources should show their title, description, source and link: 5s 815ms
category resource description url source domain
Anaemia Good Food for Strong Blood poster NTDOH Iron rich foods patient education resource https://digitallibrary.health.nt.gov.au/prodjspui/handle/10137/8086 NT Health Digital Library digitallibrary.health.nt.gov.au
Child and youth health Baby feeding cues poster Poster showing signs baby is hungry https://www.health.tas.gov.au/publications/baby-feeding-cues-poster Tasmanian Department of Health www.health.tas.gov.au
Sexual health Australia STI management guidelines https://sti.guidelines.org.au/ Australian STI Management Guidelines sti.guidelines.org.au
Tropical health HOT north website Health information for Northern Australia https://www.hotnorth.org.au/ HOT NORTH www.hotnorth.org.au
Tropical health Tropical Health Orientation Manual (THOM) The THOM provides best practice advice for the diagnosis, identification and treatment https://www.menzies.edu.au/page/Resources/Tropical_Health_Orientation_Manual_THOM_2025/ Menzies School of Health Research www.menzies.edu.au

And the standard footer should be shown 208ms

Given I visit "http://localhost:3000/resources" 5s 815ms

And I wait for 2 seconds 2s 11ms

And the Resources page has finished loading 3s 34ms

Given element with "id" "resources-tab-5" 89ms

When I click on element 1s 21ms

Then element with "id" "resources-tab-5" and "aria-selected" "true" should be visible 65ms

And these elements should be shown for "AC2 and AC8 Training introduction": 498ms
tag attribute value
h2 text Training
p text Links to online and face-to-face training and eLearning programs from our partner organisations
* text Retrieval medicine courses for doctors
* text RFDS Central Operations | Airstrip Inspection Procedure | Night Landing Procedure

And these resources should show their title, description, source and link: 323ms
resource url source domain
ACRRM – The Australian College of Rural and Remote Medicine https://www.acrrm.org.au/courses The Australian College of Rural and Remote Medicine acrrm.org.au
ARHEN – Australian Rural Health Education Network https://arhen.org.au/ Australian Rural Health Education Network arhen.org.au
Airstrip safety video https://www.youtube.com/watch?v=fAaA4VcKSEY RFDS Central Operations youtube.com
Austroads – assessing fitness to drive https://austroads.gov.au/drivers-and-vehicles/assessing-fitness-to-drive Austroads austroads.gov.au

And the standard footer should be shown 154ms

Given I visit "http://localhost:3000/" 5s 884ms

And I wait for 3 seconds 3s 15ms

And "input" element with "aria-label" "Search manuals" 41ms

When I enter "stomach" 86ms

And "button" element with "text" "Search" 51ms

And I click on element 1s 47ms

And "h1" element containing text "text" "stomach" should be visible 56ms

Given I visit "http://localhost:3000/" 2s 635ms

And I wait for 3 seconds 3s 720ms

And "input" element with "aria-label" "Search manuals" 126ms

When I enter "stomach" 240ms

And "button" element with "text" "Search" 145ms

And I click on element 1s 271ms

And "h1" element containing text "text" "stomach" should be visible 212ms

Given I visit "http://localhost:3000/" 2s 920ms

And I wait for 3 seconds 3s 337ms

And "input" element with "aria-label" "Search manuals" 102ms

When I enter "Stomach" 191ms

And "button" element with "text" "Search" 149ms

And I click on element 979ms

And "h1" element containing text "text" "Stomach" should be visible 42ms

Given I visit "http://localhost:3000/" 9s 184ms

And I wait for 3 seconds 3s 61ms

And "input" element with "aria-label" "Search manuals" 75ms

When I enter "acute" 176ms

And "button" element with "text" "Search" 62ms

And I click on element 952ms

And "h1" element containing text "text" "acute" should be visible 35ms

Given I visit "http://localhost:3000/" 4s 826ms

And I wait for 3 seconds 3s 18ms

And "input" element with "aria-label" "Search manuals" 66ms

When I enter "STOMACH" 146ms

And "button" element with "text" "Search" 155ms

And I click on element 954ms

And "h1" element containing text "text" "STOMACH" should be visible 33ms

Given I visit "http://localhost:3000/" 5s 733ms

And I wait for 3 seconds 3s 9ms

And "input" element with "aria-label" "Search manuals" 40ms

When I enter "NSAIDs" 86ms

And "button" element with "text" "Search" 31ms

And I click on element 1s 27ms

And "h1" element containing text "text" "NSAIDs" should be visible 60ms

Given I visit "http://localhost:3000/" 2s 927ms

And I wait for 3 seconds 3s 17ms

And "input" element with "aria-label" "Search manuals" 35ms

When I enter "asthma" 82ms

And "button" element with "text" "Search" 30ms

And I click on element 1s 108ms

And "h1" element containing text "text" "asthma" should be visible 81ms

Given I visit "http://localhost:3000/" 6s 93ms

And I wait for 3 seconds 3s 22ms

And "input" element with "aria-label" "Search manuals" 50ms

When I enter "tummy" 118ms

And "button" element with "text" "Search" 59ms

And I click on element 1s 3ms

And "h1" element containing text "text" "tummy" should be visible 110ms

Given I visit "http://localhost:3000/" 5s 563ms

And I wait for 3 seconds 3s 18ms

And "input" element with "aria-label" "Search manuals" 51ms

When I enter "abdominal" 126ms

And "button" element with "text" "Search" 54ms

And I click on element 996ms

And "h1" element containing text "text" "abdominal" should be visible 102ms

Given I visit "http://localhost:3000/" 5s 710ms

And I wait for 3 seconds 3s 15ms

And "input" element with "aria-label" "Search manuals" 87ms

When I enter "COVID-19" 112ms

And "button" element with "text" "Search" 37ms

And I click on element 1s 48ms

And "h1" element containing text "text" "COVID-19" should be visible 84ms

Given I visit "http://localhost:3000/" 5s 537ms

And I wait for 3 seconds 3s 18ms

And "input" element with "aria-label" "Search manuals" 53ms

And I set browser to offline mode 3ms

When I enter "stomach" 127ms

And "button" element with "text" "Search" 48ms

And I click on element 998ms

And "h1" element containing text "text" "stomach" should be visible 138ms

Given I visit "http://localhost:3000/" 5s 365ms

And I wait for 3 seconds 3s 42ms

And "input" element with "aria-label" "Search manuals" 98ms

And I set browser to offline mode 1ms

When I enter "STOMACH" 193ms

And "button" element with "text" "Search" 91ms

And I click on element 1s 769ms

And "h1" element containing text "text" "STOMACH" should be visible 60ms

Given I visit "http://localhost:3000/" 5s 30ms

And I wait for 3 seconds 3s 36ms

And "input" element with "aria-label" "Search manuals" 125ms

And I set browser to offline mode 2ms

When I enter "asthma" 241ms

And "button" element with "text" "Search" 181ms

And I click on element 1s 691ms

And "h1" element containing text "text" "asthma" should be visible 76ms

Given I visit "http://localhost:3000/" 4s 697ms

And I wait for 3 seconds 3s 48ms

And "input" element with "aria-label" "Search manuals" 75ms

And I set browser to offline mode 2ms

When I enter "tummy" 209ms

And "button" element with "text" "Search" 119ms

And I click on element 1s 398ms

And "h1" element containing text "text" "tummy" should be visible 101ms

Given I visit "http://localhost:3000/" 3s 496ms

And I wait for 3 seconds 3s 48ms

And "input" element with "aria-label" "Search manuals" 138ms

And I set browser to offline mode 3ms

When I enter "abdominal" 322ms

And "button" element with "text" "Search" 112ms

And I click on element 1s 159ms

And "h1" element containing text "text" "abdominal" should be visible 1s 145ms

Given I visit "http://localhost:3000/" 2s 288ms

And I wait for 3 seconds 3s 976ms

Given "input" element with "aria-label" "Search manuals" 59ms

When I enter "vxc" 115ms

And "button" element with "text" "Search" 64ms

And I click on element 1s 412ms

Then the page heading should be 'No results for "vxc"' 3s 782ms

Given I visit "http://localhost:3000/" 2s 563ms

And I wait for 3 seconds 3s 56ms

Given "input" element with "aria-label" "Search manuals" 86ms

When I enter "xuu" 151ms

And "button" element with "text" "Search" 49ms

And I click on element 1s 42ms

Then the page heading should be 'No results for "xuu"' 5s 134ms

Given I visit "http://localhost:3000/" 2s 538ms

And I wait for 3 seconds 3s 65ms

Given "input" element with "aria-label" "Search manuals" 98ms

When I enter "xyz123" 167ms

And "button" element with "text" "Search" 68ms

And I click on element 1s 49ms

Then the page heading should be 'No results for "xyz123"' 5s 498ms

Given I visit "http://localhost:3000/" 8s 72ms

And I wait for 3 seconds 3s 23ms

Given "input" element with "aria-label" "Search manuals" 77ms

When I enter "zxqvwk" 376ms

And "button" element with "text" "Search" 47ms

And I click on element 937ms

Then the page heading should be 'No results for "zxqvwk"' 6s 429ms

Given I visit "http://localhost:3000/" 5s 672ms

And I wait for 3 seconds 3s 31ms

Given "input" element with "aria-label" "Search manuals" 87ms

When I enter "valium" 139ms

And "button" element with "text" "Search" 88ms

And I click on element 934ms

And I wait for 3 seconds 3s 18ms

Then the page heading should be 'Search results for "valium"' 64ms

When I visit "http://localhost:3000/" 629ms

And "input" element with "aria-label" "Search manuals" 53ms

And I enter "diazepam" 72ms

And "button" element with "text" "Search" 30ms

And I click on element 1s 538ms

And I wait for 3 seconds 3s 20ms

Then the page heading should be 'Search results for "diazepam"' 55ms

Given I visit "http://localhost:3000/" 2s 901ms

And I wait for 3 seconds 3s 21ms

Given "input" element with "aria-label" "Search manuals" 44ms

When I enter "celecoxib" 84ms

And "button" element with "text" "Search" 30ms

And I click on element 1s 91ms

And I wait for 3 seconds 3s 14ms

Then the page heading should be 'Search results for "celecoxib"' 46ms

When I visit "http://localhost:3000/" 277ms

And "input" element with "aria-label" "Search manuals" 30ms

And I enter "celebrex" 64ms

And "button" element with "text" "Search" 27ms

And I click on element 1s 579ms

And I wait for 3 seconds 3s 17ms

Then the page heading should be 'Search results for "celebrex"' 36ms

Given I visit "http://localhost:3000/" 3s 69ms

And I wait for 3 seconds 3s 681ms

Given "input" element with "aria-label" "Search manuals" 99ms

When I enter "antenatal" 184ms

And "button" element with "text" "Search" 79ms

And I click on element 2s 287ms

And I wait for 3 seconds 3s 34ms

Then the page heading should be 'Search results for "antenatal"' 222ms

When I visit "http://localhost:3000/" 1s 202ms

And "input" element with "aria-label" "Search manuals" 105ms

And I enter "pregnancy" 111ms

And "button" element with "text" "Search" 187ms

And I click on element 1s 23ms

And I wait for 3 seconds 3s 59ms

Then the page heading should be 'Search results for "pregnancy"' 76ms

Given I visit "http://localhost:3000/" 5s 452ms

And I wait for 3 seconds 3s 25ms

Given "input" element with "aria-label" "Search manuals" 88ms

When I enter "ibuprofen" 121ms

And "button" element with "text" "Search" 144ms

And I click on element 1s 184ms

And I wait for 3 seconds 3s 19ms

Then the page heading should be 'Search results for "ibuprofen"' 130ms

When I visit "http://localhost:3000/" 994ms

And "input" element with "aria-label" "Search manuals" 58ms

And I enter "nurofen" 120ms

And "button" element with "text" "Search" 112ms

And I click on element 1s 154ms

And I wait for 3 seconds 3s 14ms

Then the page heading should be 'Search results for "nurofen"' 45ms

Given I visit "http://localhost:3000/" 7s 874ms

And I wait for 3 seconds 3s 44ms

Given "input" element with "aria-label" "Search manuals" 125ms

When I enter "burn" 157ms

Then option "burns" should be in search results dropdown list 1s 436ms

Given "p" element with "full text" "burns" 63ms

When I click on element 1s 2ms

Then "h1" element with "text" "Burns" should be visible 686ms

Given I visit "http://localhost:3000/" 8s 953ms

And I wait for 3 seconds 3s 53ms

Given "input" element with "aria-label" "Search manuals" 76ms

When I enter "antenatal" 210ms

Then option "antenatal care" should be in search results dropdown list 2s 733ms

Given "p" element with "full text" "antenatal care" 64ms

When I click on element 1s 180ms

Then "h1" element with "text" "Antenatal care" should be visible 548ms

Given I visit "http://localhost:3000/" 8s 716ms

And I wait for 3 seconds 3s 52ms

Given "input" element with "aria-label" "Search manuals" 115ms

When I enter "bu" 152ms

Then option "burns" should be in search results dropdown list 2s 792ms

Given "p" element with "full text" "burns" 140ms

When I click on element 1s 29ms

Then "h1" element with "text" "Burns" should be visible 1s 706ms

Given I visit "http://localhost:3000/" 8s 852ms

Given "input" element with "aria-label" "Search manuals" 75ms

When I enter "diabetes" 208ms

And "button" element with "text" "Search" 75ms

And I click on element 1s 129ms

And I wait for 3 seconds 3s 40ms

And "h1" element containing text "text" "diabetes" should be visible 113ms

And element with "text" "CARPA Standard Treatment Manual (STM)" 3s 568ms

And I click on element 929ms

And "button" element with "text" "Show " 33ms

And I click on element 942ms

Then I should see "CARPA STM" in the results span 20ms

Given I visit "http://localhost:3000/" 8s 237ms

Given "input" element with "aria-label" "Search manuals" 100ms

When I enter "asthma" 227ms

And "button" element with "text" "Search" 65ms

And I click on element 1s 97ms

And I wait for 3 seconds 3s 18ms

And "h1" element containing text "text" "asthma" should be visible 32ms

And element with "text" "CARPA Standard Treatment Manual (STM)" 4s 155ms

And I click on element 958ms

And "button" element with "text" "Show " 36ms

And I click on element 924ms

Then I should see "CARPA STM" in the results span 21ms

Given I visit "http://localhost:3000/" 4s 595ms

Given "input" element with "aria-label" "Search manuals" 72ms

When I enter "abdominal" 141ms

And "button" element with "text" "Search" 50ms

And I click on element 1s 670ms

And I wait for 3 seconds 3s 8ms

And "h1" element containing text "text" "abdominal" should be visible 30ms

And element with "text" "Women's Business Manual (WBM)" 2s 702ms

And I click on element 914ms

And "button" element with "text" "Show " 31ms

And I click on element 953ms

Then I should see "WBM" in the results span 17ms

Given I visit "http://localhost:3000/" 5s 281ms

Given "input" element with "aria-label" "Search manuals" 92ms

When I enter "Aspirin" 194ms

And "button" element with "text" "Search" 65ms

And I click on element 1s 163ms

And I wait for 3 seconds 3s 715ms

And "h1" element containing text "text" "Aspirin" should be visible 240ms

And element with "text" "Medicines Book (MB)" 1s 962ms

And I click on element 934ms

And "button" element with "text" "Show " 66ms

And I click on element 983ms

Then I should see "MB" in the results span 27ms

Given I visit "http://localhost:3000/" 5s 532ms

Given "input" element with "aria-label" "Search manuals" 265ms

When I enter "diabetes" 225ms

And "button" element with "text" "Search" 79ms

And I click on element 1s 329ms

And I wait for 3 seconds 3s 71ms

And "h1" element containing text "text" "diabetes" should be visible 115ms

And "button" element with "text" "Clear all filters" should be visible 5s 43ms

And element with "text" "CARPA Standard Treatment Manual (STM)" 94ms

And I click on element 1s 261ms

And "button" element with "text" "Show " 145ms

And I click on element 1s 25ms

And I wait for 3 seconds 3s 33ms

And I should see "CARPA STM" in the results span 32ms

When "button" element with "text" "Clear all filters" 59ms

And I click on element 943ms

Then I should see "WBM" in the results span 21ms

Given I visit "http://localhost:3000/" 4s 966ms

Given "input" element with "aria-label" "Search manuals" 108ms

When I enter "asthma" 184ms

And "button" element with "text" "Search" 79ms

And I click on element 1s 258ms

And I wait for 3 seconds 3s 249ms

And "h1" element containing text "text" "asthma" should be visible 105ms

And "button" element with "text" "Clear all filters" should be visible 3s 610ms

And element with "text" "CARPA Standard Treatment Manual (STM)" 41ms

And I click on element 1s 38ms

And "button" element with "text" "Show " 53ms

And I click on element 1s 16ms

And I wait for 3 seconds 3s 13ms

And I should see "CARPA STM" in the results span 16ms

When "button" element with "text" "Clear all filters" 29ms

And I click on element 905ms

Then I should see "WBM" in the results span 16ms

Given I visit "http://localhost:3000/" 4s 567ms

Given "input" element with "aria-label" "Search manuals" 131ms

When I enter "abdominal" 257ms

And "button" element with "text" "Search" 96ms

And I click on element 1s 125ms

And I wait for 3 seconds 3s 54ms

And "h1" element containing text "text" "abdominal" should be visible 113ms

And "button" element with "text" "Clear all filters" should be visible 3s 536ms

And element with "text" "Women's Business Manual (WBM)" 39ms

And I click on element 1s 157ms

And "button" element with "text" "Show " 85ms

And I click on element 1s 98ms

And I wait for 3 seconds 3s 18ms

And I should see "WBM" in the results span 17ms

When "button" element with "text" "Clear all filters" 29ms

And I click on element 940ms

Then I should see "CPM" in the results span 16ms

Given I visit "http://localhost:3000/" 5s 256ms

Given "input" element with "aria-label" "Search manuals" 75ms

When I enter "asthma" 128ms

And element with "text" "Exclude results from WBM" 140ms

And I click on element 4s 217ms

And "button" element with "text" "Search" 654ms

And I click on element 1s 100ms

And I wait for 3 seconds 3s 148ms

And "h1" element containing text "text" "asthma" should be visible 33ms

Then checkbox "CARPA Standard Treatment Manual (STM)" should be checked 2s 90ms

And checkbox "Clinical Procedures Manual (CPM)" should be checked 195ms

And checkbox "Medicines Book (MB)" should be checked 75ms

Given I visit "http://localhost:3000/" 4s 589ms

Given "input" element with "aria-label" "Search manuals" 50ms

When I enter "stomach" 100ms

And element with "text" "Exclude results from WBM" 31ms

And I click on element 6s 231ms

And "button" element with "text" "Search" 47ms

And I click on element 2s 864ms

And I wait for 3 seconds 3s 38ms

And "h1" element containing text "text" "stomach" should be visible 85ms

Then checkbox "CARPA Standard Treatment Manual (STM)" should be checked 90ms

And checkbox "Clinical Procedures Manual (CPM)" should be checked 67ms

And checkbox "Medicines Book (MB)" should be checked 73ms

Given I visit "http://localhost:3000/" 6s 173ms

Given "input" element with "aria-label" "Search manuals" 91ms

When I enter "diabetes" 193ms

And element with "text" "Exclude results from WBM" 72ms

And I click on element 6s 230ms

And "button" element with "text" "Search" 49ms

And I click on element 1s 106ms

And I wait for 3 seconds 3s 18ms

And "h1" element containing text "text" "diabetes" should be visible 40ms

Then checkbox "CARPA Standard Treatment Manual (STM)" should be checked 43ms

And checkbox "Clinical Procedures Manual (CPM)" should be checked 43ms

And checkbox "Medicines Book (MB)" should be checked 42ms

Given I visit "http://localhost:3000/" 6s 514ms

Given "input" element with "aria-label" "Search manuals" 75ms

When I enter "trauma" 103ms

And "button" element with "text" "Search" 43ms

And I click on element 2s 806ms

And I wait for 3 seconds 3s 37ms

Then the page heading should be 'Search results for "trauma"' 146ms

And url should contain "/search?q=trauma" 7ms

And checkbox "Emergencies" should not be checked 2s 170ms

And "span" element with "text" "Emergencies" should be visible 92ms

When I click on element 979ms

Then checkbox "Emergencies" should be checked 69ms

And "button" element with "text" "Show " 60ms

And I click on element 975ms

Then I should see "CPM" in the results span 22ms

Given I visit "http://localhost:3000/" 7s 522ms

Given "input" element with "aria-label" "Search manuals" 67ms

And I enter "aspiriin" 180ms

And "button" element with "text" "Search" 46ms

And I click on element 1s 160ms

Then the page heading should be 'No results for "aspiriin"' 6s 773ms

And "p" element containing text "text" "Did you mean aspirin?" should be visible 60ms

When "a" element with "href" "/search?q=aspirin" should be visible 39ms

And I click on element 1s 1ms

Then "h1" element containing text "text" "aspirin" should be visible 44ms

Given I visit "http://localhost:3000/" 6s 464ms

Given "input" element with "aria-label" "Search manuals" 82ms

And I enter "asprin" 187ms

And "button" element with "text" "Search" 91ms

And I click on element 1s 68ms

Then the page heading should be 'No results for "asprin"' 7s 146ms

And "p" element containing text "text" "Did you mean aspirin?" should be visible 32ms

When "a" element with "href" "/search?q=aspirin" should be visible 27ms

And I click on element 986ms

Then "h1" element containing text "text" "aspirin" should be visible 44ms

Given I visit "http://localhost:3000/" 4s 666ms

Given "input" element with "aria-label" "Search manuals" 47ms

And I enter "amoxycillin" 133ms

And "button" element with "text" "Search" 39ms

And I click on element 932ms

Then the page heading should be 'No results for "amoxycillin"' 12s 759ms

And "p" element containing text "text" "Did you mean amoxicillin?" should be visible 128ms

When "a" element with "href" "/search?q=amoxicillin" should be visible 114ms

And I click on element 1s 199ms

Then "h1" element containing text "text" "amoxicillin" should be visible 164ms

Given I visit "http://localhost:3000/" 3s 998ms

Given "input" element with "aria-label" "Search manuals" 46ms

And I enter "diabeets" 165ms

And "button" element with "text" "Search" 192ms

And I click on element 6s 589ms

Then the page heading should be 'No results for "diabeets"' 6s 59ms

And "p" element containing text "text" "Did you mean diabetes?" should be visible 102ms

When "a" element with "href" "/search?q=diabetes" should be visible 134ms

And I click on element 1s 111ms

Then "h1" element containing text "text" "diabetes" should be visible 109ms

Given I visit "http://localhost:3000/" 9s 929ms

Given "input" element with "aria-label" "Search manuals" 64ms

And I enter "diabtes" 117ms

And "button" element with "text" "Search" 28ms

And I click on element 925ms

Then the page heading should be 'No results for "diabtes"' 5s 118ms

And "p" element containing text "text" "Did you mean diabetes?" should be visible 100ms

When "a" element with "href" "/search?q=diabetes" should be visible 70ms

And I click on element 1s 211ms

Then "h1" element containing text "text" "diabetes" should be visible 135ms