All Scenarios

178

Passed Scenarios

136

Failed Scenarios

42

Execution Time: 179m 52s 746ms Device Type: Web

Expand All | Collapse All

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

And the REWS calculator is opened from the content 1m 3s 174ms 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" 7s 233ms

And the REWS calculator is opened from the content 1m 3s 198ms 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" 7s 556ms

And the REWS calculator is opened from the content 1m 3s 243ms 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 806ms

And the REWS calculator is opened from the content 1m 4s 475ms 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 377ms

And the REWS calculator is opened from the content 1m 4s 285ms 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" 6s 394ms

And the REWS calculator is opened from the content 1m 2s 237ms 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" 6s 103ms

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

Then the REWS calculator should give these results: 1m 14s 594ms
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
Show Info +
Passed only on a second try in the same browser: row 1: rews-table-adult total 2 gives Low

And the REWS calculator should give these results: 39s 650ms
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" 6s 677ms

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

Then the REWS total should follow the band edges of these observations: 2m 35s 880ms
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 respiratory-rate

And the REWS total should follow the band edges of these observations: 2m 42s 427ms
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" 10s 528ms

And the REWS calculator is opened from the content 56s 968ms

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

When I click on element 1s 732ms

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

And I click on element 17s 876ms

And "div" element with "id" "level-of-consciousness" should be visible 8s 820ms

And I click on element 1s 999ms

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

And I click on element 2s 607ms

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

And I enter "16" 462ms

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

And I enter "97" 459ms

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

And I enter "80" 905ms

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

And I enter "120" 867ms

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

And I enter "37" 497ms

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

And I click on element 2s 849ms

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

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

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

And I clear the input 590ms

And I enter "135" 496ms

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

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

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

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

And I clear the input 346ms

And I enter "38.6" 390ms

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

And I click on element 3s 276ms

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

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

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

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

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

And the REWS calculator is opened from the content 1m 32s 567ms 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 "http://localhost:3000/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-1_stem" 6s 834ms

And the REWS calculator is opened from the content 1m 162ms 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 409ms

And the REWS calculator is opened from the content 1m 85ms 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 "https://test.rphcm.tg.org.au/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-5" 5s 268ms

And I wait for 2 seconds 2s 219ms

And "button" element with "text" "age-appropriate REWS" should be visible 6s 681ms

And I click on element 3s 595ms

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

When I click on element 3s 342ms

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

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

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

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

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

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

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

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

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

And I wait for 2 seconds 2s 791ms

And "button" element with "text" "age-appropriate REWS" should be visible 14s 354ms

And I click on element 2s 68ms

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

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

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

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

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

When I click on element 2s 7ms

And I wait for 2 seconds 2s 295ms

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

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

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

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

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

And I wait for 2 seconds 2s 183ms

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

Then the age range list should offer these patient categories: 3s 453ms
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: 31s 569ms
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" 4s 99ms

And I wait for 2 seconds 2s 40ms

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

Then each of these entries should show its error message: 3m 394ms
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: 22s 621ms
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" 3s 663ms

And I wait for 2 seconds 2s 348ms

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

Then the REWS for "13 years and over" should give these results: 3m 20s 760ms
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" 4s 81ms

And I wait for 2 seconds 2s 96ms

Then the page heading should be "REWS Calculator" 1s 25ms

Then the REWS for "Paediatric 5–12 years" should give these results: 3m 5s 405ms
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" 20s 8ms

And I wait for 2 seconds 2s 388ms

Then the page heading should be "REWS Calculator" 31s 426ms

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

Given I visit "http://localhost:3000/site/calculator" 58s 153ms

And I wait for 2 seconds 2s 861ms

Then the page heading should be "REWS Calculator" 1s 884ms

Given "div" element with "id" "patient-table" should be visible 1s 92ms

When I click on element 3s 755ms

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

And I click on element 3s 780ms

And "div" element with "id" "level-of-consciousness" should be visible 38s 752ms

And I click on element 3s 821ms

And "li" element with "data-value" "alert" should be visible 1s 37ms

And I click on element 3s 368ms

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

And I enter "21" 1s 310ms

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

And I click on element 2s 76ms

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

And I enter "110" 959ms

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

And I enter "140" 191ms

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

And I enter "90" 341ms

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

And I enter "37" 1s 320ms

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

And I click on element 1s 792ms

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

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

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

And I click on element 1s 171ms

Then element with "id" "patient-table" and "full text" "Select patient table" 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/site/calculator" 18s 573ms

And I wait for 2 seconds 2s 54ms

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

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

When I click on element 1s 98ms

And "li" element with "data-value" "rews-table-obstetric" should be visible 1s 656ms

And I click on element 1s 806ms

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

And I enter "abc" 260ms

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

And I enter "110" 261ms

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

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

And I click on element 1s 558ms

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

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

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

And I wait for 2 seconds 2s 338ms

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

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

When I click on element 1s 644ms

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

