All Scenarios

178

Passed Scenarios

156

Failed Scenarios

22

Execution Time: 144m 37s 227ms Device Type: Web

Expand All | Collapse All

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

And the REWS calculator is opened from the content 32s 872ms

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

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

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

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

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

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

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

And I click on element 2s 20ms

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

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

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

And the page heading should be "Preeclampsia" 327ms

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

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

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

And I click on element 1s 577ms

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

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

And I click on element 2s 427ms

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

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

When I press the "Escape" key 454ms

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

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

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

And the REWS calculator is opened from the content 34s 142ms

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

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

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

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

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

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

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

And I click on element 1s 78ms

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

And I click on element 1s 888ms

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

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

And I click on element 1s 440ms

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

And I click on element 1s 211ms

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

And I enter "16" 478ms

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

Given I open the REWS calculator from the content again 1m 2s 658ms Show Error +
                                            
Error: The "Preeclampsia" heading was not displayed within 60 seconds at waitUntil (D:\a\1\s\features\step_definitions\table-step-helpers.js:38:9) at async waitForDisplayed (D:\a\1\s\features\step_definitions\table-step-helpers.js:43:3) at async openCalculatorFromLink (D:\a\1\s\features\step_definitions\rews-content-steps.js:39:3) at async openFromContent (D:\a\1\s\features\step_definitions\rews-content-steps.js:61:3) at async World.(anonymous) (D:\a\1\s\features\step_definitions\rews-content-steps.js:99:3)

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

And the REWS calculator is opened from the content 37s 136ms

Then each of these values should be accepted: 3m 39s 981ms
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: 2m 8s 821ms
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: 4m 33s 236ms
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)
Show Error +
                                            
Error: 1 of 4 rows failed - 13 years and over temperature "36.75": The "Preeclampsia" heading was not displayed within 45 seconds at checkEachRow (D:\a\1\s\features\step_definitions\table-step-helpers.js:192:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async World.(anonymous) (D:\a\1\s\features\step_definitions\rews-content-steps.js:146:3)
Show Info +
Passed only on a second try in the same browser: Paediatric 5–12 years oxygen-saturation "12a"

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

And the REWS calculator is opened from the content 39s 244ms

Then the REWS calculator should give these results: 3m 50s 701ms
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" 3s 426ms

And the REWS calculator is opened from the content 19s 25ms

Then the REWS calculator should give these results: 3m 55s 557ms
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)
Show Info +
Passed only on a second try in the same browser: row 2: Obstetric (more than 20 weeks pregnant) total 3 gives Medium

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

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

Then the REWS calculator should give these results: 2m 40s 159ms
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: 15s 400ms
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" 15s 555ms

And the REWS calculator is opened from the content 1m 23s 905ms Show Error +
                                            
TimeoutError: timeout: Timed out receiving message from renderer: 60.000 (Session info: chrome=139.0.7258.68) at Object.throwDecodedError (D:\a\1\s\node_modules\selenium-webdriver\lib\error.js:522:15) at parseHttpResponse (D:\a\1\s\node_modules\selenium-webdriver\lib\http.js:549:13) at Executor.execute (D:\a\1\s\node_modules\selenium-webdriver\lib\http.js:475:28) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Driver.execute (D:\a\1\s\node_modules\selenium-webdriver\lib\webdriver.js:735:17) at async Driver.findElements (D:\a\1\s\node_modules\selenium-webdriver\lib\webdriver.js:1061:17) at async findDisplayed (D:\a\1\s\features\step_definitions\table-step-helpers.js:19:23) at async D:\a\1\s\features\step_definitions\table-step-helpers.js:45:26 at async waitUntil (D:\a\1\s\features\step_definitions\table-step-helpers.js:35:9) at async waitForDisplayed (D:\a\1\s\features\step_definitions\table-step-helpers.js:43:3) at async openCalculatorFromLink (D:\a\1\s\features\step_definitions\rews-content-steps.js:39:3) at async openFromContent (D:\a\1\s\features\step_definitions\rews-content-steps.js:61:3) at async World.(anonymous) (D:\a\1\s\features\step_definitions\rews-content-steps.js:95:3)

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

And the REWS calculator is opened from the content 22s 342ms

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

When I click on element 2s 118ms

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

And I click on element 1s 979ms

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

And I click on element 2s 36ms

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

And I click on element 1s 931ms

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

And I enter "16" 344ms

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

And I enter "97" 228ms

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

And I enter "80" 210ms

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

And I enter "120" 262ms

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

And I enter "37" 277ms

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

And I click on element 1s 275ms

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

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

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

And I clear the input 192ms

And I enter "135" 189ms

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

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

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

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

And I clear the input 144ms

And I enter "38.6" 288ms

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

And I click on element 1s 221ms

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

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

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

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

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

And the REWS calculator is opened from the content 10s 227ms

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

When I click on element 1s 210ms

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

And I click on element 1s 269ms

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

And I click on element 1s 367ms

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

And I click on element 2s 323ms

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

And I enter "21" 297ms

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

And I click on element 1s 705ms

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

And I enter "110" 294ms

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

And I enter "140" 157ms

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

And I enter "90" 210ms

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

And I enter "37" 203ms

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

And I click on element 1s 864ms

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

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

And I click on element 1s 828ms

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

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

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

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

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

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

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

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

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

And I enter "301" 572ms

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

And I click on element 3s 153ms

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

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

And I click on element 2s 123ms

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

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

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

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

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

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

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

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

And I click on element 2s 768ms

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

And I click on element 3s 503ms

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

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

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

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

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

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

And I click on element 1s 699ms

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

And I click on element 1s 936ms

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

And I click on element 1s 834ms

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

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

And I enter "25" 233ms

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

And I enter "95" 194ms

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

And I click on element 1s 321ms

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

And I enter "110" 218ms

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

And I click on element 1s 296ms

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

