All Scenarios

153

Passed Scenarios

140

Failed Scenarios

13

Execution Time: 13:53 Device Type: Mobile

Expand All | Collapse All

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

And I wait for 3 seconds 3s 86ms

Then the page heading should be "Community" 133ms

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

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

When I click on element 1s 649ms

And I wait for 2 seconds 2s 18ms

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

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

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

And I wait for 3 seconds 3s 62ms

Then the page heading should be "Community" 1s 860ms

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

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

When I click on element 1s 136ms

And I wait for 2 seconds 2s 46ms

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

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

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

And I wait for 3 seconds 3s 345ms

Then the page heading should be "Community" 1s 111ms

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

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

When I click on element 1s 117ms

And I wait for 2 seconds 2s 46ms

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

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

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

When I wait for 3 seconds 3s 59ms

Given "button" element with "aria-label" "Open menu" 155ms

When I click on element 1s 591ms

When I wait for 4 seconds 4s 45ms

Given element with "text" "Manuals" 186ms

When I click on element 1s 202ms

When I wait for 3 seconds 3s 24ms

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

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

When I wait for 3 seconds 3s 59ms

Given "button" element with "aria-label" "Open menu" 132ms

When I click on element 1s 616ms

When I wait for 4 seconds 4s 20ms

Given element with "text" "Manuals" 214ms

When I click on element 1s 122ms

When I wait for 3 seconds 3s 21ms

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

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

When I wait for 3 seconds 3s 30ms

Given "button" element with "aria-label" "Open menu" 85ms

When I click on element 1s 119ms

When I wait for 4 seconds 4s 42ms

Given element with "text" "Manuals" 104ms

When I click on element 1s 32ms

When I wait for 3 seconds 3s 20ms

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

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

When I wait for 3 seconds 3s 306ms

Given "button" element with "aria-label" "Open menu" 196ms

When I click on element 1s 90ms

When I wait for 4 seconds 4s 9ms

Given element with "text" "Manuals" 213ms

When I click on element 1s 235ms

When I wait for 3 seconds 3s 21ms

Then the menu should display the following items: 8ms
Medicines book

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

When I wait for 3 seconds 3s 46ms

Given "button" element with "aria-label" "Open menu" 100ms

When I click on element 1s 192ms

When I wait for 4 seconds 4s 37ms

Given element with "text" "Tools" 71ms

When I click on element 1s 135ms

When I wait for 3 seconds 3s 10ms

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

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

When I wait for 3 seconds 3s 335ms

Given "button" element with "aria-label" "Open menu" 482ms

When I click on element 1s 9ms

When I wait for 4 seconds 4s 36ms

Given element with "text" "Tools" 34ms

When I click on element 1s 131ms

When I wait for 3 seconds 3s 21ms

Then the menu should display the following items: 8s 139ms
Remote Early Warning Score (REWS) Calculator
Show Error +
                                            
TimeoutError: Menu item "Remote Early Warning Score (REWS) Calculator" not found Wait timed out after 8137ms at C:\agent\_work\60\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 968ms

When I wait for 3 seconds 3s 24ms

Given "button" element with "aria-label" "Open menu" 608ms

When I click on element 1s 6ms

When I wait for 4 seconds 4s 63ms

Given element with "text" "Tools" 35ms

When I click on element 1s 196ms

When I wait for 3 seconds 3s 21ms

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

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

When I wait for 3 seconds 3s 13ms

Given "button" element with "aria-label" "Open menu" 35ms

When I click on element 1s 13ms

When I wait for 4 seconds 4s 152ms

Given element with "text" "Tools" 93ms

When I click on element 1s 147ms

When I wait for 3 seconds 3s 17ms

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

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

And I wait for 2 seconds 2s 9ms

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

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

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

And I wait for 2 seconds 3s 290ms

Then "h1" element with "text" "Browse A-Z" should be visible 618ms

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

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

And I wait for 2 seconds 2s 364ms

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

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

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

And I wait for 2 seconds 2s 48ms

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

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

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

And I wait for 2 seconds 2s 10ms

Then "h1" element with "text" "Browse A-Z" should be visible 6s 167ms

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

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

And I wait for 2 seconds 2s 17ms

Then "h1" element with "text" "Browse A-Z" should be visible 7s 323ms

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

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

And I wait for 2 seconds 2s 189ms

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

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

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

And I wait for 2 seconds 2s 71ms

Then "h1" element with "text" "Browse A-Z" should be visible 7s 54ms

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

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

And I wait for 2 seconds 2s 10ms

And "p" element containing text "text" "Anti-infectives (antibiotics, worm medicines)" should be visible 8s 11ms

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

And I wait for 2 seconds 2s 10ms

And "p" element containing text "text" "Blood and electrolytes" should be visible 2s 724ms

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

And I wait for 2 seconds 2s 18ms

And "p" element containing text "text" "Cardiovascular (heart)" should be visible 2s 606ms

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

And I wait for 2 seconds 2s 43ms

And "p" element containing text "text" "Ear, nose and throat" should be visible 4s 801ms

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

And I wait for 2 seconds 2s 209ms

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

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

And I wait for 2 seconds 2s 19ms

And "p" element containing text "text" "Infections" should be visible 3s 383ms

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

And I wait for 2 seconds 3s 536ms

And "p" element containing text "text" "Musculoskeletal" should be visible 791ms

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