And I click on element 1s 234ms

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

And I enter "21" 230ms

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

And I click on element 1s 332ms

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

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

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

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

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

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

And I wait for 3 seconds 3s 96ms

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

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

When I click on element 1s 874ms

And I wait for 2 seconds 2s 442ms

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

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

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

And I wait for 3 seconds 15s 401ms

And "h1" element with "text" "Community" should be visible 22s 434ms

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

When I click on element 8s 542ms

And I wait for 2 seconds 2s 62ms

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

And "h2" element with "text" "Project team" should be visible 1s 440ms

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

And I wait for 3 seconds 15s 186ms

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

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

When I click on element 1s 395ms

And I wait for 2 seconds 2s 170ms

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

And "h2" element with "text" "Editorial committee" 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/community" 21s 658ms

And I wait for 3 seconds 3s 172ms

And "h1" element with "text" "Community" should be visible 31s 223ms

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

When I click on element 1s 368ms

And I wait for 2 seconds 2s 114ms

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

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

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

And I wait for 3 seconds 3s 489ms

And "h1" element with "text" "Community" should be visible 28s 401ms

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

When I click on element 1s 350ms

And I wait for 2 seconds 2s 33ms

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

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

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

Given "a" element with "text" "Conditions of use and disclaimer" 31s 227ms

Then I scroll to element 203ms

And I click on element 1s 262ms

And I wait for 2 seconds 2s 222ms

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

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

Given "a" element with "text" "Privacy policy" 22s 320ms

Then I scroll to element 107ms

And I click on element 1s 665ms

And I wait for 2 seconds 2s 413ms

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

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

Given "a" element with "text" "Copyright permission" 23s 734ms

Then I scroll to element 376ms

And I click on element 2s 35ms

And I wait for 2 seconds 2s 136ms

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

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

Given "a" element with "text" "Licence agreement" 19s 194ms

Then I scroll to element 82ms

And I click on element 3s 130ms

And I wait for 2 seconds 2s 270ms

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

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

Given "a" element with "text" "Support" 21s 298ms

Then I scroll to element 297ms

And I click on element 2s 66ms

And I wait for 2 seconds 2s 55ms

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

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

Given "a" element with "text" "Frequently asked questions (FAQs)" 14s 742ms

Then I scroll to element 243ms

And I click on element 1s 670ms

And I wait for 2 seconds 2s 202ms

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

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

When I wait for 3 seconds 3s 602ms

Given element with "text" "Manuals" 377ms

When I click on element 3s 701ms

When I wait for 3 seconds 3s 453ms

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

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

When I wait for 3 seconds 4s 153ms

Given element with "text" "Manuals" 446ms

When I click on element 3s 659ms

When I wait for 3 seconds 3s 279ms

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

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

When I wait for 3 seconds 4s 199ms

Given element with "text" "Manuals" 396ms

When I click on element 3s 686ms

When I wait for 3 seconds 3s 200ms

Then the menu should display the following items: 4s 278ms
Clinical Procedures Manual

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

When I wait for 3 seconds 3s 940ms

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

When I click on element 2s 828ms

When I wait for 3 seconds 3s 253ms

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

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

When I wait for 3 seconds 3s 164ms

Given element with "text" "Tools" 22s 309ms

When I click on element 1s 448ms

When I wait for 3 seconds 3s 92ms

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

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

When I wait for 3 seconds 3s 56ms

Given element with "text" "Tools" 17s 404ms

When I click on element 1s 430ms

When I wait for 3 seconds 3s 31ms

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

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

When I wait for 3 seconds 3s 596ms

Given element with "text" "Tools" 1m 46s 861ms 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 135ms

When I wait for 3 seconds 3s 804ms

Given element with "text" "Tools" 1m 45s 328ms 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 924ms

When I wait for 3 seconds 3s 593ms

Given element with "text" "Resources" 1m 46s 871ms 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 250ms

When I wait for 3 seconds 3s 25ms

Given element with "text" "Resources" 1m 44s 266ms 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/" 21s 414ms

When I wait for 3 seconds 3s 78ms

Given element with "text" "Resources" 1m 26s 936ms 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 33ms

When I wait for 3 seconds 3s 35ms

Given element with "text" "Resources" 1m 28s 155ms 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 807ms

When I wait for 3 seconds 3s 194ms

Given element with "text" "Resources" 1m 12s 168ms 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 790ms

When I wait for 3 seconds 4s 329ms

Given element with "text" "Resources" 1m 12s 239ms 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 439ms

When I wait for 3 seconds 3s 21ms

Given element with "text" "Community" 1m 11s 456ms 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 613ms

When I wait for 3 seconds 3s 736ms

Given element with "text" "Community" 1m 12s 241ms 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 57ms

Given "h3" element with "text" "CARPA Standard Treatment Manual" should be visible 15s 976ms

When I scroll to element 43ms

And I click on element 1s 529ms

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

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

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

When I scroll to element 99ms

