All Scenarios

190

Passed Scenarios

135

Failed Scenarios

54

Undefined Scenarios

1

Execution Time: 185m 44s 732ms Device Type: Web

Expand All | Collapse All

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

And the REWS calculator is opened from the content 1m 342ms 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:95:3)

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

And the REWS calculator is opened from the content 1m 226ms 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:95:3)

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

And the REWS calculator is opened from the content 1m 479ms 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:95:3)

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

And the REWS calculator is opened from the content 1m 2s 388ms

Then each of these values should be accepted: 2m 58s 217ms
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
Show Info +
Passed only on a second try in the same browser: 13 years and over respiratory-rate "200"

And each of these values should be rejected as outside the permitted range: 4m 2s 386ms
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
Show Info +
Passed only on a second try in the same browser: 13 years and over respiratory-rate "201", 13 years and over temperature "46"

And each of these entries should be marked invalid and show its error message: 3m 8s 560ms
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 Info +
Passed only on a second try in the same browser: 13 years and over respiratory-rate "abc"

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

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

And the REWS calculator is opened from the content 1m 413ms

Then the REWS calculator should give these results: 2m 30s 303ms
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" 8s 224ms

And the REWS calculator is opened from the content 58s 738ms

Then the REWS calculator should give these results: 3m 17s 751ms
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 1: Obstetric (more than 20 weeks pregnant) total 2 gives Low

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

And the REWS calculator is opened from the content 4s 498ms

Then the REWS calculator should give these results: 51s 693ms
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: 51s 542ms
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" 2s 937ms

And the REWS calculator is opened from the content 31s 621ms

Then the REWS total should follow the band edges of these observations: 2m 56s 801ms
table_value avpu respiratory_rate oxygen_saturation pulse systolic_bp temperature field_id values totals
rews-table-adult alert 16 97 80 120 37 respiratory-rate 8,9,20,21 3,0,0,1
rews-table-adult alert 16 97 80 120 37 oxygen-saturation 92,93 1,0
rews-table-adult alert 16 97 80 120 37 temperature 37.9,38,38.5,38.6 0,1,1,2
Show Info +
Passed only on a second try in the same browser: rews-table-adult temperature

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

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

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

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

When I click on element 1s 918ms

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

And I click on element 1s 814ms

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

And I click on element 1s 845ms

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

And I click on element 1s 312ms

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

And I enter "16" 442ms

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

And I enter "97" 234ms

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

And I enter "80" 296ms

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

And I enter "120" 419ms

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

And I enter "37" 124ms

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

And I click on element 1s 462ms

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

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

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

And I clear the input 579ms

And I enter "135" 547ms

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

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

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

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

And I clear the input 596ms

And I enter "38.6" 1s 358ms

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

And I click on element 1s 834ms

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

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

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

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

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

And the REWS calculator is opened from the content 59s 856ms

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

When I click on element 2s 296ms

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

And I click on element 7s 91ms

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

And I click on element 1s 137ms

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

And I click on element 1s 217ms

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

And I enter "21" 406ms

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

And I click on element 2s 640ms

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

And I enter "110" 856ms

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

And I enter "140" 448ms

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

And I enter "90" 366ms

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

And I enter "37" 252ms

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

And I click on element 1s 950ms

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

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

And I click on element 1s 563ms

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

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

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 34ms

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

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

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

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

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

And I enter "301" 465ms

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

And I click on element 26s 594ms

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

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

And I click on element 2s 630ms

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

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

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

And the REWS calculator is opened from the content 1m 188ms 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:95:3)

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

And the REWS calculator is opened from the content 1m 6s 766ms Show Error +
                                            
Error: The REWS calculator link was not displayed and enabled within 60 seconds at waitUntil (D:\a\1\s\features\step_definitions\table-step-helpers.js:38:9) at async waitForClickable (D:\a\1\s\features\step_definitions\table-step-helpers.js:55:3) at async clickWhenReady (D:\a\1\s\features\step_definitions\table-step-helpers.js:86:21) at async openCalculatorFromLink (D:\a\1\s\features\step_definitions\rews-content-steps.js:43:30) 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 "https://test.rphcm.tg.org.au/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-5" 3s 194ms

And I wait for 2 seconds 2s 47ms

And "button" element with "text" "age-appropriate REWS" should be visible 1m 10s 13ms 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 "https://test.rphcm.tg.org.au/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-5" 11s 337ms

And I wait for 2 seconds 2s 45ms

And "button" element with "text" "age-appropriate REWS" should be visible 15s 239ms

And I click on element 1s 970ms

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

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

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

When I click on element 3s 676ms

And I wait for 2 seconds 2s 350ms

Then "aside" element with "id" "side-panel" should be hidden 10s 957ms Show Error +
                                            
Error: Expected aside with id="side-panel" to be hidden, but it is still displayed at World.(anonymous) (D:\a\1\s\features\step_definitions\visibility-steps.js:370:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

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

And I wait for 2 seconds 2s 391ms

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

Then the age range list should offer these patient categories: 716ms
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: 1m 2s 72ms
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" 7s 374ms

And I wait for 2 seconds 3s 512ms

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

Then each of these entries should show its error message: 2m 2s 911ms
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: 18s 414ms
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" 36s 365ms

And I wait for 2 seconds 2s 862ms

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

Then the REWS for "13 years and over" should give these results: 2m 19s 988ms
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" 13s 6ms

And I wait for 2 seconds 2s 292ms

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

Then the REWS for "Paediatric 5–12 years" should give these results: 2m 627ms
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" 12s 570ms

And I wait for 2 seconds 2s 312ms

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

Then the REWS for "Obstetric" should give these results: 2m 25s 536ms
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)
Show Info +
Passed only on a second try in the same browser: row 1: total 0 gives Low

Given I visit "http://localhost:3000/site/calculator" 24s 233ms

And I wait for 2 seconds 2s 316ms

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

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