And I wait for 2 seconds 2s 13ms

And "p" element containing text "text" "Neurological" should be visible 2s 366ms

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

And I wait for 2 seconds 2s 23ms

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

When I click on element 1s 164ms

And I wait for 4 seconds 4s 32ms

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

When I click on element 1s 74ms

And I wait for 2 seconds 2s 47ms

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

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

And I wait for 2 seconds 2s 22ms

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

When I click on element 1s 172ms

And I wait for 4 seconds 4s 28ms

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

When I click on element 1s 17ms

And I wait for 2 seconds 2s 23ms

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

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

And I wait for 2 seconds 2s 32ms

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

When I click on element 976ms

And I wait for 4 seconds 4s 68ms

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

When I click on element 1s 53ms

And I wait for 2 seconds 2s 58ms

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

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

And I wait for 2 seconds 2s 33ms

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

When I click on element 1s 13ms

And I wait for 4 seconds 4s 18ms

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

When I click on element 1s 6ms

And I wait for 2 seconds 2s 160ms

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

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

And I wait for 2 seconds 2s 9ms

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

When I click on element 1s 168ms

And I wait for 4 seconds 4s 16ms

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

When I click on element 1s 16ms

And I wait for 2 seconds 2s 232ms

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

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

And "button" element with "aria-label" "Open menu" should be visible 116ms

When I click on element 1s 263ms

And I wait for 3 seconds 3s 17ms

Then the "Mobile primary navigation" menu should show: 3s 769ms
Manuals
Tools
Resources
Community

When I click "Manuals" in the "Mobile primary navigation" menu 308ms

Then the "Manuals navigation" menu should show: 207ms
CARPA Standard Treatment Manual
Women's Business Manual
Clinical Procedures Manual
Medicines book

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

And "button" element with "aria-label" "Open menu" should be visible 115ms

When I click on element 1s 204ms

And I wait for 3 seconds 3s 18ms

And I click "Manuals" in the "Mobile primary navigation" menu 2s 448ms

And I click "CARPA Standard Treatment Manual" in the "Manuals navigation" menu 300ms

Then the page path should be "/manual/carpa-stm" 30ms

And "button" element with "aria-label" "Manual contents" should be visible 363ms

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

And "button" element with "aria-label" "Open menu" should be visible 140ms

When I click on element 1s 209ms

And I wait for 3 seconds 3s 14ms

And I click "Manuals" in the "Mobile primary navigation" menu 3s 288ms

And I click "Women's Business Manual" in the "Manuals navigation" menu 316ms

Then the page path should be "/manual/minymaku" 30ms

And "button" element with "aria-label" "Manual contents" should be visible 3s 388ms

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

And "button" element with "aria-label" "Open menu" should be visible 117ms

When I click on element 1s 279ms

And I wait for 3 seconds 3s 24ms

And I click "Manuals" in the "Mobile primary navigation" menu 3s 283ms

And I click "Clinical Procedures Manual" in the "Manuals navigation" menu 215ms

Then the page path should be "/manual/clinical" 26ms

And "button" element with "aria-label" "Manual contents" should be visible 1s 959ms

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

And "button" element with "aria-label" "Open menu" should be visible 53ms

When I click on element 1s 50ms

And I wait for 3 seconds 3s 331ms

And I click "Manuals" in the "Mobile primary navigation" menu 2s 976ms

And I click "Medicines book" in the "Manuals navigation" menu 303ms

Then the page path should be "/manual/medicines" 34ms

And "button" element with "aria-label" "Manual contents" should be visible 768ms

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

And "button" element with "aria-label" "Manual contents" should be visible 9s 327ms

When I click on element 1s 30ms

And I wait for 3 seconds 3s 20ms

Then the "Manual contents" menu should show: 267ms
CARPA Standard Treatment Manual
Acute assessment (gateway) protocols
Emergencies and assessments
Child and youth health
Chronic diseases
Mental health and drug problems
Sexual health
General topics

When I click "Sexual health" in the "Manual contents" menu 138ms

Then the "Manual contents" menu should show: 109ms
STI checks for young people
STI management

When I click "STI management" in the "Manual contents" menu 1s 472ms

Then the page path should be "/manual/carpa-stm/page/sti-management" 22ms

And the page heading should be "STI management" 89ms

Given I visit "http://localhost:3000/manual/clinical" 7s 610ms

And "button" element with "aria-label" "Manual contents" should be visible 5s 407ms

When I click on element 1s 35ms

And I wait for 3 seconds 3s 100ms

Then the "Manual contents" menu should show: 204ms
Clinical Procedures Manual
Procedures

When I click "Procedures" in the "Manual contents" menu 331ms

Then the "Manual contents" menu should show: 136ms
Clinical assessments and management

Given I visit "http://localhost:3000/manual/medicines" 4s 250ms

And "button" element with "aria-label" "Manual contents" should be visible 5s 318ms

When I click on element 1s 923ms

And I wait for 3 seconds 3s 12ms

Then the "Manual contents" menu should show: 53ms
Medicines Book
Using the manual

When I click "Using the manual" in the "Manual contents" menu 140ms

Then the "Manual contents" menu should show: 385ms
What the pictures mean

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

And "button" element with "aria-label" "Manual contents" should be visible 11s 157ms

When I click on element 2s 229ms