And I click on element 1s 183ms

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

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

Given "h3" element with "text" "Clinical Procedures Manual" should be visible 6s 66ms

When I scroll to element 122ms

And I click on element 1s 318ms

Then "h1" element with "text" "Clinical Procedures Manual" should be visible 1m 2s 31ms

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

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

When I scroll to element 89ms

And I click on element 1s 489ms

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

Given I visit "http://localhost:3000/manual/minymaku" 9s 527ms

Given "p" element with "text" "Gynaecology" should be visible 1m 8s 398ms

When I click on element 1s 585ms

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

When I click on element 1s 176ms

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

When I click on element 1s 524ms

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

Given I visit "http://localhost:3000/manual/minymaku" 10s 152ms

Given "p" element with "text" "Postnatal" should be visible 49s 397ms

When I click on element 15s 141ms

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

When I click on element 1s 256ms

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

When I click on element 2s 35ms

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

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

Given "p" element with "text" "Postnatal" 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/medicines/page/browse-a-z" 6s 767ms

And I wait for 2 seconds 2s 548ms

Then "h1" element with "text" "Browse A-Z" should be visible 1m 10s 1ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\s\node_modules\@cucumber\cucumber\lib\user_code_runner.js:63:28) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)

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

And I wait for 2 seconds 2s 578ms

Then "h1" element with "text" "Browse A-Z" should be visible 40s 294ms

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

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

And I wait for 2 seconds 2s 172ms

Then "h1" element with "text" "Browse A-Z" should be visible 46s 328ms

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

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

And I wait for 2 seconds 2s 396ms

Then "h1" element with "text" "Browse A-Z" should be visible 41s 838ms

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

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

And I wait for 2 seconds 2s 549ms

Then "h1" element with "text" "Browse A-Z" should be visible 46s 11ms

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

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

And I wait for 2 seconds 2s 161ms

Then "h1" element with "text" "Browse A-Z" should be visible 39s 215ms

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

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

And I wait for 2 seconds 2s 31ms

Then "h1" element with "text" "Browse A-Z" should be visible 36s 854ms

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

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

And I wait for 2 seconds 2s 82ms

Then "h1" element with "text" "Browse A-Z" should be visible 39s 895ms

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

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

And I wait for 2 seconds 2s 503ms

Then "h6" element with "text" "Browse by medicine class" should be visible 50s 328ms

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

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

And I wait for 2 seconds 2s 173ms

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

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

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

And I wait for 2 seconds 2s 18ms

Then "h6" element with "text" "Browse by medicine class" should be visible 57s 660ms

And element containing text "text" "Cardiovascular (heart)" should be visible 1s 473ms

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

And I wait for 2 seconds 2s 480ms

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

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

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

And I wait for 2 seconds 2s 27ms

Then "h6" element with "text" "Browse by medicine class" should be visible 52s 227ms

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

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

And I wait for 2 seconds 2s 31ms

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

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

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

And I wait for 2 seconds 2s 253ms

Then "h6" element with "text" "Browse by medicine class" should be visible 40s 695ms

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

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

And I wait for 2 seconds 2s 68ms

Then "h6" element with "text" "Browse by medicine class" should be visible 40s 520ms

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

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

And I wait for 2 seconds 2s 74ms

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

When I click on element 1s 347ms

And I wait for 4 seconds 4s 25ms

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

When I click on element 1s 536ms

And I wait for 2 seconds 2s 16ms

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

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

And I wait for 2 seconds 2s 718ms

And element with "aria-label" "Browse medicines starting with F" should be visible 1m 19s 186ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\s\node_modules\@cucumber\cucumber\lib\user_code_runner.js:63:28) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)

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

And I wait for 2 seconds 2s 159ms

And element with "aria-label" "Browse medicines starting with M" should be visible 1m 18s 609ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\s\node_modules\@cucumber\cucumber\lib\user_code_runner.js:63:28) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)

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

And I wait for 2 seconds 2s 20ms

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

When I click on element 2s 309ms

And I wait for 4 seconds 4s 122ms

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

When I click on element 1s 546ms

And I wait for 2 seconds 2s 37ms

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

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

And I wait for 2 seconds 2s 341ms

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

When I click on element 2s 161ms

And I wait for 4 seconds 4s 77ms

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

When I click on element 1s 866ms

And I wait for 2 seconds 2s 143ms

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

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

And I wait for 3 seconds 3s 377ms

And "button" element with "text" "Cite" should be visible 1m 15s 330ms 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" 21s 440ms

And I wait for 3 seconds 14s 420ms

And "button" element with "text" "Cite" should be visible 32s 964ms

When I click on element 1s 524ms

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

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

And I wait for 3 seconds 14s 433ms

And "button" element with "text" "Cite" should be visible 31s 409ms

When I click on element 2s 240ms

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

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

And I wait for 3 seconds 3s 384ms

And "h2" element with "text" "Do first" should be visible 3s 544ms