When I click on element 1s 931ms

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

And I click on element 21s 577ms

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

And I click on element 1s 62ms

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

And I click on element 1s 199ms

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

And I enter "21" 189ms

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

And I click on element 3s 283ms

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

And I enter "110" 455ms

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

And I enter "140" 134ms

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

And I enter "90" 212ms

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

And I enter "37" 237ms

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

And I click on element 1s 405ms

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

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

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

And I click on element 1s 318ms

Then element with "id" "patient-table" and "full text" "Select patient table" should be visible 1m 10s 5ms 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" 19s 804ms

And I wait for 2 seconds 2s 88ms

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

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

When I click on element 1s 304ms

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

And I click on element 1s 410ms

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

And I enter "abc" 208ms

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

And I enter "110" 148ms

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

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

And I click on element 1s 226ms

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 11ms Show Error +
                                            
AssertionError + expected - actual -1 +0 at World.(anonymous) (D:\a\1\s\features\step_definitions\visibility-steps.js:254:32) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

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

And I wait for 2 seconds 2s 498ms

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

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

When I click on element 1s 44ms

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

And I click on element 1s 431ms

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

And I enter "21" 676ms

When "button" element containing text "text" "Clear All" should be visible 8s 238ms

And I click on element 10s 122ms

Then "h1" element with "text" "REWS Calculator" should be visible 1s 393ms

And "div" element with "id" "patient-table" should be visible 1s 213ms

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

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

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

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

And I wait for 3 seconds 3s 875ms

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

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

When I click on element 1s 915ms

And I wait for 2 seconds 2s 110ms

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

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

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

And I wait for 3 seconds 3s 35ms

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

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

When I click on element 1s 335ms

And I wait for 2 seconds 2s 44ms

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

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

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

And I wait for 3 seconds 3s 35ms

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

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

When I click on element 1s 189ms

And I wait for 2 seconds 10s 39ms

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

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

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

And I wait for 3 seconds 3s 73ms

And "h1" element with "text" "Community" should be visible 9s 550ms

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

When I click on element 1s 982ms

And I wait for 2 seconds 2s 346ms

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

And "h2" element with "text" "Reviewers" should be visible 2s 56ms

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

And I wait for 3 seconds 3s 28ms

And "h1" element with "text" "Community" should be visible 11s 931ms

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

When I click on element 1s 444ms

And I wait for 2 seconds 2s 134ms

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

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

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

Given "a" element with "text" "Conditions of use and disclaimer" 11s 395ms

Then I scroll to element 133ms

And I click on element 2s 995ms

And I wait for 2 seconds 2s 108ms

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

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

Given "a" element with "text" "Privacy policy" 11s 696ms

Then I scroll to element 540ms

And I click on element 1s 938ms

And I wait for 2 seconds 2s 110ms

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

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

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

Then I scroll to element 121ms

And I click on element 1s 140ms

And I wait for 2 seconds 2s 921ms

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

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

Given "a" element with "text" "Licence agreement" 21s 366ms

Then I scroll to element 105ms

And I click on element 1s 119ms

And I wait for 2 seconds 2s 88ms

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

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

Given "a" element with "text" "Support" 24s 91ms

Then I scroll to element 88ms

And I click on element 1s 217ms

And I wait for 2 seconds 2s 135ms

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

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

Given "a" element with "text" "Frequently asked questions (FAQs)" 18s 423ms

Then I scroll to element 100ms

And I click on element 1s 581ms

And I wait for 2 seconds 2s 134ms

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

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

When I wait for 3 seconds 3s 62ms

Given element with "text" "Manuals" 1s 969ms

When I click on element 1s 784ms

When I wait for 3 seconds 3s 133ms

Then the menu should display the following items: 3s 212ms
CARPA Standard Treatment Manual

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

When I wait for 3 seconds 3s 202ms

Given element with "text" "Manuals" 831ms

When I click on element 1s 186ms

When I wait for 3 seconds 3s 116ms

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

Given I visit "http://localhost:3000/" 15s 330ms

When I wait for 3 seconds 3s 302ms

Given element with "text" "Manuals" 293ms

When I click on element 1s 485ms

When I wait for 3 seconds 3s 46ms

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

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

When I wait for 3 seconds 3s 145ms

Given element with "text" "Manuals" 341ms

When I click on element 2s 667ms

When I wait for 3 seconds 3s 136ms

Then the menu should display the following items: 8s 52ms
Medicines book
Show Error +
                                            
TimeoutError: Menu item "Medicines book" not found Wait timed out after 8051ms at D:\a\1\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

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

When I wait for 3 seconds 3s 264ms

Given element with "text" "Tools" 16s 726ms

When I click on element 2s 193ms

When I wait for 3 seconds 3s 408ms

Then the menu should display the following items: 1m 24s 498ms
Doses tables
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/" 3s 492ms

When I wait for 3 seconds 3s 243ms

Given element with "text" "Tools" 14s 50ms

When I click on element 1s 620ms

When I wait for 3 seconds 3s 34ms

Then the menu should display the following items: 1m 27s 99ms
REWS calculator
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/" 9s 623ms

When I wait for 3 seconds 3s 174ms

Given element with "text" "Tools" 14s 26ms

When I click on element 1m 26s 829ms

When I wait for 3 seconds 3s 466ms

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

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

When I wait for 3 seconds 3s 40ms

Given element with "text" "Tools" 1m 10s 7ms 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/" 8s 646ms

When I wait for 3 seconds 3s 64ms

Given element with "text" "Resources" 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/" 1m 29s 680ms

When I wait for 3 seconds 3s 514ms

Given element with "text" "Resources" 7s 594ms

When I click on element 19s 82ms

When I wait for 3 seconds 3s 67ms

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

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

When I wait for 3 seconds 3s 608ms

Given element with "text" "Resources" 24s 626ms

When I click on element 1s 589ms