And "button" element with "aria-label" "Close manual contents" should be visible 1m 10s 12ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (C:\agent\_work\60\s\node_modules\@cucumber\cucumber\lib\user_code_runner.js:63:28) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)

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

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

And I enter "aspiriin" 180ms

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

And I click on element 2s 16ms

Then the page heading should be 'No results for "aspiriin"' 6s 772ms

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

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

And I click on element 1s 65ms

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

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

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

And I enter "asprin" 291ms

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

And I click on element 1s 18ms

Then the page heading should be 'No results for "asprin"' 7s 947ms

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

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

And I click on element 1s 343ms

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

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

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

And I enter "amoxycillin" 118ms

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

And I click on element 2s 648ms

Then the page heading should be 'No results for "amoxycillin"' 1s 189ms

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

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

And I click on element 1s 114ms

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

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

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

And I enter "diabeets" 372ms

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

And I click on element 1s 296ms

Then the page heading should be 'No results for "diabeets"' 5s 17ms

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

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

And I click on element 1s 132ms

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

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

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

And I enter "diabtes" 178ms

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

And I click on element 1s 301ms

Then the page heading should be 'No results for "diabtes"' 7s 785ms

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

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

And I click on element 1s 359ms

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

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

And I wait for 2 seconds 2s 21ms

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

Then the Assessing respiratory distress link should open this guidance for each patient table: 20s 39ms
age_range table_value guidance_heading guidance_page
Paediatric 0–3 months rews-table-0-3mo Assessing respiratory distress (child 0–12 years) /site/c_shared_respiratory_distress_child
Paediatric 4–11 months rews-table-4-11mo Assessing respiratory distress (child 0–12 years) /site/c_shared_respiratory_distress_child
Paediatric 1–4 years rews-table-1-4yr Assessing respiratory distress (child 0–12 years) /site/c_shared_respiratory_distress_child
Paediatric 5–12 years rews-table-5-12yr Assessing respiratory distress (child 0–12 years) /site/c_shared_respiratory_distress_child
13 years and over rews-table-adult - -
Obstetric rews-table-obstetric - -

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

And I wait for 2 seconds 2s 83ms

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

Given the REWS for "Paediatric 5–12 years" should give these results: 5s 753ms
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 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

Then opening and closing the Assessing respiratory distress dialog in each of these ways should keep the calculator as it was: 4s 273ms
open_with close_with
click Back To Calculator
Enter key Escape key
Space key Close button
click Backdrop

Given I visit "http://localhost:3000/site/calculator" 4s 788ms

And I wait for 2 seconds 2s 100ms

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

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

When I click on element 1s 543ms

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

And I click on element 1s 112ms

And "button" element with "text" "Assessing respiratory distress" should be visible 49ms

And I click on element 1s 435ms

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

And "a" element with "text" "Open as page" should be visible 304ms

And I click on element 1s 123ms

Then new tab should be opened 9ms

And the page path should be "/site/c_shared_respiratory_distress_child" 9ms

And the page heading should be "Assessing respiratory distress" 3s 726ms

And I close current tab 101ms

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

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

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

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

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

And I click on element 1s 144ms

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

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

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

When "button" element with "data-dita-outputclass" "rews-cal-link" should be visible 32ms

And I click on element 979ms

Then keyboard focus should be inside element with "aria-label" "REWS calculator" 34ms

When I press the "Escape" key 337ms

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

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

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

And the REWS calculator is opened from the content 9s 709ms

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

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

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

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

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

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

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

And I click on element 1s 126ms

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

And I click on element 1s 111ms

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

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

And I click on element 1s 129ms

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

And I click on element 1s 225ms

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

And I enter "16" 169ms

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

Given I open the REWS calculator from the content again 5s 966ms

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

When I click on element 1s 210ms

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

And I click on element 1s 271ms

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

And I click on element 1s 81ms

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

And I click on element 1s 389ms

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

And I enter "16" 216ms

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

And I enter "97" 157ms

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

And I enter "80" 136ms

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

And I enter "120" 240ms

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

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

And I enter "37" 121ms

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

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

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

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

When I click on element 1s 447ms

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

And I click on element 1s 332ms

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

And I click on element 1s 381ms

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

And I click on element 1s 395ms

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

And I click on element 1s 357ms

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

And I enter "40" 357ms

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

And I enter "97" 118ms

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

And I click on element 1s 370ms

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

And I enter "130" 229ms

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

And I enter "37" 268ms

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

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

And I click on element 1s 189ms

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

Given I open the REWS calculator from the content again 3s 771ms

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

When I click on element 1s 340ms

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

And I click on element 1s 306ms

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

And I click on element 1s 332ms

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

And I click on element 1s 235ms

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

And I enter "16" 209ms

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

And I enter "97" 184ms

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

And I enter "80" 229ms

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

And I enter "120" 260ms

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

And I enter "37" 203ms

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

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

And I clear the input 89ms

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

When I enter "80" 109ms

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

When I clear the input 99ms

And I enter "abc" 118ms

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

When I clear the input 81ms

And I enter "80" 217ms

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

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

And the REWS calculator is opened from the content 9s 595ms

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

And the REWS total should follow the band edges of these observations: 10s 276ms
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" 3s 100ms

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

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

When I click on element 1s 509ms

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

And I click on element 1s 262ms

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

And I click on element 1s 51ms

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