When I scroll to element 83ms

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

And I click on element 1s 757ms

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

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

And I wait for 3 seconds 3s 343ms

And "h2" element with "text" "Supporting breastfeeding" should be visible 1s 478ms

When I scroll to element 588ms

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

And I click on element 1s 409ms

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

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

And I wait for 3 seconds 18s 198ms

And "h2" element with "text" "Check" should be visible 20s 201ms

When I scroll to element 89ms

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

And I click on element 1s 314ms

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

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

And I wait for 3 seconds 17s 674ms

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

When I scroll to element 90ms

And I click on element 1s 247ms

And I wait for 2 seconds 2s 34ms

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

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

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

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

And I wait for 3 seconds 17s 984ms

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

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

When I scroll to element 441ms

And I click on element 21s 626ms

Then new tab should be opened 10ms

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

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

And I wait for 3 seconds 3s 98ms

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

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

When I scroll to element 78ms

And I click on element 2s 373ms

Then new tab should be opened 31ms

And url should contain "health.qld.gov.au/qcg" 1s 950ms

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

And I wait for 3 seconds 3s 209ms

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 36s 117ms

When I scroll to element 92ms

And I click on element 1s 318ms

Then new tab should be opened 11ms

And url should contain "publications.qld.gov.au" 2s 77ms

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

And I wait for 2 seconds 2s 149ms

Given "section" element with "data-dita-element" "example" should be visible 37s 449ms

When I scroll to element 123ms

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

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

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

And I wait for 2 seconds 2s 119ms

Then "div" element with "role" "note" should be visible 31s 259ms

When I scroll to element 124ms

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

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

And I wait for 2 seconds 2s 349ms

Then "h4" element with "text" "Patient 12 years and younger" should be visible 1m 10s 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/early-recognition-of-sepsis#c_shared_early_recognition_of_sepsis_topic-1_stem" 6s 602ms

And I wait for 2 seconds 2s 154ms

Then "img" element with "aria-hidden" "true" should be visible 1m 10s 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/early-recognition-of-sepsis#c_shared_early_recognition_of_sepsis_topic-1_stem" 6s 460ms

And I wait for 2 seconds 2s 51ms

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

And I wait for 2 seconds 2s 338ms

Then "div" element with "text" "is recommended where there is no specific protocol for a condition" should be visible 1m 9s 942ms

When I scroll to element 56ms

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

When I get parent element 18ms

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

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

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

And I wait for 3 seconds 3s 473ms

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

When I scroll to element 51ms

And I click on element 1s 108ms

And I wait for 2 seconds 19s 324ms

Then "h2" element with "text" "Red flags – urgent medical consult" 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/pain-management-acute" 9s 361ms

And I wait for 3 seconds 15s 352ms

And "a" element with "full text" "Ask" should be visible 1m 5s 618ms

When I scroll to element 334ms

And I click on element 1s 806ms

And I wait for 2 seconds 2s 293ms

Then "h2" element with "text" "Ask" should be visible 1s 398ms

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

And I wait for 3 seconds 3s 262ms

And "a" element with "full text" "Check" should be visible 43s 521ms

When I scroll to element 91ms

And I click on element 1s 507ms

And I wait for 2 seconds 2s 41ms

Then "h2" element with "text" "Check" should be visible 1s 74ms

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

And I wait for 3 seconds 3s 196ms

And "a" element with "full text" "Do" should be visible 44s 677ms

When I scroll to element 139ms

And I click on element 1s 337ms

And I wait for 2 seconds 2s 302ms

Then "h2" element with "text" "Do" should be visible 95ms

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

And I wait for 3 seconds 3s 313ms

And "a" element with "full text" "Pain medicines" should be visible 43s 531ms

When I scroll to element 46ms

And I click on element 1s 526ms

And I wait for 2 seconds 2s 154ms

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

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

And I wait for 3 seconds 3s 55ms

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

When I scroll to element 319ms

And I click on element 1s 285ms

And I wait for 2 seconds 2s 16ms

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

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

And I wait for 3 seconds 3s 139ms

And "a" element with "full text" "References" should be visible 14s 368ms

When I scroll to element 69ms

And I click on element 1s 446ms

And I wait for 2 seconds 2s 266ms

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

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

And I wait for 3 seconds 3s 20ms

And "a" element with "text" "Pregnant" should be visible 6s 94ms

When I scroll to element 49ms

And I click on element 1s 733ms

And I wait for 2 seconds 2s 104ms

Then "h2" element with "text" "Pregnant" should be visible 1s 658ms

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

And I wait for 3 seconds 3s 167ms

And "a" element with "text" "Breastfeeding" should be visible 13s 51ms

When I scroll to element 301ms

And I click on element 1s 516ms

And I wait for 2 seconds 2s 63ms

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

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

And I wait for 3 seconds 3s 57ms

And "a" element with "text" "Babies and children" should be visible 20s 544ms

When I scroll to element 73ms