When I wait for 3 seconds 3s 24ms

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

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

When I wait for 3 seconds 3s 600ms

Given element with "text" "Resources" 23s 755ms

When I click on element 1s 571ms

When I wait for 3 seconds 3s 31ms

Then the menu should display the following items: 8s 184ms
Terms
Show Error +
                                            
TimeoutError: Menu item "Terms" not found Wait timed out after 8183ms at D:\a\1\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Given I visit "http://localhost:3000/" 26s 296ms

When I wait for 3 seconds 3s 221ms

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

When I click on element 1s 186ms

When I wait for 3 seconds 3s 15ms

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

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

When I wait for 3 seconds 10s 324ms

Given element with "text" "Resources" 20s 459ms

When I click on element 1s 53ms

When I wait for 3 seconds 3s 20ms

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

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

When I wait for 3 seconds 3s 789ms

Given element with "text" "Community" 25s 882ms

When I click on element 15s 799ms

When I wait for 3 seconds 6s 296ms

Then the menu should display the following items: 8s 131ms
Who we are
Show Error +
                                            
TimeoutError: Menu item "Who we are" not found Wait timed out after 8130ms at D:\a\1\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

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

When I wait for 3 seconds 4s 21ms

Given element with "text" "Community" 19s 179ms

When I click on element 1s 354ms

When I wait for 3 seconds 17s 873ms

Then the menu should display the following items: 8s 106ms
Get involved
Show Error +
                                            
TimeoutError: Menu item "Get involved" not found Wait timed out after 8105ms at D:\a\1\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

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

Given "h3" element with "text" "CARPA Standard Treatment Manual" should be visible 12s 312ms

When I scroll to element 166ms

And I click on element 2s 885ms

Then "h1" element with "text" "CARPA Standard Treatment Manual" should be visible 2s 233ms

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

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

When I scroll to element 118ms

And I click on element 2s 501ms

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

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

Given "h3" element with "text" "Clinical Procedures Manual" should be visible 9s 661ms

When I scroll to element 340ms

And I click on element 1s 857ms

Then "h1" element with "text" "Clinical Procedures Manual" should be visible 30s 627ms

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

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

When I scroll to element 155ms

And I click on element 1s 839ms

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

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

Given "p" element with "text" "Gynaecology" should be visible 12s 671ms

When I click on element 1s 909ms

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

When I click on element 1s 881ms

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

When I click on element 1s 294ms

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

Given I visit "http://localhost:3000/manual/minymaku" 7s 585ms

Given "p" element with "text" "Postnatal" should be visible 16s 686ms

When I click on element 1s 385ms

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

When I click on element 2s 47ms

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

When I click on element 1s 271ms

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

Given I visit "http://localhost:3000/manual/minymaku" 6s 322ms

Given "p" element with "text" "Postnatal" should be visible 17s 273ms

When I click on element 1s 242ms

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

When I click on element 994ms

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

When I click on element 1s 871ms

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

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

And I wait for 2 seconds 2s 228ms

Then "h1" element with "text" "Browse A-Z" should be visible 15s 290ms

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

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

And I wait for 2 seconds 2s 54ms

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

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

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

And I wait for 2 seconds 2s 642ms

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

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

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

And I wait for 2 seconds 2s 147ms

Then "h1" element with "text" "Browse A-Z" should be visible 18s 879ms

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

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

And I wait for 2 seconds 10s 47ms

Then "h1" element with "text" "Browse A-Z" should be visible 10s 583ms

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

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

And I wait for 2 seconds 2s 364ms

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

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

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

And I wait for 2 seconds 2s 57ms

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

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

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

And I wait for 2 seconds 2s 26ms

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

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

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

And I wait for 2 seconds 2s 49ms

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

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

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

And I wait for 2 seconds 2s 76ms

Then "h6" element with "text" "Browse by medicine class" should be visible 19s 855ms

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

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

And I wait for 2 seconds 2s 184ms

Then "h6" element with "text" "Browse by medicine class" should be visible 13s 90ms

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

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

And I wait for 2 seconds 2s 15ms

Then "h6" element with "text" "Browse by medicine class" should be visible 19s 600ms

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

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

And I wait for 2 seconds 2s 402ms

Then "h6" element with "text" "Browse by medicine class" should be visible 9s 464ms

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

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

And I wait for 2 seconds 2s 26ms

Then "h6" element with "text" "Browse by medicine class" should be visible 10s 382ms

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

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

And I wait for 2 seconds 2s 172ms

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

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

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

And I wait for 2 seconds 2s 55ms

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

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

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

And I wait for 2 seconds 2s 68ms

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

When I click on element 2s 517ms

And I wait for 4 seconds 4s 32ms

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

When I click on element 1s 837ms

And I wait for 2 seconds 2s 247ms

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

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

And I wait for 2 seconds 2s 68ms

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

When I click on element 1s 440ms

And I wait for 4 seconds 4s 306ms

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

When I click on element 1s 523ms

And I wait for 2 seconds 2s 151ms

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

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

And I wait for 2 seconds 2s 154ms

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

When I click on element 1s 414ms

And I wait for 4 seconds 22s 810ms

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

When I click on element 1s 612ms

And I wait for 2 seconds 2s 49ms

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

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

And I wait for 2 seconds 2s 126ms

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

When I click on element 1s 64ms

And I wait for 4 seconds 4s 21ms

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

When I click on element 1s 470ms

And I wait for 2 seconds 2s 362ms

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

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

And I wait for 2 seconds 2s 78ms

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

When I click on element 1s 190ms

And I wait for 4 seconds 4s 78ms

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

When I click on element 21s 795ms

And I wait for 2 seconds 2s 53ms

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

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

And I wait for 3 seconds 3s 576ms

And "button" element with "text" "Cite" should be visible 35s 305ms

When I click on element 1s 193ms

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