And I click on element 1s 162ms

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

And I enter "16" 215ms

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

And I enter "97" 297ms

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

And I enter "80" 296ms

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

And I enter "120" 325ms

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

And I enter "37" 281ms

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

And I click on element 1s 435ms

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

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

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

And I clear the input 107ms

And I enter "135" 211ms

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

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

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

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

And I clear the input 168ms

And I enter "38.6" 125ms

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

And I click on element 1s 81ms

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

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

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

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

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

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

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

When I click on element 1s 468ms

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

And I click on element 1s 434ms

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

And I click on element 1s 80ms

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

And I click on element 1s 168ms

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

And I enter "21" 262ms

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

And I click on element 1s 330ms

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

And I enter "110" 315ms

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

And I enter "140" 263ms

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

And I enter "90" 296ms

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

And I enter "37" 314ms

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

And I click on element 1s 496ms

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

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

And I click on element 1s 204ms

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

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

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

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

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

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

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

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

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

And I enter "301" 130ms

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

And I click on element 1s 35ms

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

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

And I click on element 1s 334ms

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

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

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

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

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

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

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

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

And I click on element 1s 313ms

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

And I click on element 1s 266ms

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

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

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

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

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

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

And I click on element 1s 322ms

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

And I click on element 1s 372ms

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

And I click on element 1s 388ms

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

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

And I enter "25" 188ms

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

And I enter "95" 301ms

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

And I click on element 1s 276ms

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

And I enter "110" 167ms

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

And I click on element 1s 86ms

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

And I enter "37" 125ms

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

And I click on element 1s 182ms

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

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

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

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

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

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

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

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

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

When I press the "Enter" key 369ms

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

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

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

And I press the "Enter" key 347ms

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

When I press the "Tab" key 334ms

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

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

And I enter "16" 118ms

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

And I enter "97" 120ms

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

And I enter "80" 161ms

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

And I enter "120" 130ms

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

And I enter "37" 215ms

And I press the "Tab" key 352ms

And I press the "Enter" key 364ms

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

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

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

And I wait for 2 seconds 2s 17ms

And "button" element with "text" "age-appropriate REWS" should be visible 4s 373ms

And I click on element 1s 239ms

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

When I click on element 1s 5ms

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

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

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

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

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

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

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

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

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

And I wait for 2 seconds 2s 74ms

And "button" element with "text" "age-appropriate REWS" should be visible 5s 71ms

And I click on element 1s 56ms

Then "div" element with "aria-label" "REWS calculator" should be visible 32ms

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

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

When I click on element 1s 98ms

And I wait for 2 seconds 2s 25ms

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

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

Then "button" element with "text" "Calculate REWS" should be hidden 7ms

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

And I wait for 2 seconds 2s 63ms

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

Then the age range list should offer these patient categories: 1s 121ms
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: 15s 831ms
age_range table_value label
13 years and over rews-table-adult Level of consciousness (AVPU)
13 years and over rews-table-adult Respiratory rate (breaths/min)
13 years and over rews-table-adult Oâ‚‚ sats (%)
13 years and over rews-table-adult Pulse (bpm)
13 years and over rews-table-adult Systolic BP (mmHg)
13 years and over rews-table-adult Temperature (°C)
Obstetric rews-table-obstetric Level of consciousness (AVPU)
Obstetric rews-table-obstetric Respiratory rate (breaths/min)
Obstetric rews-table-obstetric Oâ‚‚ needed to keep Oâ‚‚ sats 94% or more
Obstetric rews-table-obstetric Pulse (bpm)
Obstetric rews-table-obstetric Systolic BP (mmHg)
Obstetric rews-table-obstetric Diastolic BP (mmHg)
Obstetric rews-table-obstetric Temperature (°C)
Paediatric 0–3 months rews-table-0-3mo Level of consciousness (AVPU)
Paediatric 0–3 months rews-table-0-3mo Respiratory distress
Paediatric 0–3 months rews-table-0-3mo Respiratory rate (breaths/min)
Paediatric 0–3 months rews-table-0-3mo O₂ sats (%)
Paediatric 0–3 months rews-table-0-3mo O₂ needed – nasal prongs
Paediatric 0–3 months rews-table-0-3mo Pulse (bpm)
Paediatric 0–3 months rews-table-0-3mo Capillary refill
Paediatric 0–3 months rews-table-0-3mo Temperature (°C)
Paediatric 4–11 months rews-table-4-11mo Level of consciousness (AVPU)
Paediatric 4–11 months rews-table-4-11mo Respiratory distress
Paediatric 4–11 months rews-table-4-11mo Respiratory rate (breaths/min)
Paediatric 4–11 months rews-table-4-11mo O₂ sats (%)
Paediatric 4–11 months rews-table-4-11mo O₂ needed – nasal prongs
Paediatric 4–11 months rews-table-4-11mo Pulse (bpm)
Paediatric 4–11 months rews-table-4-11mo Capillary refill
Paediatric 4–11 months rews-table-4-11mo Temperature (°C)
Paediatric 1–4 years rews-table-1-4yr Level of consciousness (AVPU)
Paediatric 1–4 years rews-table-1-4yr Respiratory distress
Paediatric 1–4 years rews-table-1-4yr Respiratory rate (breaths/min)
Paediatric 1–4 years rews-table-1-4yr O₂ sats (%)
Paediatric 1–4 years rews-table-1-4yr O₂ needed – nasal prongs
Paediatric 1–4 years rews-table-1-4yr Pulse (bpm)
Paediatric 1–4 years rews-table-1-4yr Capillary refill
Paediatric 1–4 years rews-table-1-4yr Temperature (°C)
Paediatric 5–12 years rews-table-5-12yr Level of consciousness (AVPU)
Paediatric 5–12 years rews-table-5-12yr Respiratory distress
Paediatric 5–12 years rews-table-5-12yr Respiratory rate (breaths/min)
Paediatric 5–12 years rews-table-5-12yr O₂ sats (%)
Paediatric 5–12 years rews-table-5-12yr O₂ needed – nasal prongs
Paediatric 5–12 years rews-table-5-12yr Pulse (bpm)
Paediatric 5–12 years rews-table-5-12yr Capillary refill
Paediatric 5–12 years rews-table-5-12yr Temperature (°C)

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