And I click on element 1s 679ms

And I wait for 2 seconds 6s 353ms

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

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

And I wait for 3 seconds 3s 138ms

And "a" element with "text" "Old people" should be visible 23s 338ms

When I scroll to element 110ms

And I click on element 2s 198ms

And I wait for 2 seconds 2s 25ms

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

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

And I wait for 3 seconds 3s 28ms

And "a" element with "text" "Kidney trouble" should be visible 9s 933ms

When I scroll to element 79ms

And I click on element 1s 176ms

And I wait for 2 seconds 2s 48ms

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

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

And I wait for 3 seconds 3s 221ms

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

When I scroll to element 81ms

And I click on element 1s 494ms

And I wait for 2 seconds 2s 422ms

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

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

And I wait for 3 seconds 8s 280ms

Given "button" element with "text" "Print" should be visible 18s 886ms

When I click on element 1s 914ms

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

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

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

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

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

And I wait for 3 seconds 3s 462ms

Given "button" element with "text" "Terminology" should be visible 23s 313ms

When I click on element 1s 432ms

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

When I click on element 1s 850ms

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

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

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

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

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

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

And I wait for 2 seconds 2s 48ms

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

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

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

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

Given I visit "http://localhost:3000/resources/rews" 12s 209ms

And I wait for 2 seconds 2s 107ms

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

Given "a" element containing text "text" "Assessing respiratory distress" should be visible 20s 844ms

When I scroll to element 55ms

And I click on element 1s 349ms

And I wait for 2 seconds 2s 223ms

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

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

And I wait for 2 seconds 2s 291ms

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

Given "a" element containing text "text" "Adult REWS" should be visible 14s 701ms

When I scroll to element 38ms

And I click on element 1s 373ms

And I wait for 2 seconds 2s 231ms

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

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

And I wait for 2 seconds 2s 117ms

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

Given "a" element containing text "text" "Obstetric REWS" should be visible 14s 848ms

When I scroll to element 157ms

And I click on element 1s 676ms

And I wait for 2 seconds 2s 39ms

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

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

And I wait for 2 seconds 2s 232ms

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

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

When I scroll to element 250ms

And I click on element 1s 445ms

And I wait for 2 seconds 2s 175ms

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

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

And I wait for 2 seconds 2s 102ms

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

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

When I scroll to element 77ms

And I click on element 1s 88ms

And I wait for 2 seconds 2s 329ms

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

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

And I wait for 2 seconds 2s 321ms

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

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

When I scroll to element 130ms

And I click on element 1s 322ms

And I wait for 2 seconds 2s 29ms

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

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

And I wait for 2 seconds 2s 546ms

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

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

When I scroll to element 183ms

And I click on element 1s 89ms

And I wait for 2 seconds 2s 74ms

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

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

And I wait for 3 seconds 3s 188ms

And the "Share" page tool should be visible 15s 202ms

When I click on element 1s 164ms

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

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

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

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

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

And I wait for 3 seconds 3s 165ms

And the "Share" page tool should be visible 16s 833ms

When I click on element 1s 302ms

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

And I click on element 1s 73ms

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

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

And I wait for 3 seconds 3s 399ms

And the "Share" page tool should be visible 36s 919ms

When I click on element 1s 744ms

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

And I click on element 2s 92ms

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

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

And the updates page is opened from the home page link 30s 161ms

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

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

And the updates page is opened from the home page link 29s 810ms

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

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

And the updates page is opened from the home page link 16s 37ms

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

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

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

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

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

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

And I wait for 3 seconds 3s 35ms

Given "button" element with "text" "CSOM" should be visible 27s 15ms

When I click on element 1s 826ms

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

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

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

And I wait for 3 seconds 3s 31ms

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

When I click on element 2s 168ms

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

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

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

And I wait for 3 seconds 3s 109ms

Given "button" element with "text" "AOMwiP" should be visible 38s 364ms

When I click on element 1s 902ms

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

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

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

And I wait for 3 seconds 3s 405ms

Given "button" element with "text" "CSOM" should be visible 1m 10s 1ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\s\node_modules\@cucumber\cucumber\lib\user_code_runner.js:63:28) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)

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

And I wait for 3 seconds 3s 206ms

Given "button" element with "text" "ENT" should be visible 13s 364ms

When I click on element 1s 765ms

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

And I click on element 2s 786ms

And I wait for 1 seconds 1s 42ms

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

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

And I wait for 3 seconds 3s 89ms

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

When I click on element 1s 553ms

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

And element with "data-dita-element" "title" and "text" "Azithromycin" should be visible 3s 390ms

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

And I wait for 3 seconds 3s 28ms

Given "span[contains(., 'amoxicillin oral')]/button" element containing text "text" "doses" should be visible 1m 19s 204ms 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" 4s 529ms

And I wait for 2 seconds 2s 351ms

And the Resources page has finished loading 19s 646ms

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