Given I visit "http://localhost:3000/manual/minymaku/page/breastfeeding" 7s 398ms

And I wait for 3 seconds 23s 490ms

And "button" element with "text" "Cite" should be visible 12s 366ms

When I click on element 1s 306ms

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

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

And I wait for 3 seconds 3s 345ms

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

When I click on element 1s 976ms

Then "h2" element with "text" "Citation" should be visible 1s 314ms

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

And I wait for 3 seconds 3s 580ms

And "h2" element with "text" "Do first" should be visible 10s 461ms

When I scroll to element 82ms

And "button" element with "aria-label" "Cite Do first" should be visible 1m 10s 10ms 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/breastfeeding" 5s 659ms

And I wait for 3 seconds 3s 287ms

And "h2" element with "text" "Supporting breastfeeding" should be visible 46s 276ms

When I scroll to element 143ms

And "button" element with "aria-label" "Cite Supporting 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/carpa-stm/page/injuries-soft-tissue" 5s 32ms

And I wait for 3 seconds 3s 267ms

And "h2" element with "text" "Check" should be visible 14s 998ms

When I scroll to element 95ms

And "button" element with "aria-label" "Cite Check" should be visible 1m 10s 12ms 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" 4s 555ms

And I wait for 3 seconds 3s 268ms

Given "a" element with "href" "/manual/carpa-stm/page/injuries-soft-tissue#tbl_5" should be visible 1m 10s 15ms 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" 5s 640ms

And I wait for 3 seconds 3s 59ms

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

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

When I scroll to element 89ms

And I click on element 29s 227ms

Then new tab should be opened 18ms

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

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

And I wait for 3 seconds 3s 166ms

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

And "a" element containing text "text" "Management of water-immersed wound infections in children" should be visible 1m 10s 16ms 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" 5s 481ms

And I wait for 3 seconds 3s 63ms

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

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

When I scroll to element 110ms

And I click on element 8s 190ms

Then new tab should be opened 12ms

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

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

And I wait for 2 seconds 2s 240ms

Given "section" element with "data-dita-element" "example" should be visible 29s 580ms

When I scroll to element 294ms

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

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

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

And I wait for 2 seconds 2s 24ms

Then "div" element with "role" "note" should be visible 26s 851ms

When I scroll to element 143ms

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

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

And I wait for 2 seconds 2s 84ms

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

When I scroll to element 220ms

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

Then(/^"([^"]*)" element with "([^"]*)" "([^"]*)" after the element should be visible$/, function(arg1, arg2, arg3, callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });

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

And I wait for 2 seconds 2s 178ms

Then "img" element with "aria-hidden" "true" should be visible 24s 467ms

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

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

And I wait for 2 seconds 2s 37ms

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

And I wait for 2 seconds 2s 54ms

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

When I scroll to element 268ms

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

When I get parent element 58ms

Then element should have css "background-color" "rgb(255, 244, 229)" 406ms Show Error +
                                            