And I wait for 2 seconds 2s 13ms

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

Then each of these entries should show its error message: 30s 327ms
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: 11s 922ms
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 181ms

And I wait for 2 seconds 2s 11ms

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

Then the REWS for "13 years and over" should give these results: 32s 852ms
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" 2s 589ms

And I wait for 2 seconds 2s 17ms

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

Then the REWS for "Paediatric 5–12 years" should give these results: 25s 43ms
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" 4s 343ms

And I wait for 2 seconds 2s 30ms

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

Then the REWS for "Obstetric" should give these results: 17s 797ms
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" 2s 112ms

And I wait for 2 seconds 2s 90ms

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

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

When I click on element 1s 73ms

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

And I click on element 1s 274ms

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

And I click on element 996ms

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

And I click on element 1s 164ms

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

And I enter "21" 203ms

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

And I click on element 1s

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

And I enter "110" 160ms

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

And I enter "140" 163ms

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

And I enter "90" 99ms

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

And I enter "37" 96ms

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

And I click on element 1s 202ms

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

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

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

And I click on element 1s 238ms

Then element with "id" "patient-table" and "full text" "Select patient table" should be visible 1m 10s 13ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (C:\agent\_work\60\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" 4s 224ms

And I wait for 2 seconds 2s 11ms

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

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

When I click on element 1s 184ms

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

And I click on element 1s 607ms

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

And I enter "abc" 233ms

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

And I enter "110" 245ms

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

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

And I click on element 987ms

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

And "input" element with "id" "respiratory-rate" should not be visible 8ms Show Error +
                                            
AssertionError + expected - actual -1 +0 at World.(anonymous) (C:\agent\_work\60\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" 4s 20ms

And I wait for 2 seconds 2s 32ms

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

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

When I click on element 1s 894ms

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

And I click on element 994ms

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

And I enter "21" 111ms

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

And I click on element 1s 327ms

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

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

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

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

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

Given I visit "http://localhost:3000/site/c_clinical_observations_stem#c_clinical_observations_temperature" 4s 862ms

And I wait for 3 seconds 3s 52ms

Then these elements should be shown for "Clinical Observations page tools (mobile)": 1s 479ms
tag attribute value
div aria-label Page tools
button aria-label Print
button aria-label Share
button aria-label Cite
button aria-label Font

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

Given "a" element with "text" "Conditions of use and disclaimer" 3s 969ms

Then I scroll to element 117ms

And I click on element 996ms

And I wait for 2 seconds 2s 37ms

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

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

Given "a" element with "text" "Privacy policy" 4s 174ms

Then I scroll to element 64ms

And I click on element 1s 6ms

And I wait for 2 seconds 2s 17ms

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

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

Given "a" element with "text" "Copyright permission" 10s 728ms

Then I scroll to element 57ms

And I click on element 1s 292ms

And I wait for 2 seconds 2s 23ms

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

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

Given "a" element with "text" "Licence agreement" 5s 242ms

Then I scroll to element 44ms

And I click on element 967ms

And I wait for 2 seconds 2s 34ms

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

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

Given "a" element with "text" "Support" 8s 446ms

Then I scroll to element 57ms

And I click on element 1s 152ms

And I wait for 2 seconds 2s 125ms

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

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

Given "a" element with "text" "Frequently asked questions (FAQs)" 7s 618ms

Then I scroll to element 35ms

And I click on element 1s 294ms

And I wait for 2 seconds 2s 21ms

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

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

Given "h3" element with "text" "CARPA Standard Treatment Manual" should be visible 4s 406ms

When I scroll to element 26ms

And I click on element 1s 693ms

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

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

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

When I scroll to element 22ms

And I click on element 988ms

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

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

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

When I scroll to element 55ms

And I click on element 1s 615ms

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

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

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

When I scroll to element 69ms

And I click on element 1s 116ms

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

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

And I wait for 3 seconds 3s 19ms

And "button" element with "aria-label" "Cite" should be visible 5s 64ms

When I click on element 1s 39ms

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

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

And I wait for 3 seconds 3s 140ms

And "button" element with "aria-label" "Cite" should be visible 2s 560ms

When I click on element 1s 24ms

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

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

And I wait for 3 seconds 3s 20ms

And "button" element with "aria-label" "Cite" should be visible 3s 110ms

When I click on element 1s 335ms

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

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

And I wait for 3 seconds 3s 63ms

And "h2" element with "text" "Do first" should be visible 2s 592ms

When I scroll to element 67ms

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

And I click on element 1s 243ms

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

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

And I wait for 3 seconds 3s 32ms

And "h2" element with "text" "Supporting breastfeeding" should be visible 2s 263ms

When I scroll to element 62ms

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

And I click on element 1s 529ms

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

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

And I wait for 3 seconds 3s 60ms

And "h2" element with "text" "Check" should be visible 2s 404ms

When I scroll to element 54ms

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

And I click on element 1s 287ms

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

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

And I wait for 3 seconds 3s 16ms

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

When I scroll to element 198ms

And I click on element 1s 483ms

And I wait for 2 seconds 2s 18ms

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

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

And "caption" element containing text "text" "Antibiotics for soft tissue injuries by wound type" should be visible 1m 10s 12ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (C:\agent\_work\60\s\node_modules\@cucumber\cucumber\lib\user_code_runner.js:63:28) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)

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

And I wait for 3 seconds 3s 12ms

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

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

When I scroll to element 46ms

And I click on element 1s 220ms

Then new tab should be opened 14ms

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

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

And I wait for 3 seconds 3s 9ms

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

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

When I scroll to element 48ms

And I click on element 1s 7ms

Then new tab should be opened 10ms

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

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

And I wait for 3 seconds 3s 10ms

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

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

When I scroll to element 51ms

And I click on element 1s 359ms

Then new tab should be opened 9ms

And url should contain "publications.qld.gov.au" 1s 553ms

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

And I wait for 2 seconds 2s 70ms

Given "section" element with "data-dita-element" "example" should be visible 3s 388ms

When I scroll to element 46ms

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

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

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

And I wait for 2 seconds 2s 430ms

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

When I scroll to element 97ms

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

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

And I wait for 2 seconds 2s 420ms

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

When I scroll to element 60ms

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

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

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

And I wait for 2 seconds 2s 20ms

Then "img" element with "aria-hidden" "true" should be visible 7s 671ms

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

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

And I wait for 2 seconds 2s 211ms

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

And I wait for 2 seconds 2s 49ms

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

When I scroll to element 360ms

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

When I get parent element 9ms

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

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

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

And I wait for 3 seconds 3s 14ms

Given "button" element with "text" "Terminology" should be visible 3s 124ms

When I click on element 1s 81ms

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

When I click on element 1s 475ms

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

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

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

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

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

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

And I wait for 3 seconds 3s 15ms

Given "button" element with "aria-label" "Print" should be visible 6s 996ms

When I click on element 1s 740ms

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

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

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

And I wait for 2 seconds 2s 454ms

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

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

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

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

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

And I wait for 2 seconds 2s 66ms

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

Given "div" element with "role" "combobox" should be visible 5s 449ms

When I scroll to element 45ms

And I click on element 1s 564ms

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

And element with "role" "option" and "text" "Assessing respiratory distress" should be visible 131ms

When I click on element 1s 13ms

And I wait for 2 seconds 2s 47ms

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

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

And I wait for 2 seconds 2s 18ms

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

Given "div" element with "role" "combobox" should be visible 3s 634ms

When I scroll to element 60ms

And I click on element 1s 34ms

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

And element with "role" "option" and "text" "Adult REWS" should be visible 30ms

When I click on element 974ms

And I wait for 2 seconds 2s 96ms

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

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

And I wait for 2 seconds 2s 17ms

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

Given "div" element with "role" "combobox" should be visible 7s 337ms

When I scroll to element 25ms

And I click on element 1s 88ms

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

And element with "role" "option" and "text" "Obstetric REWS" should be visible 31ms

When I click on element 972ms

And I wait for 2 seconds 2s 27ms

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

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

And I wait for 2 seconds 2s 13ms

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

Given "div" element with "role" "combobox" should be visible 2s 267ms

When I scroll to element 24ms

And I click on element 1s 554ms

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

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

When I click on element 965ms

And I wait for 2 seconds 2s 21ms

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

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

And I wait for 2 seconds 2s 9ms

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

Given "div" element with "role" "combobox" should be visible 3s 412ms

When I scroll to element 202ms

And I click on element 1s 50ms

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

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

When I click on element 1s 15ms

And I wait for 2 seconds 2s 37ms

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

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

And I wait for 2 seconds 2s 527ms

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

Given "div" element with "role" "combobox" should be visible 6s 434ms

When I scroll to element 58ms

And I click on element 1s 274ms

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

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

When I click on element 966ms

And I wait for 2 seconds 2s 7ms

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

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

And I wait for 2 seconds 2s 15ms

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

Given "div" element with "role" "combobox" should be visible 7s 367ms

When I scroll to element 42ms

And I click on element 1s 105ms

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

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

When I click on element 971ms

And I wait for 2 seconds 2s 20ms

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

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

And I wait for 3 seconds 3s 30ms

And the "Share" page tool should be visible 3s 49ms

When I click on element 1s 205ms

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

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

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

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

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

And I wait for 3 seconds 3s 13ms

And the "Share" page tool should be visible 4s 586ms

When I click on element 1s 25ms

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

And I click on element 999ms

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

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

And I wait for 3 seconds 3s 14ms

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

When I click on element 1s 255ms

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

And I click on element 1s 405ms

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

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

And the updates page is opened from the home page link 9s 704ms

Then the filter showing "All manuals" should offer these options: 11s 527ms
option
All manuals
CARPA Treatment
Clinical Procedures
Medicines Book
Show Error +
                                            
Error: The filter showing "All manuals": 2 of 4 not displayed - option "Clinical Procedures" | option "Medicines Book". It offers: All manuals, CARPA Treatment at World.(anonymous) (C:\agent\_work\60\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/" 3s 625ms

And the updates page is opened from the home page link 8s 249ms

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

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

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

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

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

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

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

And I wait for 3 seconds 3s 113ms

Given "button" element with "text" "CSOM" should be visible 3s 711ms

When I click on element 1s 491ms

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

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

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

And I wait for 3 seconds 3s 618ms

Given "button" element with "text" "ENT" should be visible 2s 899ms

When I click on element 1s 78ms

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

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

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

And I wait for 3 seconds 3s 117ms

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

When I click on element 1s 876ms

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

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

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

And I wait for 3 seconds 3s 36ms

Given "button" element with "text" "CSOM" should be visible 4s 265ms

When I click on element 1s 153ms

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

And I click on element 1s 694ms

And I wait for 1 seconds 1s 23ms

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

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

And I wait for 3 seconds 3s 58ms

Given "button" element with "text" "ENT" should be visible 5s 792ms

When I click on element 1s 22ms

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

And I click on element 1s 360ms

And I wait for 1 seconds 1s 67ms

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

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

And I wait for 3 seconds 3s 19ms

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

When I click on element 1s 352ms

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

And element with "data-dita-element" "title" and "text" "Azithromycin" should be visible 1m 10s 5ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (C:\agent\_work\60\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" 6s 579ms

And I wait for 3 seconds 3s 54ms

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

When I click on element 1s 320ms

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

And element with "data-dita-element" "title" and "text" "Amoxicillin" should be visible 1m 10s 15ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (C:\agent\_work\60\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" 2s 484ms

And I wait for 2 seconds 2s 174ms

And the Resources page has finished loading 1s 258ms

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

When I click on element 961ms

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

And these elements should be shown for "AC2 and AC4 Overview page": 65ms
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": 79ms
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 149ms

And each landing page category should open its page: 8s 298ms
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" 8s 425ms

And I wait for 2 seconds 2s 30ms

And the Resources page has finished loading 5s 72ms

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

When I click on element 1s 10ms

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

And these elements should be shown for "AC2 and AC5 Cultural safety introduction": 598ms
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": 181ms
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": 50ms
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": 41ms
tag attribute value
h3 text Tips

And the On this page menu should list these sections and take me to each: 20s 487ms
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
Show Error +
                                            
AssertionError: On this page link 8 should read "References: Cultural safety": expected 'References' to equal 'References: Cultural safety' + expected - actual -References +References: Cultural safety at walkOnThisPageLinks (C:\agent\_work\60\s\features\step_definitions\navigation-steps.js:213:10) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async World.(anonymous) (C:\agent\_work\60\s\features\step_definitions\navigation-steps.js:280:5)

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

And I wait for 2 seconds 2s 26ms

And the Resources page has finished loading 3s 485ms

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

When I click on element 990ms

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

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

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

And the standard footer should be shown 649ms

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

And I wait for 2 seconds 2s 41ms

And the Resources page has finished loading 2s 935ms

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

When I click on element 1s 206ms

And I choose the "Abbreviations" category 9s 817ms

Then these entries should be listed with their descriptions: 1m 27s 412ms
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: 4 of 5 rows failed - ABC: "ABC" is listed, but without the description "airway, breathing, circulation" | KICA: The entry "KICA" was not displayed after scrolling towards it for 25 seconds (page then: 161 entries shown, 0 loading) | NRT: The entry "NRT" was not displayed after scrolling towards it for 25 seconds (page then: 161 entries shown, 0 loading) | ORS: The entry "ORS" was not displayed after scrolling towards it for 25 seconds (page then: 161 entries shown, 0 loading) at checkEachRow (C:\agent\_work\60\s\features\step_definitions\resources-steps.js:269:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async World.(anonymous) (C:\agent\_work\60\s\features\step_definitions\resources-steps.js:372:3)

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

And I wait for 2 seconds 2s 16ms

And the Resources page has finished loading 10s 639ms

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

When I click on element 1s 190ms

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

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

When I open the category list 142ms

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

When I choose the "Glossary" category 2s 365ms

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

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

And each listed entry should have a definition 16ms

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

When I choose the "Mnemonics" category 3s 329ms

Then these elements should be shown for "AC13 Mnemonics": 1s 329ms
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: 18s 730ms
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 335ms

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

And I wait for 2 seconds 2s 102ms

And the Resources page has finished loading 3s 697ms

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

When I click on element 1s 31ms

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

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

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

And choosing each of these categories should show only its resources: 12s 251ms
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: 1m 19s 360ms
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
Show Error +
                                            
Error: 1 of 5 rows failed - Tropical Health Orientation Manual (THOM): Tropical Health Orientation Manual (THOM): 1 of 5 not displayed - description "The THOM provides best practice advice for the diagnosis, identification and trea at checkEachRow (C:\agent\_work\60\s\features\step_definitions\resources-steps.js:269:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async World.(anonymous) (C:\agent\_work\60\s\features\step_definitions\resources-steps.js:618:3)

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

And I wait for 2 seconds 2s 214ms

And the Resources page has finished loading 424ms

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

When I click on element 978ms

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

And these elements should be shown for "AC2 and AC8 Training introduction": 5s 791ms
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: 940ms
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 289ms

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

And I wait for 3 seconds 3s 24ms

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

When I enter "stomach" 79ms

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

And I click on element 977ms

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

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

And I wait for 3 seconds 4s 164ms

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

When I enter "stomach" 287ms

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

And I click on element 1s 46ms

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

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

And I wait for 3 seconds 3s 504ms

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

When I enter "Stomach" 101ms

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

And I click on element 2s 832ms

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

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

And I wait for 3 seconds 3s 22ms

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

When I enter "acute" 411ms

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

And I click on element 1s 162ms

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

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

And I wait for 3 seconds 3s 303ms

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

When I enter "STOMACH" 247ms

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

And I click on element 1s 311ms

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

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

And I wait for 3 seconds 3s 23ms

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

When I enter "NSAIDs" 77ms

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

And I click on element 1s 34ms

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

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

And I wait for 3 seconds 3s 21ms

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

When I enter "asthma" 85ms

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

And I click on element 1s 111ms

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

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

And I wait for 3 seconds 3s 186ms

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

When I enter "tummy" 813ms

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

And I click on element 1s 201ms

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

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

And I wait for 3 seconds 3s 114ms

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

When I enter "abdominal" 149ms

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

And I click on element 2s 90ms

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

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

And I wait for 3 seconds 3s 94ms

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

When I enter "COVID-19" 197ms

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

And I click on element 1s 901ms

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

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

And I wait for 3 seconds 3s 155ms

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

And I set browser to offline mode 2ms

When I enter "stomach" 269ms

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

And I click on element 1s 156ms

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

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

And I wait for 3 seconds 3s 10ms

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

And I set browser to offline mode 2ms

When I enter "STOMACH" 78ms

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

And I click on element 1s 534ms

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

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

And I wait for 3 seconds 3s 369ms

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

And I set browser to offline mode 2ms

When I enter "asthma" 132ms

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

And I click on element 1s 174ms

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

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

And I wait for 3 seconds 3s 737ms

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

And I set browser to offline mode 1ms

When I enter "tummy" 160ms

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

And I click on element 1s 348ms

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

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

And I wait for 3 seconds 3s 19ms

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

And I set browser to offline mode 1ms

When I enter "abdominal" 83ms

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

And I click on element 2s 284ms

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

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

And I wait for 3 seconds 3s 201ms

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

When I enter "vxc" 193ms

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

And I click on element 1s 67ms

Then the page heading should be 'No results for "vxc"' 600ms

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

And I wait for 3 seconds 3s 47ms

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

When I enter "xuu" 227ms

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

And I click on element 1s 158ms

Then the page heading should be 'No results for "xuu"' 305ms

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

And I wait for 3 seconds 3s 68ms

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

When I enter "xyz123" 258ms

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

And I click on element 1s 203ms

Then the page heading should be 'No results for "xyz123"' 107ms

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

And I wait for 3 seconds 3s 68ms

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

When I enter "zxqvwk" 163ms

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

And I click on element 1s 179ms

Then the page heading should be 'No results for "zxqvwk"' 84ms

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

And I wait for 3 seconds 3s 42ms

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

When I enter "valium" 357ms

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

And I click on element 1s 17ms

And I wait for 3 seconds 3s 31ms

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

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

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

And I enter "diazepam" 341ms

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

And I click on element 1s 662ms

And I wait for 3 seconds 3s 43ms

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

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

And I wait for 3 seconds 3s 19ms

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

When I enter "celecoxib" 82ms

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

And I click on element 1s 851ms

And I wait for 3 seconds 3s 14ms

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

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

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

And I enter "celebrex" 76ms

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

And I click on element 1s 94ms

And I wait for 3 seconds 3s 26ms

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

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

And I wait for 3 seconds 3s 10ms

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

When I enter "antenatal" 81ms

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

And I click on element 2s 99ms

And I wait for 3 seconds 3s 23ms

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

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

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

And I enter "pregnancy" 414ms

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

And I click on element 1s 163ms

And I wait for 3 seconds 3s 20ms

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

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

And I wait for 3 seconds 3s 16ms

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

When I enter "ibuprofen" 144ms

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

And I click on element 1s 55ms

And I wait for 3 seconds 3s 29ms

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

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

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

And I enter "nurofen" 88ms

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

And I click on element 963ms

And I wait for 3 seconds 3s 37ms

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

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

And I wait for 3 seconds 3s 11ms

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

When I enter "burn" 69ms

Then option "burns" should be in search results dropdown list 2s 284ms

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

When I click on element 1s 135ms

Then "h1" element with "text" "Burns" should be visible 795ms

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

And I wait for 3 seconds 3s 38ms

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

When I enter "antenatal" 241ms

Then option "antenatal care" should be in search results dropdown list 36ms

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

When I click on element 1s 161ms

Then "h1" element with "text" "Antenatal care" should be visible 977ms

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

And I wait for 3 seconds 3s 130ms

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

When I enter "bu" 117ms

Then option "burns" should be in search results dropdown list 1s 22ms

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

When I click on element 1s 422ms

Then "h1" element with "text" "Burns" should be visible 200ms