And I enter "37" 146ms

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

And I click on element 1s 125ms

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

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

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

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

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

And the REWS calculator is opened from the content 30s 270ms

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

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

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

When I press the "Enter" key 374ms

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

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

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

And I press the "Enter" key 333ms

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

When I press the "Tab" key 423ms

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

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

And I enter "16" 127ms

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

And I enter "97" 157ms

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

And I enter "80" 291ms

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

And I enter "120" 174ms

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

And I enter "37" 146ms

And I press the "Tab" key 338ms

And I press the "Enter" key 367ms

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

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

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

And I wait for 2 seconds 2s 154ms

And "button" element with "text" "age-appropriate REWS" should be visible 16s 58ms

And I click on element 1s 473ms

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

When I click on element 1s 249ms

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

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

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

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

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

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

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

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

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

And I wait for 2 seconds 2s 332ms

And "button" element with "text" "age-appropriate REWS" should be visible 16s 484ms

And I click on element 1s 686ms

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

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

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

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

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

When I click on element 1s 667ms

And I wait for 2 seconds 2s 83ms

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

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

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

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

Given I visit "http://localhost:3000/site/calculator" 13s 207ms

And I wait for 2 seconds 2s 158ms

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

Then the age range list should offer these patient categories: 569ms
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: 22s 267ms
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" 3s 878ms

And I wait for 2 seconds 2s 362ms

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

Then each of these entries should show its error message: 2m 17s 422ms
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: 1m 32s 841ms
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 842ms

And I wait for 2 seconds 2s 32ms

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

Then the REWS for "13 years and over" should give these results: 3m 50s 143ms
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" 6s 49ms

And I wait for 2 seconds 2s 214ms

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

Then the REWS for "Paediatric 5–12 years" should give these results: 3m 33s 319ms
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" 11s 81ms

And I wait for 2 seconds 2s 591ms

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

Then the REWS for "Obstetric" should give these results: 3m 5s 441ms
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" 3s 373ms

And I wait for 2 seconds 2s 215ms

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

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

When I click on element 1s 691ms

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

And I click on element 1s 320ms

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

And I click on element 1s 525ms

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

And I click on element 2s 79ms

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

And I enter "21" 470ms

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

And I click on element 1s 576ms

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

And I enter "110" 226ms

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

And I enter "140" 515ms

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

And I enter "90" 124ms

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

And I enter "37" 767ms

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

And I click on element 1s 453ms

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

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

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