Error: ❌ CSS property "background-color" does not match. Expected: rgb(255, 244, 229) Actual: rgba(255, 244, 229, 1) at World.(anonymous) (D:\a\1\s\features\step_definitions\css-steps.js:71:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

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

And I wait for 3 seconds 3s 40ms

And "a" element with "text" "Red flags – urgent medical consult" should be visible 32s 705ms

When I scroll to element 57ms

And I click on element 1s 424ms

And I wait for 2 seconds 2s 62ms

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

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

And I wait for 3 seconds 3s 64ms

And "a" element with "text" "Ask" should be visible 17s 599ms

When I scroll to element 853ms

And I click on element 2s 538ms

And I wait for 2 seconds 2s 25ms

Then "h2" element with "text" "Ask" should be visible 5s 19ms

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

And I wait for 3 seconds 3s 55ms

And "a" element with "text" "Check" should be visible 35s 215ms

When I scroll to element 232ms

And I click on element 1s 39ms

And I wait for 2 seconds 2s 24ms

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

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

And I wait for 3 seconds 11s 668ms

And "a" element with "text" "Do" should be visible 9s 165ms

When I scroll to element 382ms

And I click on element 2s 782ms

And I wait for 2 seconds 2s 185ms

Then "h2" element with "text" "Do" 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/manual/carpa-stm/page/pain-management-acute" 7s 605ms

And I wait for 3 seconds 11s 670ms

And "a" element with "text" "Pain medicines" should be visible 14s 925ms

When I scroll to element 402ms

And I click on element 1s 745ms

And I wait for 2 seconds 2s 308ms

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

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

And I wait for 3 seconds 3s 145ms

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

When I scroll to element 195ms

And I click on element 2s 340ms

And I wait for 2 seconds 2s 131ms

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

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

And I wait for 3 seconds 3s 81ms

And "a" element with "text" "References" should be visible 1s 150ms

When I scroll to element 165ms

And I click on element 1s 717ms

And I wait for 2 seconds 2s 67ms

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

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

And I wait for 3 seconds 3s 189ms

And "a" element with "text" "Pregnant" should be visible 684ms

When I scroll to element 146ms

And I click on element 1s 712ms

And I wait for 2 seconds 2s 31ms

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

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

And I wait for 3 seconds 3s 74ms

And "a" element with "text" "Breastfeeding" should be visible 5s 241ms

When I scroll to element 87ms

And I click on element 1s 507ms

And I wait for 2 seconds 2s 649ms

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

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

And I wait for 3 seconds 3s 578ms

And "a" element with "text" "Babies and children" should be visible 14s 155ms

When I scroll to element 340ms

And I click on element 2s 143ms

And I wait for 2 seconds 2s 97ms

Then "h2" element with "text" "Babies and children" should be visible 305ms

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

And I wait for 3 seconds 3s 106ms

And "a" element with "text" "Old people" should be visible 22s 307ms

When I scroll to element 324ms

And I click on element 1s 632ms

And I wait for 2 seconds 2s 68ms

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

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

And I wait for 3 seconds 3s 95ms

And "a" element with "text" "Kidney trouble" should be visible 38s 507ms

When I scroll to element 107ms

And I click on element 1s 502ms

And I wait for 2 seconds 2s 41ms

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

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

And I wait for 3 seconds 4s 119ms

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

When I scroll to element 75ms

And I click on element 1s 631ms

And I wait for 2 seconds 2s 30ms

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

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

And I wait for 3 seconds 3s 707ms

Given "button" element with "text" "Print" should be visible 24s 148ms

When I click on element 1s 958ms

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

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

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

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

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

And I wait for 3 seconds 3s 293ms

Given "button" element with "text" "Terminology" should be visible 15s 88ms

When I click on element 1s 484ms

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

When I click on element 1s 797ms

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

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

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

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

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

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

And I wait for 2 seconds 2s 960ms

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

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

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

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

Given I visit "http://localhost:3000/resources/rews" 9s 451ms

And I wait for 2 seconds 2s 50ms

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

Given "a" element containing text "text" "Assessing respiratory distress" should be visible 1m 10s 53ms 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/resources/rews" 10s 633ms

And I wait for 2 seconds 2s 152ms

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

Given "a" element containing text "text" "Adult REWS" 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/resources/rews" 10s 424ms

And I wait for 2 seconds 2s 525ms

Then the page heading should be "Remote Early Warning Scores (REWS)" 1s 467ms

Given "a" element containing text "text" "Obstetric REWS" should be visible 37s 537ms

When I scroll to element 99ms

And I click on element 3s 386ms

And I wait for 2 seconds 2s 25ms

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

Given I visit "http://localhost:3000/resources/rews" 11s 477ms

And I wait for 2 seconds 2s 843ms

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

Given "a" element containing text "text" "0–3 months REWS" should be visible 1m 10s 8ms 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/resources/rews" 13s 941ms

And I wait for 2 seconds 2s 120ms

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

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

When I scroll to element 72ms

And I click on element 3s 368ms

And I wait for 2 seconds 2s 23ms

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

Given I visit "http://localhost:3000/resources/rews" 16s 839ms

And I wait for 2 seconds 2s 171ms

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

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

When I scroll to element 74ms

And I click on element 1s 585ms

And I wait for 2 seconds 2s 141ms

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

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

And I wait for 2 seconds 2s 916ms

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

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

When I scroll to element 92ms

And I click on element 1s 432ms

And I wait for 2 seconds 2s 24ms

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

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

And I wait for 3 seconds 6s 305ms

And "button" element with "aria-label" "Share" should be visible 1m 26s 738ms 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" 3s 92ms

And I wait for 3 seconds 6s 326ms

And "button" element with "aria-label" "Share" should be visible 1m 26s 744ms 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" 4s 121ms

And I wait for 3 seconds 3s 97ms

And "button" element with "aria-label" "Share" should be visible 1m 14s 284ms 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 206ms

And "a" element with "href" "/updates" 19s 815ms

When I scroll to element 280ms

And I click on element 2s 118ms

Then the page heading should be "What’s changed" 950ms

Given element with "role" "combobox" and "text" "All manuals" should be visible 395ms

When I click on element 3s 58ms

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

And element with "role" "option" and "text" "All manuals" should be visible 629ms

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

And "a" element with "href" "/updates" 19s 363ms

When I scroll to element 202ms

And I click on element 10s 577ms

Then the page heading should be "What’s changed" 871ms

Given element with "role" "combobox" and "text" "All manuals" should be visible 1m 10s 10ms 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/" 17s 670ms

And "a" element with "href" "/updates" 56s 263ms

When I scroll to element 45ms

And I click on element 2s 244ms

Then the page heading should be "What’s changed" 304ms

Given element with "role" "combobox" and "text" "All manuals" should be visible 89ms

When I click on element 2s 520ms

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

And element with "role" "option" and "text" "Clinical Procedures" 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/" 2s 894ms

And "a" element with "href" "/updates" 4s 730ms

When I scroll to element 285ms

And I click on element 4s 807ms

Then the page heading should be "What’s changed" 366ms

Given element with "role" "combobox" and "text" "All manuals" should be visible 2s 22ms

When I click on element 1s 937ms

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

And element with "role" "option" and "text" "Medicines Book" 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/" 6s 292ms

And "a" element with "href" "/updates" 14s 187ms

When I scroll to element 157ms

And I click on element 10s 352ms

Then the page heading should be "What’s changed" 584ms

Given element with "role" "combobox" and "text" "All time" should be visible 7s 675ms

When I click on element 2s 512ms

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

And element with "role" "option" and "text" "All time" should be visible 153ms

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

And "a" element with "href" "/updates" 2s 655ms

When I scroll to element 835ms

And I click on element 2s 97ms

Then the page heading should be "What’s changed" 650ms

Given element with "role" "combobox" and "text" "All time" should be visible 432ms

When I click on element 2s 342ms

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

And element with "role" "option" and "text" "Last 30 days" should be visible 169ms

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

And "a" element with "href" "/updates" 13s 838ms

When I scroll to element 568ms

And I click on element 2s 321ms

Then the page heading should be "What’s changed" 747ms

Given element with "role" "combobox" and "text" "All time" should be visible 757ms

When I click on element 4s 389ms

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

And element with "role" "option" and "text" "Last 3 months" should be visible 154ms

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

And "a" element with "href" "/updates" 3s 449ms

When I scroll to element 282ms

And I click on element 1s 904ms

Then the page heading should be "What’s changed" 679ms

Given element with "role" "combobox" and "text" "All time" should be visible 152ms

When I click on element 2s 319ms

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

And element with "role" "option" and "text" "Last 6 months" should be visible 229ms

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

And "a" element with "href" "/updates" 3s 111ms

When I scroll to element 591ms

And I click on element 2s 295ms

Then the page heading should be "What’s changed" 497ms

Given element with "role" "combobox" and "text" "All time" should be visible 989ms

When I click on element 3s 87ms

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

And element with "role" "option" and "text" "Last 12 months" should be visible 86ms

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

And "a" element with "href" "/updates" 2m 5s 416ms 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 767ms

And "a" element with "href" "/updates" 2m 7s 31ms 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/" 4s 501ms

And "a" element with "href" "/updates" 2m 8s 104ms 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 759ms

And "a" element with "href" "/updates" 2m 7s 100ms 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/" 4s 601ms

And "a" element with "href" "/updates" 2m 8s 249ms 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/" 10s 566ms

And "a" element with "href" "/updates" 1m 59s 665ms 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/" 2s 921ms

And "a" element with "href" "/updates" 3s 658ms

When I scroll to element 258ms

And I click on element 2s 118ms

Then the page heading should be "What’s changed" 148ms

Given element with "role" "combobox" and "text" "All manuals" should be visible 1s 468ms

When I click on element 2s 133ms

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

And element with "role" "option" and "text" "Medicines Book" should be visible 1m 10s 8ms 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)

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" 4s 351ms