When I click on element 1s 929ms

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

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

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

And the standard footer should be shown 530ms

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

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

And I wait for 2 seconds 2s 131ms

And the Resources page has finished loading 9s 210ms

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

When I click on element 1s 822ms

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

And these elements should be shown for "AC2 and AC5 Cultural safety introduction": 5s 426ms
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": 855ms
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": 199ms
tag attribute value
* text Primary references
* text Communicating effectively with Aboriginal and Torres Strait Islander people
* href https://www.health.qld.gov.au/research-reports

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

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

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

And I wait for 2 seconds 2s 38ms

And the Resources page has finished loading 11s 717ms

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

When I click on element 1s 359ms

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

And these elements should be shown for "AC2 Working in remote clinics heading": 51s 86ms
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 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" 5s 994ms

And I wait for 2 seconds 2s 35ms

And the Resources page has finished loading 20s 58ms

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

When I click on element 1s 285ms

And I choose the "Abbreviations" category 46s 109ms

Then these entries should be listed with their descriptions: 1m 15s 972ms
term description
ABC airway, breathing, circulation
GAS Group A beta haemolytic streptococcus
KICA Kimberly Indigenous Cognitive Assessment
NRT nicotine replacement therapy
ORS oral rehydration solution
Show Error +
                                            
Error: 3 of 5 rows failed - ABC: The entry "ABC" was not displayed after scrolling towards it for 25 seconds (page then: 0 entries shown, 0 loading) | GAS: The entry "GAS" was not displayed after scrolling towards it for 25 seconds (page then: 0 entries shown, 0 loading) | KICA: The entry "KICA" was not displayed after scrolling towards it for 25 seconds (page then: 0 entries shown, 0 loading). Stopped early: 2 more rows were not tried, because rows failing one after another points at the page, not the rows at checkEachRow (D:\a\1\s\features\step_definitions\resources-steps.js:269:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async World.(anonymous) (D:\a\1\s\features\step_definitions\resources-steps.js:372:3)

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

And I wait for 2 seconds 6s 827ms

And the Resources page has finished loading 18s 185ms

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

When I click on element 1s 416ms

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

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

When I open the category list 59ms

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

When I choose the "Glossary" category 8s 192ms

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

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

And each listed entry should have a definition 20ms

And each A-Z button should take me to its section and show the entry: 27s 312ms
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 2s 948ms

Then these elements should be shown for "AC13 Mnemonics": 2s 52ms
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: 37s 665ms
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 929ms

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

And I wait for 2 seconds 6s 823ms

And the Resources page has finished loading 18s 190ms

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

When I click on element 1s 389ms

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

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

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

And choosing each of these categories should show only its resources: 11s 667ms
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: 7s 459ms
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 537ms

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

And I wait for 2 seconds 2s 34ms

And the Resources page has finished loading 7s 235ms

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

When I click on element 1s 429ms

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

And these elements should be shown for "AC2 and AC8 Training introduction": 3s 397ms
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 183ms
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 491ms

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

And I wait for 3 seconds 3s 172ms

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

When I enter "stomach" 239ms

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

And I click on element 2s 35ms

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

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

And I wait for 3 seconds 3s 412ms

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

When I enter "stomach" 443ms

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

And I click on element 2s 241ms

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

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

And I wait for 3 seconds 3s 22ms

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

When I enter "Stomach" 222ms

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

And I click on element 2s 324ms

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

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

And I wait for 3 seconds 3s 257ms

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

When I enter "acute" 1s 152ms

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

And I click on element 1s 503ms

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

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

And I wait for 3 seconds 3s 261ms

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

When I enter "STOMACH" 504ms

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

And I click on element 1s 792ms

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

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

And I wait for 3 seconds 3s 89ms

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

When I enter "NSAIDs" 459ms

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

And I click on element 1s 712ms

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

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

And I wait for 3 seconds 3s 83ms

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

When I enter "asthma" 857ms

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

And I click on element 19s 827ms

And "h1" element containing text "text" "asthma" should be visible 1m 9s 999ms 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 867ms

And I wait for 3 seconds 3s 170ms

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

When I enter "tummy" 766ms

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

And I click on element 19s 253ms

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

Given I visit "http://localhost:3000/" 27s 348ms

And I wait for 3 seconds 3s 47ms

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

When I enter "abdominal" 395ms

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

And I click on element 1s 606ms

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

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

And I wait for 3 seconds 3s 152ms

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

When I enter "COVID-19" 306ms

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

And I click on element 2s 6ms

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

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

And I wait for 3 seconds 3s 353ms

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

And I set browser to offline mode 8ms

When I enter "stomach" 192ms

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

And I click on element 1s 740ms

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

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

And I wait for 3 seconds 3s 42ms

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

And I set browser to offline mode 1ms

When I enter "STOMACH" 512ms

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

And I click on element 3s 806ms

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

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

And I wait for 3 seconds 3s 405ms

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

And I set browser to offline mode 10ms

When I enter "asthma" 508ms

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

And I click on element 3s 835ms

And "h1" element containing text "text" "asthma" should be visible 2s 111ms

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

And I wait for 3 seconds 3s 111ms

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

And I set browser to offline mode 12ms

When I enter "tummy" 1s 667ms

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

And I click on element 1s 466ms

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

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

And I wait for 3 seconds 3s 998ms

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

And I set browser to offline mode 12ms

When I enter "abdominal" 1s 207ms

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

And I click on element 1s 313ms

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

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

And I wait for 3 seconds 3s 33ms

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

When I enter "vxc" 254ms

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

And I click on element 1s 420ms

Then the page heading should be 'No results for "vxc"' 32s 753ms

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

And I wait for 3 seconds 3s 147ms

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

When I enter "xuu" 516ms

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

And I click on element 2s 460ms

Then the page heading should be 'No results for "xuu"' 21s 884ms

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

And I wait for 3 seconds 4s 34ms

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

When I enter "xyz123" 954ms

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

And I click on element 2s 395ms

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

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

And I wait for 3 seconds 3s 400ms

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

When I enter "zxqvwk" 597ms

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

And I click on element 2s 532ms

Then the page heading should be 'No results for "zxqvwk"' 20s 16ms

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

And I wait for 3 seconds 4s 38ms

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

When I enter "valium" 533ms

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

And I click on element 2s 549ms

And I wait for 3 seconds 3s 45ms

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

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

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

And I enter "diazepam" 269ms

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

And I click on element 1s 755ms

And I wait for 3 seconds 3s 812ms

Then the page heading should be 'Search results for "diazepam"' 1s 432ms

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

And I wait for 3 seconds 3s 70ms

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

When I enter "celecoxib" 764ms

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

And I click on element 2s 328ms

And I wait for 3 seconds 3s 520ms

Then the page heading should be 'Search results for "celecoxib"' 1s 271ms

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

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

And I enter "celebrex" 2s 255ms

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

And I click on element 1s 398ms

And I wait for 3 seconds 3s 18ms

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

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

And I wait for 3 seconds 3s 316ms

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

When I enter "antenatal" 970ms

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

And I click on element 4s 366ms

And I wait for 3 seconds 3s 329ms

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

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

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

And I enter "pregnancy" 1s 472ms

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

And I click on element 2s 795ms

And I wait for 3 seconds 3s 36ms

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

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

And I wait for 3 seconds 4s 255ms

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

When I enter "ibuprofen" 1s 250ms

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

And I click on element 4s 549ms

And I wait for 3 seconds 3s 119ms

Then the page heading should be 'Search results for "ibuprofen"' 1s 77ms

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

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

And I enter "nurofen" 1s 127ms

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

And I click on element 3s 51ms

And I wait for 3 seconds 3s 45ms

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

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

And I wait for 3 seconds 3s 432ms

Given "input" element with "aria-label" "Search manuals" 1s 334ms

When I enter "burn" 2s 185ms

Then option "burns" should be in search results dropdown list 1m 1s 315ms Show Error +
                                            
TimeoutError: Option "burns" was not found in the search results dropdown list within 60 seconds Wait timed out after 61303ms 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/" 8s 78ms

And I wait for 3 seconds 3s 449ms

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

When I enter "antenatal" 1s 745ms

Then option "antenatal care" should be in search results dropdown list 1m 4s 217ms Show Error +
                                            
TimeoutError: Option "antenatal care" was not found in the search results dropdown list within 60 seconds Wait timed out after 64212ms 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/" 9s 874ms

And I wait for 3 seconds 3s 503ms

Given "input" element with "aria-label" "Search manuals" 1s 85ms

When I enter "bu" 2s 233ms

Then option "burns" should be in search results dropdown list 1m 1s 583ms Show Error +
                                            
TimeoutError: Option "burns" was not found in the search results dropdown list within 60 seconds Wait timed out after 61574ms 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/" 5s 714ms

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

When I enter "diabetes" 747ms

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

And I click on element 4s 385ms

And I wait for 3 seconds 3s 236ms

And "h1" element containing text "text" "diabetes" should be visible 2s 165ms

And element with "text" "CARPA Standard Treatment Manual (STM)" 1m 4s 379ms

And I click on element 1s 484ms

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

And I click on element 1s 811ms

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

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

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

When I enter "abdominal" 443ms

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

And I click on element 1s 885ms

And I wait for 3 seconds 24s 271ms

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

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

And I click on element 1s 124ms

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

And I click on element 8s 156ms

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

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

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

When I enter "asthma" 266ms

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

And I click on element 1s 899ms

And I wait for 3 seconds 24s 284ms

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

And element with "text" "CARPA Standard Treatment Manual (STM)" 18s 976ms

And I click on element 1s 868ms

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

And I click on element 1s 273ms

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

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

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

When I enter "Aspirin" 361ms

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

And I click on element 1s 313ms

And I wait for 3 seconds 3s 19ms

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

And element with "text" "Medicines Book (MB)" 20s 825ms

And I click on element 1s 267ms

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

And I click on element 1s 534ms

Then I should see "MB" in the results span 8s 135ms Show Error +
                                            
TimeoutError: Waiting for element to be located By(xpath, //span[normalize-space()="MB"]) Wait timed out after 8131ms 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 353ms

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

When I enter "diabetes" 516ms

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

And I click on element 1s 637ms

And I wait for 3 seconds 3s 35ms

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

And "button" element with "text" "Clear all filters" should be visible 20s 157ms

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

And I click on element 1s 228ms

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

And I click on element 8s 572ms

And I wait for 3 seconds 3s 320ms

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

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

And I click on element 1s 25ms

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

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

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

When I enter "asthma" 953ms

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

And I click on element 2s 348ms

And I wait for 3 seconds 3s 105ms

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

And "button" element with "text" "Clear all filters" should be visible 19s 678ms

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

And I click on element 1s 267ms

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

And I click on element 1s 414ms

And I wait for 3 seconds 3s 29ms

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

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

And I click on element 1s 703ms

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

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

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

When I enter "abdominal" 614ms

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

And I click on element 2s 382ms

And I wait for 3 seconds 3s 89ms

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

And "button" element with "text" "Clear all filters" should be visible 33s 829ms

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

And I click on element 983ms

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

And I click on element 1s 284ms

And I wait for 3 seconds 3s 552ms

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

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

And I click on element 2s 535ms

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

Given I visit "http://localhost:3000/" 16s 146ms

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

When I enter "asthma" 369ms

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

And I click on element 13s 916ms

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

And I click on element 1s 931ms

And I wait for 3 seconds 3s 35ms

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

Then checkbox "CARPA Standard Treatment Manual (STM)" should be checked 1s 994ms

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

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

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

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

When I enter "stomach" 301ms

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

And I click on element 9s 988ms

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

And I click on element 1s 837ms

And I wait for 3 seconds 3s 425ms

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

Then checkbox "CARPA Standard Treatment Manual (STM)" should be checked 12s 882ms

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

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

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

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

When I enter "diabetes" 646ms

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

And I click on element 10s 320ms

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

And I click on element 2s 216ms

And I wait for 3 seconds 3s 141ms

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

Then checkbox "CARPA Standard Treatment Manual (STM)" should be checked 19s 131ms

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

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

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

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

When I enter "trauma" 1s 756ms

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

And I click on element 2s 580ms

And I wait for 3 seconds 3s 95ms

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

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

And checkbox "Emergencies" should not be checked 29s 125ms

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

When I click on element 6s 651ms

Then checkbox "Emergencies" should be checked 204ms

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

And I click on element 1s 555ms

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

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

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

And I enter "aspiriin" 560ms

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

And I click on element 3s 609ms

Then the page heading should be 'No results for "aspiriin"' 35s 179ms

And "p" element containing text "text" "Did you mean aspirin?" should be visible 322ms

When "a" element with "href" "/search?q=aspirin" should be visible 261ms

And I click on element 6s 730ms

Then "h1" element containing text "text" "aspirin" should be visible 237ms

Given I visit "http://localhost:3000/" 13s 274ms

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

And I enter "asprin" 381ms

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

And I click on element 1s 861ms

Then the page heading should be 'No results for "asprin"' 36s 892ms

And "p" element containing text "text" "Did you mean aspirin?" should be visible 126ms

When "a" element with "href" "/search?q=aspirin" should be visible 121ms

And I click on element 1s 332ms

Then "h1" element containing text "text" "aspirin" should be visible 49ms

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

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

And I enter "amoxycillin" 707ms

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

And I click on element 2s 335ms

Then the page heading should be 'No results for "amoxycillin"' 16s 59ms

And "p" element containing text "text" "Did you mean amoxicillin?" should be visible 231ms

When "a" element with "href" "/search?q=amoxicillin" should be visible 334ms

And I click on element 1s 257ms

Then "h1" element containing text "text" "amoxicillin" should be visible 210ms

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

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

And I enter "diabeets" 333ms

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

And I click on element 2s 246ms

Then the page heading should be 'No results for "diabeets"' 16s 948ms

And "p" element containing text "text" "Did you mean diabetes?" should be visible 95ms

When "a" element with "href" "/search?q=diabetes" should be visible 75ms

And I click on element 1s 177ms

Then "h1" element containing text "text" "diabetes" should be visible 87ms

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

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

And I enter "diabtes" 252ms

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

And I click on element 2s 502ms

Then the page heading should be 'No results for "diabtes"' 16s 796ms

And "p" element containing text "text" "Did you mean diabetes?" should be visible 80ms

When "a" element with "href" "/search?q=diabetes" should be visible 71ms

And I click on element 1s 545ms

Then "h1" element containing text "text" "diabetes" should be visible 172ms