And I click on element 1s 332ms

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 (D:\a\1\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" 8s 235ms

And I wait for 2 seconds 2s 23ms

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

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

When I click on element 2s 82ms

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

And I click on element 1s 719ms

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

And I enter "abc" 242ms

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

And I enter "110" 295ms

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

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

And I click on element 1s 503ms

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

And "input" element with "id" "respiratory-rate" should not be visible 25ms Show Error +
                                            
AssertionError + expected - actual -1 +0 at World.(anonymous) (D:\a\1\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" 3s 339ms

And I wait for 2 seconds 2s 78ms

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

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

When I click on element 2s 450ms

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

And I click on element 3s 157ms

And "input" element with "id" "respiratory-rate" should be visible 1s 100ms

And I enter "21" 605ms

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

And I click on element 1s 254ms

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

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

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

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

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

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

And I wait for 3 seconds 3s 172ms

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

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

When I click on element 1s 237ms

And I wait for 2 seconds 2s 262ms

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

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

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

And I wait for 3 seconds 3s 24ms

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

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

When I click on element 1s 372ms

And I wait for 2 seconds 2s 95ms

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

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

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

And I wait for 3 seconds 3s 83ms

And "h1" element with "text" "Community" should be visible 7s 34ms

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

When I click on element 1s 906ms

And I wait for 2 seconds 2s 22ms

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

And "h2" element with "text" "Editorial committee" should be visible 1m 10s 2ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\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/community" 12s 336ms

And I wait for 3 seconds 3s 30ms

And "h1" element with "text" "Community" should be visible 6s 196ms

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

When I click on element 1s 658ms

And I wait for 2 seconds 2s 42ms

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

And "h2" element with "text" "Reviewers" should be visible 1s 596ms

Given I visit "http://localhost:3000/community" 11s 318ms

And I wait for 3 seconds 3s 105ms

And "h1" element with "text" "Community" should be visible 4s 731ms

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

When I click on element 1s 885ms

And I wait for 2 seconds 2s 100ms

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

And "h2" element with "text" "Become a reviewer" should be visible 4s 65ms

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

Given "a" element with "text" "Conditions of use and disclaimer" 14s 363ms

Then I scroll to element 467ms

And I click on element 1s 590ms

And I wait for 2 seconds 2s 193ms

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

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

Given "a" element with "text" "Privacy policy" 5s 227ms

Then I scroll to element 141ms

And I click on element 2s 5ms

And I wait for 2 seconds 2s 213ms

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

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

Given "a" element with "text" "Copyright permission" 2s 453ms

Then I scroll to element 172ms

And I click on element 7s 711ms

And I wait for 2 seconds 2s 36ms

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

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

Given "a" element with "text" "Licence agreement" 11s 190ms

Then I scroll to element 160ms

And I click on element 1s 159ms

And I wait for 2 seconds 2s 173ms

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

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

Given "a" element with "text" "Support" 10s 805ms

Then I scroll to element 74ms

And I click on element 1s 70ms

And I wait for 2 seconds 2s 46ms

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

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

Given "a" element with "text" "Frequently asked questions (FAQs)" 8s 985ms

Then I scroll to element 147ms

And I click on element 1s 192ms

And I wait for 2 seconds 2s 15ms

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

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

When I wait for 3 seconds 3s 490ms

Given element with "text" "Manuals" 477ms

When I click on element 1s 731ms

When I wait for 3 seconds 3s 300ms

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

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

When I wait for 3 seconds 3s 594ms

Given element with "text" "Manuals" 875ms

When I click on element 1s 519ms

When I wait for 3 seconds 3s 324ms

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

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

When I wait for 3 seconds 3s 64ms

Given element with "text" "Manuals" 615ms

When I click on element 1s 511ms

When I wait for 3 seconds 3s 221ms

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

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

When I wait for 3 seconds 3s 590ms

Given element with "text" "Manuals" 535ms

When I click on element 1s 600ms

When I wait for 3 seconds 3s 217ms

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

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

When I wait for 3 seconds 3s 382ms

Given element with "text" "Tools" 10s 634ms

When I click on element 1s 340ms

When I wait for 3 seconds 3s 14ms

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

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

When I wait for 3 seconds 3s 55ms

Given element with "text" "Tools" 11s 588ms

When I click on element 1s 491ms

When I wait for 3 seconds 3s 88ms

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

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

When I wait for 3 seconds 3s 67ms

Given element with "text" "Tools" 11s 852ms

When I click on element 2s 446ms

When I wait for 3 seconds 3s 48ms

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

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

When I wait for 3 seconds 3s 129ms

Given element with "text" "Tools" 13s 728ms

When I click on element 1s 770ms

When I wait for 3 seconds 3s 101ms

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

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

When I wait for 3 seconds 3s 170ms

Given element with "text" "Resources" 8s 890ms

When I click on element 1s 452ms

When I wait for 3 seconds 3s 31ms

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

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

When I wait for 3 seconds 3s 741ms

Given element with "text" "Resources" 12s 683ms

When I click on element 1s 156ms

When I wait for 3 seconds 3s 57ms

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

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

When I wait for 3 seconds 3s 554ms

Given element with "text" "Resources" 8s 228ms

When I click on element 1s 508ms

When I wait for 3 seconds 3s 24ms

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

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

When I wait for 3 seconds 3s 438ms

Given element with "text" "Resources" 3s 664ms

When I click on element 1s 718ms

When I wait for 3 seconds 9s 834ms

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

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

When I wait for 3 seconds 3s 451ms

Given element with "text" "Resources" 6s 184ms

When I click on element 9s 53ms

When I wait for 3 seconds 3s 20ms

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

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

When I wait for 3 seconds 3s 183ms

Given element with "text" "Resources" 13s 525ms

When I click on element 1s 629ms

When I wait for 3 seconds 3s 99ms

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

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

When I wait for 3 seconds 3s 66ms

Given element with "text" "Community" 12s 957ms

When I click on element 1s 212ms

When I wait for 3 seconds 3s 48ms

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

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

When I wait for 3 seconds 3s 353ms

Given element with "text" "Community" 9s 571ms

When I click on element 1s 431ms

When I wait for 3 seconds 3s 363ms

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

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

Given "h3" element with "text" "CARPA Standard Treatment Manual" should be visible 7s 253ms

When I scroll to element 205ms

And I click on element 2s 593ms

Then "h1" element with "text" "CARPA Standard Treatment Manual" should be visible 10s 830ms

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

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

When I scroll to element 42ms

And I click on element 1s 442ms

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

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

Given "h3" element with "text" "Clinical Procedures Manual" should be visible 7s 783ms

When I scroll to element 50ms

And I click on element 1s 190ms

Then "h1" element with "text" "Clinical Procedures Manual" should be visible 18s 456ms

Given I visit "http://localhost:3000/" 11s 442ms

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

When I scroll to element 129ms

And I click on element 1s 137ms

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

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

Given "p" element with "text" "Gynaecology" should be visible 24s 370ms

When I click on element 1s 596ms

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

When I click on element 1s 151ms

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

When I click on element 1s 897ms

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

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

Given "p" element with "text" "Postnatal" should be visible 26s 41ms

When I click on element 1s 275ms

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

When I click on element 1s 396ms

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

When I click on element 1s 901ms

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

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

Given "p" element with "text" "Postnatal" should be visible 25s 926ms

When I click on element 1s 209ms

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

When I click on element 1s 717ms

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

When I click on element 1s 461ms

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

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

And I wait for 2 seconds 2s 780ms

Then "h1" element with "text" "Browse A-Z" should be visible 16s 652ms

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

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

And I wait for 2 seconds 2s 132ms

Then "h1" element with "text" "Browse A-Z" should be visible 17s 748ms

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

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

And I wait for 2 seconds 2s 77ms

Then "h1" element with "text" "Browse A-Z" should be visible 16s 213ms

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

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

And I wait for 2 seconds 2s 33ms

Then "h1" element with "text" "Browse A-Z" should be visible 17s 949ms

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

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

And I wait for 2 seconds 2s 37ms

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

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

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

And I wait for 2 seconds 2s 596ms

Then "h1" element with "text" "Browse A-Z" should be visible 12s 475ms

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

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

And I wait for 2 seconds 2s 17ms

Then "h1" element with "text" "Browse A-Z" should be visible 14s 325ms

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

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

And I wait for 2 seconds 9s 752ms

Then "h1" element with "text" "Browse A-Z" should be visible 17s 702ms

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

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

And I wait for 2 seconds 9s 530ms

Then "h6" element with "text" "Browse by medicine class" should be visible 18s 313ms

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

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

And I wait for 2 seconds 9s 13ms

Then "h6" element with "text" "Browse by medicine class" should be visible 18s 821ms

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

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

And I wait for 2 seconds 2s 139ms

Then "h6" element with "text" "Browse by medicine class" should be visible 21s 572ms

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

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

And I wait for 2 seconds 2s 69ms

Then "h6" element with "text" "Browse by medicine class" should be visible 21s 559ms

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

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

And I wait for 2 seconds 2s 15ms

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

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

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

And I wait for 2 seconds 2s 81ms

Then "h6" element with "text" "Browse by medicine class" should be visible 33s 27ms

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

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

And I wait for 2 seconds 8s 433ms

Then "h6" element with "text" "Browse by medicine class" should be visible 25s 280ms

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

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

And I wait for 2 seconds 8s 5ms

Then "h6" element with "text" "Browse by medicine class" should be visible 1m 10s 3ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\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/manual/medicines/page/browse-a-z" 12s 39ms

And I wait for 2 seconds 17s 87ms

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

When I click on element 1s 125ms

And I wait for 4 seconds 4s 31ms

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

When I click on element 1s 226ms

And I wait for 2 seconds 2s 89ms

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

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

And I wait for 2 seconds 2s 47ms

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

When I click on element 1s 193ms

And I wait for 4 seconds 4s 444ms

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

When I click on element 1s 505ms

And I wait for 2 seconds 2s 16ms

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

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

And I wait for 2 seconds 2s 30ms

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

When I click on element 1s 498ms

And I wait for 4 seconds 4s 48ms

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

When I click on element 2s 727ms

And I wait for 2 seconds 2s 122ms

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

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

And I wait for 2 seconds 2s 14ms

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

When I click on element 1s 681ms

And I wait for 4 seconds 4s 341ms

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

When I click on element 1s 821ms

And I wait for 2 seconds 2s 332ms

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

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

And I wait for 2 seconds 2s 553ms

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

When I click on element 1s 373ms

And I wait for 4 seconds 4s 30ms

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

When I click on element 1s 413ms

And I wait for 2 seconds 2s 57ms

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

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

And I wait for 3 seconds 3s 127ms

And "button" element with "text" "Cite" should be visible 2s 563ms

When I click on element 1s 344ms

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

Given I visit "http://localhost:3000/manual/minymaku/page/breastfeeding" 3s 99ms

And I wait for 3 seconds 3s 851ms

And "button" element with "text" "Cite" should be visible 22s 319ms

When I click on element 1s 313ms

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

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

And I wait for 3 seconds 3s 272ms

And "button" element with "text" "Cite" should be visible 24s 867ms

When I click on element 2s 479ms

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

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

And I wait for 3 seconds 10s 633ms

And "h2" element with "text" "Do first" should be visible 16s 248ms

When I scroll to element 150ms

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

And I click on element 1s 391ms

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

Given I visit "http://localhost:3000/manual/minymaku/page/breastfeeding" 5s 395ms

And I wait for 3 seconds 9s 617ms

And "h2" element with "text" "Supporting breastfeeding" should be visible 16s 421ms

When I scroll to element 74ms

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

And I click on element 1s 513ms

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

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

And I wait for 3 seconds 3s 144ms

And "h2" element with "text" "Check" should be visible 7s 285ms

When I scroll to element 60ms

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

And I click on element 1s 686ms

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

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

And I wait for 3 seconds 3s 119ms

Given "a" element with "href" "/manual/carpa-stm/page/injuries-soft-tissue#table_stm_injuries-soft-tissue_4" should be visible 1m 10s 2ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\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/manual/carpa-stm/page/injuries-soft-tissue#c_stm_injuries_soft_tissue_topic-1_stem" 3s 694ms

And I wait for 3 seconds 4s 72ms

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

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

When I scroll to element 71ms

And I click on element 16s 601ms

Then new tab should be opened 19ms

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

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

And I wait for 3 seconds 3s 155ms

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

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

When I scroll to element 94ms

And I click on element 16s 590ms

Then new tab should be opened 13ms

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

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

And I wait for 3 seconds 3s 23ms

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

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

When I scroll to element 84ms

And I click on element 3s 706ms

Then new tab should be opened 10ms

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

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

And I wait for 2 seconds 2s 184ms

Given "section" element with "data-dita-element" "example" should be visible 51s 840ms

When I scroll to element 243ms

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

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

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

And I wait for 2 seconds 2s 77ms

Then "div" element with "role" "note" should be visible 17s 167ms

When I scroll to element 518ms

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

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

And I wait for 2 seconds 2s 68ms

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

When I scroll to element 193ms

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

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

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

And I wait for 2 seconds 2s 155ms

Then "img" element with "aria-hidden" "true" should be visible 12s 730ms

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

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

And I wait for 2 seconds 2s 354ms

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" 562ms

And I wait for 2 seconds 2s 403ms

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

When I scroll to element 69ms

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

When I get parent element 12ms

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

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

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

And I wait for 3 seconds 3s 25ms

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

When I scroll to element 71ms

And I click on element 1s 574ms

And I wait for 2 seconds 2s 299ms

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

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

And I wait for 3 seconds 3s 434ms

And "a" element with "full text" "Ask" should be visible 22s 300ms

When I scroll to element 65ms

And I click on element 18s 196ms

And I wait for 2 seconds 7s 33ms

Then "h2" element with "text" "Ask" should be visible 1m 10s 61ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\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/manual/carpa-stm/page/pain-management-acute" 5s 561ms

And I wait for 3 seconds 3s 38ms

And "a" element with "full text" "Check" should be visible 20s 987ms

When I scroll to element 51ms

And I click on element 18s 70ms

And I wait for 2 seconds 2s 20ms

Then "h2" element with "text" "Check" should be visible 1m 12s 947ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\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/manual/carpa-stm/page/pain-management-acute" 3s 830ms

And I wait for 3 seconds 3s 164ms

And "a" element with "full text" "Do" should be visible 21s 62ms

When I scroll to element 77ms

And I click on element 17s 837ms

And I wait for 2 seconds 7s 549ms

Then "h2" element with "text" "Do" should be visible 1m 10s 20ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\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/manual/carpa-stm/page/pain-management-acute" 3s 985ms

And I wait for 3 seconds 3s 160ms

And "a" element with "full text" "Pain medicines" should be visible 38s 569ms

When I scroll to element 72ms

And I click on element 1s 226ms

And I wait for 2 seconds 29s 288ms

Then "h2" element with "text" "Pain medicines" should be visible 18s 734ms

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

And I wait for 3 seconds 12s 942ms

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

When I scroll to element 584ms

And I click on element 2s 363ms

And I wait for 2 seconds 2s 25ms

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

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

And I wait for 3 seconds 11s 584ms

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

When I scroll to element 61ms

And I click on element 1s 214ms

And I wait for 2 seconds 2s 342ms

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

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

And I wait for 3 seconds 11s 725ms

And "a" element with "text" "Pregnant" should be visible 49s 669ms

When I scroll to element 42ms

And I click on element 1s 16ms

And I wait for 2 seconds 2s 154ms

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

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

And I wait for 3 seconds 3s 465ms

And "a" element with "text" "Breastfeeding" should be visible 1m 10s 2ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\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/manual/medicines/page/c_mb_how_the_medicine_monographs_topic-9_stem" 15s 707ms

And I wait for 3 seconds 3s 57ms

And "a" element with "text" "Babies and children" should be visible 1m 10s 1ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\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/manual/medicines/page/c_mb_how_the_medicine_monographs_topic-9_stem" 3s 235ms

And I wait for 3 seconds 3s 433ms

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

When I scroll to element 522ms

And I click on element 968ms

And I wait for 2 seconds 2s 162ms

Then "h2" element with "text" "Old people" should be visible 155ms

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

And I wait for 3 seconds 3s 276ms

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

When I scroll to element 130ms

And I click on element 1s 772ms

And I wait for 2 seconds 2s 106ms

Then "h2" element with "text" "Kidney trouble" should be visible 315ms

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

And I wait for 3 seconds 3s 90ms

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

When I scroll to element 156ms

And I click on element 1s 262ms

And I wait for 2 seconds 2s 319ms

Then "h2" element with "text" "Other trouble or illnesses the patient may already have" should be visible 1m 10s 970ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\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/manual/minymaku/page/labour-and-birth" 6s 4ms

And I wait for 3 seconds 3s 32ms

Given "button" element with "text" "Print" should be visible 14s 618ms

When I click on element 1s 72ms

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

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

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

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

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

And I wait for 3 seconds 3s 233ms

Given "button" element with "text" "Terminology" should be visible 6s 666ms

When I click on element 1s 561ms

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

When I click on element 1s 647ms

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

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

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

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

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

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

And I wait for 2 seconds 2s 269ms

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

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

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

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

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

And I wait for 2 seconds 2s 281ms

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

Given "a" element containing text "text" "Assessing respiratory distress" should be visible 12s 512ms

When I scroll to element 113ms

And I click on element 1s 157ms

And I wait for 2 seconds 2s 64ms

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

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

And I wait for 2 seconds 2s 394ms

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

Given "a" element containing text "text" "Adult REWS" should be visible 583ms

When I scroll to element 50ms

And I click on element 1s 518ms

And I wait for 2 seconds 2s 696ms

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

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

And I wait for 2 seconds 7s 411ms

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

Given "a" element containing text "text" "Obstetric REWS" should be visible 4s 691ms

When I scroll to element 198ms

And I click on element 1s 692ms

And I wait for 2 seconds 2s 158ms

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

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

And I wait for 2 seconds 7s 406ms

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

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

When I scroll to element 78ms

And I click on element 1s 218ms

And I wait for 2 seconds 2s 49ms

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

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

And I wait for 2 seconds 2s 56ms

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

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

When I scroll to element 144ms

And I click on element 1s 209ms

And I wait for 2 seconds 2s 25ms

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

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

And I wait for 2 seconds 2s 305ms

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

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

When I scroll to element 175ms

And I click on element 1s 474ms

And I wait for 2 seconds 2s 494ms

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

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

And I wait for 2 seconds 14s 258ms

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

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

When I scroll to element 123ms

And I click on element 1s 82ms

And I wait for 2 seconds 2s 674ms

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

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

And I wait for 3 seconds 3s 24ms

And the "Share" page tool should be visible 8s 82ms

When I click on element 2s 853ms

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

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

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

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

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

And I wait for 3 seconds 3s 506ms

And the "Share" page tool should be visible 21s 342ms

When I click on element 2s 389ms

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

And I click on element 1s 958ms

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

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

And I wait for 3 seconds 3s 55ms

And the "Share" page tool should be visible 11s 605ms

When I click on element 1s 492ms

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

And I click on element 1s 240ms

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

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

And the updates page is opened from the home page link 15s

Then the filter showing "All manuals" should offer these options: 12s 376ms
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) (D:\a\1\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/" 6s 922ms

And the updates page is opened from the home page link 22s 97ms

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

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

And the updates page is opened from the home page link 22s 568ms

Then choosing each of these manuals should show only its updates: 1m 6s 103ms
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 (D:\a\1\s\features\step_definitions\table-step-helpers.js:192:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async World.(anonymous) (D:\a\1\s\features\step_definitions\updates-filter-steps.js:129:3)

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

And the updates page is opened from the home page link 19s 313ms

Then clearing the filter for each of these manuals should bring back all updates: 52s 57ms
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 (D:\a\1\s\features\step_definitions\table-step-helpers.js:192:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async World.(anonymous) (D:\a\1\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" 6s 513ms

And I wait for 3 seconds 3s 128ms

Given "button" element with "text" "CSOM" should be visible 19s 960ms

When I click on element 2s 416ms

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

And element with "text" "chronic suppurative otitis media" should be visible 609ms

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

And I wait for 3 seconds 3s 257ms

Given "button" element with "text" "ENT" should be visible 19s 264ms

When I click on element 2s 410ms

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

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

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

And I wait for 3 seconds 3s 45ms

Given "button" element with "text" "AOMwiP" should be visible 17s 434ms

When I click on element 4s 288ms

Then element with "role" "dialog" should be visible 1s 25ms

And element with "text" "acute otitis media with perforation" should be visible 405ms

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

And I wait for 3 seconds 3s 46ms

Given "button" element with "text" "CSOM" should be visible 23s 704ms

When I click on element 1s 417ms

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

And I click on element 1s 776ms

And I wait for 1 seconds 1s 31ms

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

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

And I wait for 3 seconds 17s 494ms

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

When I click on element 1s 286ms

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

And I click on element 1s 923ms

And I wait for 1 seconds 1s 23ms

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

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

And I wait for 3 seconds 3s 92ms

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

When I click on element 1s 291ms

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

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

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

And I wait for 3 seconds 3s 30ms

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

When I click on element 1s 607ms

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

And element with "data-dita-element" "title" and "text" "Amoxicillin" should be visible 641ms

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

And I wait for 2 seconds 2s 27ms

And the Resources page has finished loading 17s 512ms

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

When I click on element 1s 412ms

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

And these elements should be shown for "AC2 and AC4 Overview page": 213ms
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": 240ms
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 532ms

And each landing page category should open its page: 33s 703ms
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" 3s 399ms

And I wait for 2 seconds 2s 35ms

And the Resources page has finished loading 15s 508ms

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

When I click on element 3s 174ms

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

And these elements should be shown for "AC2 and AC5 Cultural safety introduction": 33s 968ms
tag attribute value
h2 text Cultural safety
p text Primary health care in remote and rural Australia often involves working with culturally diverse
Show Error +
                                            
Error: AC2 and AC5 Cultural safety introduction: 2 of 2 not displayed - h2 with text "Cultural safety" | p with text "Primary health care in remote and rural Australia often involves working with culturally diverse" at checkXpaths (D:\a\1\s\features\step_definitions\resources-steps.js:482:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async World.(anonymous) (D:\a\1\s\features\step_definitions\resources-steps.js:521:3)

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

And I wait for 2 seconds 2s 23ms

And the Resources page has finished loading 18s 80ms

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

When I click on element 1s 514ms

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

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

And the On this page menu should list these sections and take me to each: 1s 686ms
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 601ms

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

And I wait for 2 seconds 2s 365ms

And the Resources page has finished loading 15s 894ms

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

When I click on element 1s 351ms

And I choose the "Abbreviations" category 32s 775ms

Then these entries should be listed with their descriptions: 1m 23s 339ms
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
Show Error +
                                            
Error: 3 of 5 rows failed - GAS: The entry "GAS" was not displayed after scrolling towards it for 25 seconds (page then: 53 entries shown, 0 loading) | KICA: The entry "KICA" was not displayed after scrolling towards it for 25 seconds (page then: 53 entries shown, 0 loading) | NRT: The entry "NRT" was not displayed after scrolling towards it for 25 seconds (page then: 53 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 (D:\a\1\s\features\step_definitions\resources-steps.js:269:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async World.(anonymous) (D:\a\1\s\features\step_definitions\resources-steps.js:372:3)

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

And I wait for 2 seconds 2s 528ms

And the Resources page has finished loading 5s 354ms

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

When I click on element 1s 571ms

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

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

When I open the category list 40ms

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

When I choose the "Glossary" category 5s 261ms

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

And these entries should be listed with their descriptions: 1s 469ms
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 220ms

And each listed entry should have a definition 159ms

And each A-Z button should take me to its section and show the entry: 38s 75ms
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 6s 205ms

Then these elements should be shown for "AC13 Mnemonics": 5s 43ms
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: 38s 770ms
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 1s 62ms

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

And I wait for 2 seconds 2s 49ms

And the Resources page has finished loading 6s 474ms

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

When I click on element 1s 663ms

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

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

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

And choosing each of these categories should show only its resources: 10s 736ms
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: 13s 63ms
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 1s 157ms

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

And I wait for 2 seconds 2s 24ms

And the Resources page has finished loading 1s 12ms

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

When I click on element 1s 328ms

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

And these elements should be shown for "AC2 and AC8 Training introduction": 7s 277ms
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: 858ms
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 2s 43ms

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

And I wait for 3 seconds 3s 101ms

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

When I enter "stomach" 335ms

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

And I click on element 7s 763ms

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

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

And I wait for 3 seconds 3s 371ms

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

When I enter "stomach" 470ms

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

And I click on element 1s 861ms

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

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

And I wait for 3 seconds 4s 27ms

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

When I enter "Stomach" 466ms

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

And I click on element 2s 7ms

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

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

And I wait for 3 seconds 3s 444ms

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

When I enter "acute" 8s 941ms

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

And I click on element 2s 451ms

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

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

And I wait for 3 seconds 3s 103ms

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

When I enter "STOMACH" 1s 585ms

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

And I click on element 2s 260ms

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

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

And I wait for 3 seconds 3s 32ms

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

When I enter "NSAIDs" 451ms

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

And I click on element 1s 502ms

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

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

And I wait for 3 seconds 3s 184ms

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

When I enter "asthma" 124ms

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

And I click on element 1s 502ms

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

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

And I wait for 3 seconds 3s 705ms

And "input" element with "aria-label" "Search manuals" 1s 421ms

When I enter "tummy" 784ms

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

And I click on element 2s 665ms

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

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

And I wait for 3 seconds 3s 84ms

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

When I enter "abdominal" 1s 807ms

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

And I click on element 2s 916ms

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

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

And I wait for 3 seconds 3s 584ms

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

When I enter "COVID-19" 813ms

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

And I click on element 2s 392ms

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

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

And I wait for 3 seconds 3s 513ms

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

And I set browser to offline mode 18ms

When I enter "stomach" 995ms

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

And I click on element 2s 394ms

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

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

And I wait for 3 seconds 3s 382ms

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

And I set browser to offline mode 10ms

When I enter "STOMACH" 1s 224ms

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

And I click on element 2s 330ms

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

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

And I wait for 3 seconds 3s 22ms

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

And I set browser to offline mode 8ms

When I enter "asthma" 1s 794ms

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

And I click on element 2s 438ms

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

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

And I wait for 3 seconds 3s 304ms

And "input" element with "aria-label" "Search manuals" 1s 620ms

And I set browser to offline mode 5ms

When I enter "tummy" 507ms

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

And I click on element 2s 212ms

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

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

And I wait for 3 seconds 3s 421ms

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

And I set browser to offline mode 6ms

When I enter "abdominal" 813ms

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

And I click on element 1s 996ms

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

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

And I wait for 3 seconds 3s 700ms

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

When I enter "vxc" 465ms

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

And I click on element 2s 266ms

Then the page heading should be 'No results for "vxc"' 7s 61ms

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

And I wait for 3 seconds 3s 229ms

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

When I enter "xuu" 385ms

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

And I click on element 1s 306ms

Then the page heading should be 'No results for "xuu"' 4s 52ms

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

And I wait for 3 seconds 3s 623ms

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

When I enter "xyz123" 215ms

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

And I click on element 7s 561ms

Then the page heading should be 'No results for "xyz123"' 15s 33ms

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

And I wait for 3 seconds 8s 198ms

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

When I enter "zxqvwk" 547ms

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

And I click on element 1s 447ms

Then the page heading should be 'No results for "zxqvwk"' 35s 933ms

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

And I wait for 3 seconds 3s 319ms

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

When I enter "valium" 237ms

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

And I click on element 2s 38ms

And I wait for 3 seconds 3s 497ms

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

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

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

And I enter "diazepam" 301ms

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

And I click on element 1s 374ms

And I wait for 3 seconds 17s 954ms

Then the page heading should be 'Search results for "diazepam"' 1m 40s 4ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 100000 milliseconds at Timeout._onTimeout (D:\a\1\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/" 14s 228ms

And I wait for 3 seconds 3s 132ms

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

When I enter "celecoxib" 551ms

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

And I click on element 3s 117ms

And I wait for 3 seconds 3s 433ms

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

When I visit "http://localhost:3000/" 16s 273ms

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

And I enter "celebrex" 200ms

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

And I click on element 1s 326ms

And I wait for 3 seconds 3s 473ms

Then the page heading should be 'Search results for "celebrex"' 1m 40s 5ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 100000 milliseconds at Timeout._onTimeout (D:\a\1\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/" 7s 751ms

And I wait for 3 seconds 3s 797ms

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

When I enter "antenatal" 911ms

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

And I click on element 1s 452ms

And I wait for 3 seconds 18s 399ms

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

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

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

And I enter "pregnancy" 190ms

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

And I click on element 1s 36ms

And I wait for 3 seconds 3s 94ms

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

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

And I wait for 3 seconds 3s 195ms

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

When I enter "ibuprofen" 232ms

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

And I click on element 1s 560ms

And I wait for 3 seconds 3s 267ms

Then the page heading should be 'Search results for "ibuprofen"' 442ms

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

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

And I enter "nurofen" 280ms

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

And I click on element 2s 437ms

And I wait for 3 seconds 3s 154ms

Then the page heading should be 'Search results for "nurofen"' 413ms

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

And I wait for 3 seconds 3s 67ms

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

When I enter "burn" 254ms

Then option "burns" should be in search results dropdown list 6s 9ms

Given "p" element with "full text" "burns" 265ms

When I click on element 1s 409ms

Then "h1" element with "text" "Burns" should be visible 2s 128ms

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

And I wait for 3 seconds 3s 232ms

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

When I enter "antenatal" 307ms

Then option "antenatal care" should be in search results dropdown list 13s 674ms

Given "p" element with "full text" "antenatal care" 90ms

When I click on element 1s 952ms

Then "h1" element with "text" "Antenatal care" should be visible 2s 786ms

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

And I wait for 3 seconds 3s 382ms

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

When I enter "bu" 195ms

Then option "burns" should be in search results dropdown list 14s 991ms

Given "p" element with "full text" "burns" 139ms

When I click on element 1s 138ms

Then "h1" element with "text" "Burns" should be visible 2s 194ms

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

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

When I enter "diabetes" 300ms

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

And I click on element 2s 870ms

And I wait for 3 seconds 8s 845ms

And "h1" element containing text "text" "diabetes" should be visible 353ms

And element with "text" "CARPA Standard Treatment Manual (STM)" 6s 349ms

And I click on element 1s 99ms

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

And I click on element 1s 130ms

Then I should see "CARPA STM" in the results span 51ms

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

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

When I enter "asthma" 348ms

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

And I click on element 1s 534ms

And I wait for 3 seconds 3s 190ms

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

And element with "text" "CARPA Standard Treatment Manual (STM)" 12s 922ms

And I click on element 1s 436ms

And "button" element with "text" "Show " 380ms

And I click on element 1s 509ms

Then I should see "CARPA STM" in the results span 197ms

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

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

When I enter "abdominal" 377ms

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

And I click on element 2s 293ms

And I wait for 3 seconds 3s 346ms

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

And element with "text" "Women's Business Manual (WBM)" 6s 689ms

And I click on element 1s 729ms

And "button" element with "text" "Show " 364ms

And I click on element 2s 47ms

Then I should see "WBM" in the results span 57ms

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

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

When I enter "Aspirin" 263ms

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

And I click on element 2s 601ms

And I wait for 3 seconds 3s 602ms

And "h1" element containing text "text" "Aspirin" should be visible 1s 110ms

And element with "text" "Medicines Book (MB)" 530ms

And I click on element 1s 482ms

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

And I click on element 1s 250ms

Then I should see "MB" in the results span 50ms

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

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

When I enter "diabetes" 252ms

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

And I click on element 1s 664ms

And I wait for 3 seconds 3s 57ms

And "h1" element containing text "text" "diabetes" should be visible 258ms

And "button" element with "text" "Clear all filters" should be visible 2s 889ms

And element with "text" "CARPA Standard Treatment Manual (STM)" 424ms

And I click on element 1s 479ms

And "button" element with "text" "Show " 115ms

And I click on element 1s 934ms

And I wait for 3 seconds 3s 288ms

And I should see "CARPA STM" in the results span 407ms

When "button" element with "text" "Clear all filters" 396ms

And I click on element 1s 424ms

Then I should see "WBM" in the results span 43ms

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

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

When I enter "asthma" 213ms

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

And I click on element 2s 42ms

And I wait for 3 seconds 3s 223ms

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

And "button" element with "text" "Clear all filters" should be visible 2s 667ms

And element with "text" "CARPA Standard Treatment Manual (STM)" 138ms

And I click on element 7s 31ms

And "button" element with "text" "Show " 336ms

And I click on element 1s 724ms

And I wait for 3 seconds 3s 360ms

And I should see "CARPA STM" in the results span 75ms

When "button" element with "text" "Clear all filters" 246ms

And I click on element 1s 899ms

Then I should see "WBM" in the results span 76ms

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

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

When I enter "abdominal" 911ms

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

And I click on element 1s 200ms

And I wait for 3 seconds 7s 832ms

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

And "button" element with "text" "Clear all filters" should be visible 3s 183ms

And element with "text" "Women's Business Manual (WBM)" 134ms

And I click on element 1s 473ms

And "button" element with "text" "Show " 167ms

And I click on element 1s 977ms

And I wait for 3 seconds 3s 50ms

And I should see "WBM" in the results span 50ms

When "button" element with "text" "Clear all filters" 180ms

And I click on element 1s 265ms

Then I should see "CPM" in the results span 43ms

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

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

When I enter "asthma" 256ms

And element with "text" "Exclude results from WBM" 1s 134ms

And I click on element 8s 287ms

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

And I click on element 2s 664ms

And I wait for 3 seconds 3s 80ms

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

Then checkbox "CARPA Standard Treatment Manual (STM)" should be checked 182ms

And checkbox "Clinical Procedures Manual (CPM)" should be checked 188ms

And checkbox "Medicines Book (MB)" should be checked 229ms

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

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

When I enter "stomach" 485ms

And element with "text" "Exclude results from WBM" 188ms

And I click on element 8s 419ms

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

And I click on element 1s 472ms

And I wait for 3 seconds 3s 61ms

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

Then checkbox "CARPA Standard Treatment Manual (STM)" should be checked 1m 13s 167ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\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/" 5s 155ms

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

When I enter "diabetes" 450ms

And element with "text" "Exclude results from WBM" 214ms

And I click on element 8s 703ms

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

And I click on element 1s 598ms

And I wait for 3 seconds 3s 49ms

And "h1" element containing text "text" "diabetes" should be visible 122ms

Then checkbox "CARPA Standard Treatment Manual (STM)" should be checked 29s 436ms

And checkbox "Clinical Procedures Manual (CPM)" should be checked 111ms

And checkbox "Medicines Book (MB)" should be checked 64ms

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

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

When I enter "trauma" 503ms

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

And I click on element 3s 395ms

And I wait for 3 seconds 3s 70ms

Then the page heading should be 'Search results for "trauma"' 163ms

And url should contain "/search?q=trauma" 64ms

And checkbox "Emergencies" should not be checked 30s 240ms

And "span" element with "text" "Emergencies" should be visible 221ms

When I click on element 2s 612ms

Then checkbox "Emergencies" should be checked 207ms

And "button" element with "text" "Show " 201ms

And I click on element 1s 155ms

Then I should see "CPM" in the results span 164ms

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

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

And I enter "aspiriin" 501ms

And "button" element with "text" "Search" 1s 868ms

And I click on element 2s 34ms

Then the page heading should be 'No results for "aspiriin"' 37s 725ms

And "p" element containing text "text" "Did you mean aspirin?" should be visible 77ms

When "a" element with "href" "/search?q=aspirin" should be visible 58ms

And I click on element 1s 194ms

Then "h1" element containing text "text" "aspirin" should be visible 113ms

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

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

And I enter "asprin" 304ms

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

And I click on element 1s 140ms

Then the page heading should be 'No results for "asprin"' 20s 465ms

And "p" element containing text "text" "Did you mean aspirin?" should be visible 193ms

When "a" element with "href" "/search?q=aspirin" should be visible 140ms

And I click on element 1s 219ms

Then "h1" element containing text "text" "aspirin" should be visible 103ms

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

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

And I enter "amoxycillin" 528ms

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

And I click on element 1s 596ms

Then the page heading should be 'No results for "amoxycillin"' 39s 789ms

And "p" element containing text "text" "Did you mean amoxicillin?" should be visible 467ms

When "a" element with "href" "/search?q=amoxicillin" should be visible 314ms

And I click on element 1s 475ms

Then "h1" element containing text "text" "amoxicillin" should be visible 121ms

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

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

And I enter "diabeets" 701ms

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

And I click on element 2s 767ms

Then the page heading should be 'No results for "diabeets"' 35s 473ms

And "p" element containing text "text" "Did you mean diabetes?" should be visible 63ms

When "a" element with "href" "/search?q=diabetes" should be visible 63ms

And I click on element 1s 367ms

Then "h1" element containing text "text" "diabetes" should be visible 234ms

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

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

And I enter "diabtes" 733ms

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

And I click on element 2s 758ms

Then the page heading should be 'No results for "diabtes"' 35s 233ms

And "p" element containing text "text" "Did you mean diabetes?" should be visible 135ms

When "a" element with "href" "/search?q=diabetes" should be visible 98ms

And I click on element 1s 661ms

Then "h1" element containing text "text" "diabetes" should be visible 123ms