And I wait for 3 seconds 3s 148ms

Given "button" element with "text" "CSOM" should be visible 47s 883ms

When I click on element 1s 691ms

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

And element with "text" "chronic suppurative otitis media" should be visible 1s 483ms

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

And I wait for 3 seconds 3s 118ms

Given "button" element with "text" "ENT" should be visible 42s 783ms

When I click on element 2s 832ms

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

And element with "text" "ear, nose and throat" should be visible 2s 839ms

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

And I wait for 3 seconds 3s 714ms

Given "button" element with "text" "AOMwiP" should be visible 14s 548ms

When I click on element 1s 529ms

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

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

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

And I wait for 3 seconds 3s 40ms

Given "button" element with "text" "CSOM" should be visible 8s 609ms

When I click on element 1s 550ms

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

And I click on element 1s 50ms

And I wait for 1 seconds 1s 29ms

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

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

And I wait for 3 seconds 3s 92ms

Given "button" element with "text" "ENT" should be visible 10s 316ms

When I click on element 1s 188ms

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

And I click on element 2s 26ms

And I wait for 1 seconds 1s 135ms

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

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

And I wait for 3 seconds 3s 249ms

Given "span[contains(., 'azithromycin oral')]/button" element containing text "text" "doses" should be visible 1m 12s 692ms 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/ear-and-hearing-problems" 4s 242ms

And I wait for 3 seconds 3s 85ms

Given "span[contains(., 'amoxicillin oral')]/button" element containing text "text" "doses" should be visible 1m 10s 9ms 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/resources" 5s 626ms

And I wait for 2 seconds 2s 50ms

And the Resources page has finished loading 20s 363ms

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

When I click on element 1s 392ms

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

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

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

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

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

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

And the standard footer should be shown 498ms

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

And I wait for 2 seconds 2s 467ms

And the Resources page has finished loading 17s 244ms

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

When I click on element 2s 69ms

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

And these elements should be shown for "AC2 and AC4 Overview page": 30s 375ms
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
Show Error +
                                            
Error: AC2 and AC4 Overview page: 1 of 4 not displayed - p with text "Clinical tools, educational materials, training links, and patient resources for remote and Indigenous primary health care" 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 303ms

And I wait for 2 seconds 2s 144ms

And the Resources page has finished loading 21s 66ms

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

When I click on element 1s 430ms

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

And these elements should be shown for "AC2 Working in remote clinics heading": 30s 361ms
tag attribute value
h2 text Travelling in remote areas
Show Error +
                                            
Error: AC2 Working in remote clinics heading: 1 of 1 not displayed - h2 with text "Travelling in remote areas" at checkXpaths (D:\a\1\s\features\step_definitions\resources-steps.js:482:11) at async World.(anonymous) (D:\a\1\s\features\step_definitions\resources-steps.js:521:3)

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

And I wait for 2 seconds 2s 56ms

And the Resources page has finished loading 39s 425ms

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

When I click on element 1s 286ms

And I choose the "Abbreviations" category 34s 624ms

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

And the listed entries should be in alphabetical order 236ms

And each listed entry should have a definition 61ms

And each A-Z button should take me to its section and show the entry: 56s 488ms
letter term
A ABC
B BCG
C C3
D DAA
E ECEI
F FaFT
G GAS
H HAM/TSP
I ICS
J JVP
K kg
L LA
M MAC
N N/A
O O₂
P PBS
Q qid
R rAOM
S S1
T T10
U U/A
V VBG
W WA
X XL
Other %

And searching the Abbreviations for each of these should show the term and its description: 14s 929ms
query term description
ABC ABC airway, breathing, circulation
breathing ABC airway, breathing, circulation
GA GAS Group A beta haemolytic streptococcus
ENT CNS central nervous system
CSF CSF cerebrospinal fluid
CS ACS acute coronary syndrome
CS CSF cerebrospinal fluid
CS CSL Commonwealth Serum Laboratory
CS CSLD chronic suppurative lung disease
CS CSOM chronic suppurative otitis media
CS ICS inhaled corticosteroids

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

And I wait for 2 seconds 2s 40ms

And the Resources page has finished loading 2s 527ms

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

When I click on element 1s 517ms

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

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

When I open the category list 33ms

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

When I choose the "Glossary" category 14s 754ms

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

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

And each listed entry should have a definition 20ms

And each A-Z button should take me to its section and show the entry: 29s 13ms
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 3s 292ms

Then these elements should be shown for "AC13 Mnemonics": 2s 288ms
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: 33s 242ms
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 56ms

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

And I wait for 2 seconds 2s 302ms

And the Resources page has finished loading 2s 728ms

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

When I click on element 1s 454ms

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

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

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

And choosing each of these categories should show only its resources: 20s 381ms
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: 9s 492ms
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 926ms

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

And I wait for 2 seconds 2s 349ms

And the Resources page has finished loading 10s 287ms

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

When I click on element 1s 407ms

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

And these elements should be shown for "AC2 and AC8 Training introduction": 5s 326ms
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: 1s 958ms
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 1s 721ms

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

And I wait for 3 seconds 3s 127ms

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

When I enter "stomach" 344ms

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

And I click on element 1s 145ms

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

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

And I wait for 3 seconds 3s 63ms

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

When I enter "stomach" 984ms

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

And I click on element 1s 235ms

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

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

And I wait for 3 seconds 3s 230ms

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

When I enter "Stomach" 1s 276ms

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

And I click on element 1s 999ms

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

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

And I wait for 3 seconds 3s 217ms

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

When I enter "acute" 1s 2ms

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

And I click on element 3s 879ms

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

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

And I wait for 3 seconds 3s 694ms

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

When I enter "STOMACH" 459ms

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

And I click on element 1s 912ms

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

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

And I wait for 3 seconds 3s 56ms

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

When I enter "NSAIDs" 417ms

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

And I click on element 1s 465ms

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

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

And I wait for 3 seconds 3s 231ms

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

When I enter "asthma" 348ms

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

And I click on element 1s 549ms

And "h1" element containing text "text" "asthma" should be visible 1s 115ms

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

And I wait for 3 seconds 3s 85ms

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

When I enter "tummy" 583ms

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

And I click on element 4s 353ms

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

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

And I wait for 3 seconds 3s 879ms

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

When I enter "abdominal" 508ms

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

And I click on element 2s 118ms

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

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

And I wait for 3 seconds 3s 986ms

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

When I enter "COVID-19" 699ms

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

And I click on element 2s 38ms

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

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

And I wait for 3 seconds 3s 974ms

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

And I set browser to offline mode 15ms

When I enter "stomach" 579ms

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

And I click on element 2s 35ms

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

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

And I wait for 3 seconds 3s 649ms

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

And I set browser to offline mode 12ms

When I enter "STOMACH" 405ms

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

And I click on element 1s 565ms

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

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

And I wait for 3 seconds 3s 298ms

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

And I set browser to offline mode 11ms

When I enter "asthma" 265ms

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

And I click on element 1s 634ms

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

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

And I wait for 3 seconds 3s 139ms

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

And I set browser to offline mode 27ms

When I enter "tummy" 325ms

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

And I click on element 1s 638ms

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

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

And I wait for 3 seconds 3s 14ms

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

And I set browser to offline mode 8ms

When I enter "abdominal" 210ms

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

And I click on element 1s 49ms

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

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

And I wait for 3 seconds 4s 283ms

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

When I enter "vxc" 1s 249ms

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

And I click on element 1s 531ms

Then the page heading should be 'No results for "vxc"' 19s 874ms

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

And I wait for 3 seconds 3s 185ms

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

When I enter "xuu" 1s 468ms

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

And I click on element 1s 718ms

Then the page heading should be 'No results for "xuu"' 20s 679ms

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

And I wait for 3 seconds 3s 66ms

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

When I enter "xyz123" 430ms

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

And I click on element 1s 855ms

Then the page heading should be 'No results for "xyz123"' 21s 886ms

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

And I wait for 3 seconds 3s 170ms

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

When I enter "snake bite" 331ms

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

And I click on element 2s 264ms

Then the page heading should be 'No results for "snake bite"' 1m 46s 370ms 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/" 9s 303ms

And I wait for 3 seconds 3s 93ms

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

When I enter "valium" 480ms

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

And I click on element 1s 799ms

And I wait for 3 seconds 3s 190ms

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

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

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

And I enter "diazepam" 382ms

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

And I click on element 1s 169ms

And I wait for 3 seconds 3s 62ms

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

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

And I wait for 3 seconds 4s 637ms

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

When I enter "celecoxib" 1s 80ms

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

And I click on element 2s 221ms

And I wait for 3 seconds 3s 443ms

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

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

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

And I enter "celebrex" 415ms

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

And I click on element 1s 671ms

And I wait for 3 seconds 3s 53ms

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

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

And I wait for 3 seconds 3s 829ms

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

When I enter "antenatal" 934ms

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

And I click on element 2s 264ms

And I wait for 3 seconds 3s 403ms

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

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

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

And I enter "pregnancy" 578ms

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

And I click on element 2s 165ms

And I wait for 3 seconds 3s 16ms

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

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

And I wait for 3 seconds 3s 203ms

Given "input" element with "aria-label" "Search manuals" 2s 127ms

When I enter "ibuprofen" 1s 135ms

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

And I click on element 2s 54ms

And I wait for 3 seconds 3s 131ms

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

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

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

And I enter "nurofen" 952ms

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

And I click on element 2s 187ms

And I wait for 3 seconds 3s 59ms

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

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

And I wait for 3 seconds 4s 734ms

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

When I enter "burn" 1s 260ms

And I wait for 4 seconds 4s 264ms

Then option "burns" should be in search results dropdown list 10s 958ms Show Error +
                                            
TimeoutError: Option "burns" was not found in the search results dropdown list Wait timed out after 10951ms at D:\a\1\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Given I visit "http://localhost:3000/" 23s 798ms

And I wait for 3 seconds 3s 337ms

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

When I enter "antenatal" 278ms

And I wait for 4 seconds 4s 75ms

Then option "antenatal care" should be in search results dropdown list 10s 264ms

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

When I click on element 1s 301ms

Then "h1" element with "text" "Antenatal care" should be visible 8s 834ms

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

And I wait for 3 seconds 3s 129ms

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

When I enter "bu" 389ms

And I wait for 4 seconds 4s 165ms

Then option "burns" should be in search results dropdown list 10s 438ms Show Error +
                                            
TimeoutError: Option "burns" was not found in the search results dropdown list Wait timed out after 10438ms at D:\a\1\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

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

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

When I enter "diabetes" 287ms

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

And I click on element 1s 902ms

And I wait for 3 seconds 3s 145ms

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

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

And I click on element 1s 457ms

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

And I click on element 1s 357ms

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

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

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

When I enter "asthma" 684ms

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

And I click on element 1s 839ms

And I wait for 3 seconds 3s 199ms

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

And element with "text" "CARPA Standard Treatment Manual (STM)" 13s 536ms

And I click on element 1s 150ms

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

And I click on element 1s 53ms

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

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

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

When I enter "abdominal" 224ms

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

And I click on element 1s 303ms

And I wait for 3 seconds 5s 656ms

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

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

And I click on element 8s 634ms

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

And I click on element 1s 296ms

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

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

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

When I enter "Aspirin" 304ms

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

And I click on element 1s 140ms

And I wait for 3 seconds 3s 70ms

And "h1" element containing text "text" "Aspirin" should be visible 344ms

And element with "text" "Medicines Book (MB)" 18s 440ms

And I click on element 1s 41ms

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

And I click on element 1s 480ms

Then I should see "MB" in the results span 5s 167ms Show Error +
                                            
TimeoutError: Waiting for element to be located By(xpath, //span[normalize-space()="MB"]) Wait timed out after 5167ms at D:\a\1\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

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

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

When I enter "diabetes" 1s 47ms

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

And I click on element 1s 361ms

And I wait for 3 seconds 3s 201ms

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

And "button" element with "text" "Clear all filters" should be visible 25s 792ms

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

And I click on element 1s 249ms

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

And I click on element 1s 96ms

And I wait for 3 seconds 3s 65ms

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

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

And I click on element 1s 485ms

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

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

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

When I enter "asthma" 465ms

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

And I click on element 2s 525ms

And I wait for 3 seconds 3s 60ms

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

And "button" element with "text" "Clear all filters" should be visible 26s 685ms

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

And I click on element 1s 138ms

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

And I click on element 1s 614ms

And I wait for 3 seconds 3s 49ms

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

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

And I click on element 1s 547ms

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

Given I visit "http://localhost:3000/" 12s 276ms

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

When I enter "abdominal" 322ms

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

And I click on element 1s 239ms

And I wait for 3 seconds 3s 52ms

And "h1" element containing text "text" "abdominal" should be visible 2s 865ms

And "button" element with "text" "Clear all filters" should be visible 18s 750ms

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

And I click on element 1s 266ms

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

And I click on element 1s 589ms

And I wait for 3 seconds 3s 633ms

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

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

And I click on element 1s 717ms

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

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

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

When I enter "asthma" 516ms

And element with "text" "Exclude results from WBM" 728ms

And I click on element 4s 421ms

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

And I click on element 1s 366ms

And I wait for 3 seconds 3s 65ms

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

Then checkbox "CARPA Standard Treatment Manual (STM)" should be checked 2s 912ms

And checkbox "Clinical Procedures Manual (CPM)" should be checked 131ms

And checkbox "Medicines Book (MB)" should be checked 139ms

Given I visit "http://localhost:3000/" 26s 35ms

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

When I enter "stomach" 305ms

And element with "text" "Exclude results from WBM" 114ms

And I click on element 7s 477ms

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

And I click on element 1s 656ms

And I wait for 3 seconds 3s 243ms

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

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

And checkbox "Clinical Procedures Manual (CPM)" should be checked 187ms

And checkbox "Medicines Book (MB)" should be checked 245ms

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

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

When I enter "diabetes" 413ms

And element with "text" "Exclude results from WBM" 385ms

And I click on element 10s 645ms

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

And I click on element 2s 150ms

And I wait for 3 seconds 3s 46ms

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

Then checkbox "CARPA Standard Treatment Manual (STM)" should be checked 45s 878ms

And checkbox "Clinical Procedures Manual (CPM)" should be checked 337ms

And checkbox "Medicines Book (MB)" should be checked 120ms

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

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

When I enter "trauma" 828ms

And "button" element with "text" "Search" 1s 86ms

And I click on element 2s 717ms

And I wait for 3 seconds 3s 33ms

Then the page heading should be 'Search results for "trauma"' 744ms

And url should contain "/search?q=trauma" 32ms

And checkbox "Emergencies" should not be checked 24s 938ms

And "span" element with "text" "Emergencies" should be visible 298ms

When I click on element 17s 111ms

Then checkbox "Emergencies" should be checked 76ms

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

And I click on element 6s 968ms

Then I should see "CPM" in the results span 5s 241ms Show Error +
                                            
TimeoutError: Waiting for element to be located By(xpath, //span[normalize-space()="CPM"]) Wait timed out after 5241ms at D:\a\1\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

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

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

And I enter "aspiriin" 474ms

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

And I click on element 2s 83ms

When I wait for 4 seconds 4s 620ms

Then "h1" element containing text "text" "aspirin" should be visible 1m 10s 13ms 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/" 9s 314ms

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

And I enter "asprin" 480ms

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

And I click on element 3s 286ms

When I wait for 4 seconds 4s 616ms

Then "h1" element containing text "text" "aspirin" 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/" 14s 601ms

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

And I enter "amoxycillin" 341ms

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

And I click on element 2s 131ms

When I wait for 4 seconds 4s 336ms

Then "h1" element containing text "text" "amoxicillin" 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/" 20s 12ms

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

And I enter "diabeets" 384ms

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

And I click on element 3s 482ms

When I wait for 4 seconds 4s 149ms

Then "h1" element containing text "text" "diabetes" should be visible 1m 10s 15ms 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/" 3s 462ms

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

And I enter "diabtes" 327ms

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

And I click on element 3s 170ms

When I wait for 4 seconds 4s 65ms

Then "h1" element containing text "text" "diabetes" 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)