All Scenarios

185

Passed Scenarios

170

Failed Scenarios

15

Execution Time: 18:10 Device Type: Mobile

Expand All | Collapse All

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

And I wait for 3 seconds 3s 499ms

Then the page heading should be "Community" 2s 920ms

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

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

When I click on element 1s 234ms

And I wait for 2 seconds 2s 33ms

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

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

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

And I wait for 3 seconds 3s 39ms

Then the page heading should be "Community" 5s 934ms

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

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

When I click on element 1s 236ms

And I wait for 2 seconds 2s 22ms

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

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

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

And I wait for 3 seconds 3s 65ms

Then the page heading should be "Community" 6s 877ms

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

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

When I click on element 1s 136ms

And I wait for 2 seconds 2s 40ms

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

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

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

And I wait for 3 seconds 3s 63ms

Then the page heading should be "Community" 6s 932ms

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

When I click on element 1s 161ms

And I wait for 2 seconds 2s 33ms

Given element with "text" "Complete your expression of interest" 69ms

When I click on element 1s 172ms

Then "h2" element with "text" "RPHCM expression of interest form" should be visible 75ms

When I complete the Expression of interest form with: 1s 978ms
field value
First Name Test
Last Name Mobile
Email Address test.mobile@email.com
Professional background Nurse
Current role Remote Area Nurse
Organisation Test Health Service

And I select these areas of interest: 81ms
Trauma and emergencies
Chronic diseases

When I submit the Expression of interest form 119ms

Then "*" element with "text" "Thank you for your interest in contributing to the RPHCM project" should be visible 1m 10s 7ms 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/c_dose_azithromycin" 2s 814ms

And I wait for 3 seconds 3s 41ms

Then element with "text" "Azithromycin" should be visible 6s 811ms

And "div" element with "data-dita-table-filters" "true" should be visible 842ms

And "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 53ms

Then "label" element with "text" "Filter rows" should be visible 64ms

And element with "role" "combobox" and "text" "All rows" should be visible 47ms

And "label" element with "text" "Filter columns" should be visible 98ms

And element with "role" "combobox" and "text" "All columns" should be visible 72ms

And "div" element with "id" "azithromycin_trachoma-tf-or-ti" should be visible 224ms

And "div" element with "id" "azithromycin_severe-pneumonia" should be visible 66ms

And "div" element with "id" "azithromycin_sore-throat" should be visible 96ms

And "div" element with "id" "azithromycin_otitis-media" should be visible 56ms

And the "Show all" button should be disabled 60ms

Given I visit "http://localhost:3000/site/c_dose_azithromycin" 4s 328ms

And I wait for 3 seconds 3s 26ms

Then element with "text" "Azithromycin" should be visible 192ms

And "div" element with "data-dita-table-filters" "true" should be visible 600ms

And "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 41ms

When element with "role" "combobox" and "text" "All rows" should be visible 40ms

And I click on element 1s 11ms

And "span" element with "text" "Trachoma – TF or TI" should be visible 34ms

And I click on element 1s 227ms

And "button" element with "text" "Show 1 row" should be visible 50ms

And I click on element 1s 73ms

Then "span" element with "text" "Showing 1 of 4 rows and 10 columns" should be visible 60ms

And "div" element with "id" "azithromycin_trachoma-tf-or-ti" should be visible 48ms

And "div" element with "id" "azithromycin_sore-throat" should not be visible 57ms

And the "Show all" button should be enabled 84ms

When "button" element with "text" "Show all" should be visible 69ms

And I click on element 1s 49ms

Then "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 31ms

And "div" element with "id" "azithromycin_sore-throat" should be visible 69ms

And the "Show all" button should be disabled 37ms

Given I visit "http://localhost:3000/site/c_dose_azithromycin" 3s 8ms

And I wait for 3 seconds 3s 36ms

Then element with "text" "Azithromycin" should be visible 2s 125ms

And "div" element with "data-dita-table-filters" "true" should be visible 2s 225ms

And "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 76ms

When element with "role" "combobox" and "text" "All rows" should be visible 35ms

And I click on element 995ms

And "span" element with "text" "Sore throat" should be visible 36ms

And I click on element 939ms

And "button" element with "text" "Show 1 row" should be visible 33ms

And I click on element 1s 42ms

Then "span" element with "text" "Showing 1 of 4 rows and 10 columns" should be visible 38ms

And "div" element with "id" "azithromycin_sore-throat" should be visible 44ms

And "div" element with "id" "azithromycin_trachoma-tf-or-ti" should not be visible 20ms

And the "Show all" button should be enabled 65ms

When "button" element with "text" "Show all" should be visible 110ms

And I click on element 1s 196ms

Then "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 119ms

And "div" element with "id" "azithromycin_trachoma-tf-or-ti" should be visible 51ms

And the "Show all" button should be disabled 54ms

Given I visit "http://localhost:3000/site/c_dose_azithromycin" 2s 996ms

And I wait for 3 seconds 3s 28ms

Then element with "text" "Azithromycin" should be visible 1s 752ms

And "div" element with "data-dita-table-filters" "true" should be visible 1s 927ms

And "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 50ms

When element with "role" "combobox" and "text" "All rows" should be visible 58ms

And I click on element 1s 47ms

And "span" element with "text" "Severe pneumonia" should be visible 33ms

And I click on element 974ms

And "span" element with "text" "Otitis media" should be visible 31ms

And I click on element 954ms

And "button" element with "text" "Show 2 rows" should be visible 33ms

And I click on element 1s 44ms

Then "span" element with "text" "Showing 2 of 4 rows and 10 columns" should be visible 38ms

And "div" element with "id" "azithromycin_severe-pneumonia" should be visible 64ms

And "div" element with "id" "azithromycin_otitis-media" should be visible 399ms

And "div" element with "id" "azithromycin_trachoma-tf-or-ti" should not be visible 18ms

And "div" element with "id" "azithromycin_sore-throat" should not be visible 30ms

And the "Show all" button should be enabled 40ms

Given I visit "http://localhost:3000/site/c_dose_azithromycin" 3s 887ms

And I wait for 3 seconds 3s 163ms

Then element with "text" "Azithromycin" should be visible 5s 353ms

And "div" element with "data-dita-table-filters" "true" should be visible 554ms

And "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 82ms

When element with "role" "combobox" and "text" "All columns" should be visible 53ms

And I click on element 1s 330ms

And "span" element with "text" "3.3kg Newborn" should be visible 89ms

And I click on element 1s 177ms

And "button" element with "text" "Show 1 column" should be visible 130ms

And I click on element 1s 205ms

Then "span" element with "text" "Showing all 4 rows and 1 of 10 columns" should be visible 42ms

And "p" element with "text" "3.3kg" should be visible 42ms

And "p" element with "text" "40kg+" should not be visible 13ms

And the "Show all" button should be enabled 52ms

When "button" element with "text" "Show all" should be visible 57ms

And I click on element 1s 54ms

Then "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 105ms

And "p" element with "text" "40kg+" should be visible 68ms

And the "Show all" button should be disabled 19ms

Given I visit "http://localhost:3000/site/c_dose_azithromycin" 2s 797ms

And I wait for 3 seconds 3s 50ms

Then element with "text" "Azithromycin" should be visible 1s 293ms

And "div" element with "data-dita-table-filters" "true" should be visible 1s 194ms

And "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 68ms

When element with "role" "combobox" and "text" "All columns" should be visible 114ms

And I click on element 1s 31ms

And "span" element with "text" "16kg 4 years" should be visible 32ms

And I click on element 944ms

And "button" element with "text" "Show 1 column" should be visible 31ms

And I click on element 1s 98ms

Then "span" element with "text" "Showing all 4 rows and 1 of 10 columns" should be visible 147ms

And "p" element with "text" "16kg" should be visible 40ms

And "p" element with "text" "3.3kg" should not be visible 9ms

And the "Show all" button should be enabled 29ms

When "button" element with "text" "Show all" should be visible 51ms

And I click on element 1s 159ms

Then "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 42ms

And "p" element with "text" "3.3kg" should be visible 71ms

And the "Show all" button should be disabled 36ms

Given I visit "http://localhost:3000/site/c_dose_azithromycin" 3s 834ms

And I wait for 3 seconds 3s 36ms

Then element with "text" "Azithromycin" should be visible 419ms

And "div" element with "data-dita-table-filters" "true" should be visible 4s 456ms

And "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 105ms

When element with "role" "combobox" and "text" "All columns" should be visible 114ms

And I click on element 1s 72ms

And "span" element with "text" "40kg+ 12 years and over" should be visible 34ms

And I click on element 953ms

And "button" element with "text" "Show 1 column" should be visible 31ms

And I click on element 1s 123ms

Then "span" element with "text" "Showing all 4 rows and 1 of 10 columns" should be visible 36ms

And "p" element with "text" "40kg+" should be visible 198ms

And "p" element with "text" "16kg" should not be visible 10ms

And the "Show all" button should be enabled 81ms

When "button" element with "text" "Show all" should be visible 63ms

And I click on element 1s 115ms

Then "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 64ms

And "p" element with "text" "16kg" should be visible 81ms

And the "Show all" button should be disabled 26ms

Given I visit "http://localhost:3000/site/c_dose_azithromycin" 3s 578ms

And I wait for 3 seconds 3s 77ms

Then element with "text" "Azithromycin" should be visible 727ms

And "div" element with "data-dita-table-filters" "true" should be visible 4s 74ms

And "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 54ms

When element with "role" "combobox" and "text" "All columns" should be visible 126ms

And I click on element 1s 111ms

And "span" element with "text" "3.3kg Newborn" should be visible 56ms

And I click on element 943ms

And "span" element with "text" "40kg+ 12 years and over" should be visible 32ms

And I click on element 1s 45ms

And "button" element with "text" "Show 2 columns" should be visible 31ms

And I click on element 1s 239ms

Then "span" element with "text" "Showing all 4 rows and 2 of 10 columns" should be visible 80ms

And "p" element with "text" "3.3kg" should be visible 87ms

And "p" element with "text" "40kg+" should be visible 53ms

And "p" element with "text" "16kg" should not be visible 13ms

And "span" element with "text" "Used for" should be visible 76ms

And "span" element with "text" "Route and frequency" should be visible 121ms

And "span" element with "text" "Weight-based dosage" should be visible 44ms

And the "Show all" button should be enabled 80ms

Given I visit "http://localhost:3000/site/c_dose_azithromycin" 5s 701ms

And I wait for 3 seconds 3s 18ms

Then element with "text" "Azithromycin" should be visible 2s 353ms

And "div" element with "data-dita-table-filters" "true" should be visible 1s 210ms

And "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 49ms

When element with "role" "combobox" and "text" "All rows" should be visible 44ms

And I click on element 1s 90ms

And "span" element with "text" "Otitis media" should be visible 81ms

And I click on element 1s 149ms

And "button" element with "text" "Show 1 row" should be visible 243ms

And I click on element 1s 196ms

Then "span" element with "text" "Showing 1 of 4 rows and 10 columns" should be visible 176ms

When element with "role" "combobox" and "text" "All columns" should be visible 236ms

And I click on element 1s 563ms

And "span" element with "text" "6.2kg 3 months" should be visible 171ms

And I click on element 1s 74ms

And "span" element with "text" "25kg 8 years" should be visible 55ms

And I click on element 1s 143ms

And "button" element with "text" "Show 2 columns" should be visible 79ms

And I click on element 1s 150ms

Then "span" element with "text" "Showing 1 of 4 rows and 2 of 10 columns" should be visible 49ms

And "div" element with "id" "azithromycin_otitis-media" should be visible 82ms

And "div" element with "id" "azithromycin_severe-pneumonia" should not be visible 12ms

And "p" element with "text" "6.2kg" should be visible 91ms

And "p" element with "text" "25kg" should be visible 65ms

And "p" element with "text" "3.3kg" should not be visible 11ms

And the "Show all" button should be enabled 29ms

When "button" element with "text" "Show all" should be visible 118ms

And I click on element 1s 126ms

Then "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 136ms

And element with "role" "combobox" and "text" "All rows" should be visible 74ms

And element with "role" "combobox" and "text" "All columns" should be visible 108ms

And the "Show all" button should be disabled 90ms

Given I visit "http://localhost:3000/site/c_dose_azithromycin" 3s 478ms

And I wait for 3 seconds 3s 56ms

Then element with "text" "Azithromycin" should be visible 3s 922ms

And "div" element with "data-dita-table-filters" "true" should be visible 1s 16ms

And "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 67ms

When element with "role" "combobox" and "text" "All columns" should be visible 93ms

And I click on element 1s 164ms

And "span" element with "text" "9kg 1 year" should be visible 118ms

And I click on element 1s 86ms

And "button" element with "text" "Show 1 column" should be visible 71ms

And I click on element 968ms

Then "span" element with "text" "Showing all 4 rows and 1 of 10 columns" should be visible 32ms

When element with "role" "combobox" and "text" "All rows" should be visible 32ms

And I click on element 982ms

And "span" element with "text" "Severe pneumonia" should be visible 34ms

And I click on element 976ms

And "span" element with "text" "Sore throat" should be visible 145ms

And I click on element 1s 232ms

And "button" element with "text" "Show 2 rows" should be visible 62ms

And I click on element 1s 79ms

Then "span" element with "text" "Showing 2 of 4 rows and 1 of 10 columns" should be visible 181ms

And "div" element with "id" "azithromycin_severe-pneumonia" should be visible 106ms

And "div" element with "id" "azithromycin_sore-throat" should be visible 86ms

And "div" element with "id" "azithromycin_otitis-media" should not be visible 55ms

And "p" element with "text" "9kg" should be visible 121ms

And "p" element with "text" "3.3kg" should not be visible 18ms

When "button" element with "text" "Show all" should be visible 86ms

And I click on element 1s 110ms

Then "span" element with "text" "Showing all 4 rows and 10 columns" should be visible 39ms

And the "Show all" button should be disabled 26ms

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

When I wait for 3 seconds 3s 12ms

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

When I click on element 1s 460ms

When I wait for 4 seconds 4s 37ms

Given element with "text" "Manuals" 189ms

When I click on element 1s 120ms

When I wait for 3 seconds 3s 35ms

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

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

When I wait for 3 seconds 3s 16ms

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

When I click on element 973ms

When I wait for 4 seconds 4s 39ms

Given element with "text" "Manuals" 238ms

When I click on element 1s 86ms

When I wait for 3 seconds 3s 10ms

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

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

When I wait for 3 seconds 3s 594ms

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

When I click on element 1s 196ms

When I wait for 4 seconds 4s 18ms

Given element with "text" "Manuals" 101ms

When I click on element 962ms

When I wait for 3 seconds 3s 51ms

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

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

When I wait for 3 seconds 3s 25ms

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

When I click on element 992ms

When I wait for 4 seconds 4s 32ms

Given element with "text" "Manuals" 325ms

When I click on element 1s 26ms

When I wait for 3 seconds 3s 22ms

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

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

When I wait for 3 seconds 3s 18ms

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

When I click on element 1s 50ms

When I wait for 4 seconds 4s 28ms

Given element with "text" "Tools" 55ms

When I click on element 1s 87ms

When I wait for 3 seconds 3s 23ms

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

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

When I wait for 3 seconds 3s 704ms

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

When I click on element 1s 141ms

When I wait for 4 seconds 4s 9ms

Given element with "text" "Tools" 30ms

When I click on element 1s 2ms

When I wait for 3 seconds 3s 17ms

Then the menu should display the following items: 8s 170ms
Remote Early Warning Score (REWS) Calculator
Show Error +
                                            
TimeoutError: Menu item "Remote Early Warning Score (REWS) Calculator" not found Wait timed out after 8169ms 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/" 7s 488ms

When I wait for 3 seconds 3s 350ms

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

When I click on element 1s 495ms

When I wait for 4 seconds 4s 21ms

Given element with "text" "Tools" 34ms

When I click on element 1s 176ms

When I wait for 3 seconds 3s 40ms

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

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

When I wait for 3 seconds 3s 22ms

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

When I click on element 1s 132ms

When I wait for 4 seconds 4s 54ms

Given element with "text" "Tools" 158ms

When I click on element 1s 146ms

When I wait for 3 seconds 3s 60ms

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

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

And I wait for 2 seconds 2s 92ms

Then "h1" element with "text" "Browse A-Z" should be visible 2s 88ms

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

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

And I wait for 2 seconds 2s 289ms

Then "h1" element with "text" "Browse A-Z" should be visible 2s 380ms

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

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

And I wait for 2 seconds 2s 545ms

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

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

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

And I wait for 2 seconds 2s 445ms

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

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

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

And I wait for 2 seconds 2s 405ms

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

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

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

And I wait for 2 seconds 3s 403ms

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

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

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

And I wait for 2 seconds 3s 273ms

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

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

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

And I wait for 2 seconds 2s 265ms

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

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

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

And I wait for 2 seconds 2s 701ms

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

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

And I wait for 2 seconds 2s 476ms

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

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

And I wait for 2 seconds 3s 31ms

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

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

And I wait for 2 seconds 3s 479ms

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

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

And I wait for 2 seconds 2s 32ms

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

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

And I wait for 2 seconds 2s 41ms

And "p" element containing text "text" "Infections" should be visible 1s 270ms

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

And I wait for 2 seconds 2s 16ms

And "p" element containing text "text" "Musculoskeletal" should be visible 3s 657ms

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

And I wait for 2 seconds 2s 17ms

And "p" element containing text "text" "Neurological" should be visible 3s 492ms

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

And I wait for 2 seconds 3s 163ms

And element with "aria-label" "Browse medicines starting with A" should be visible 207ms

When I click on element 1s 395ms

And I wait for 4 seconds 4s 48ms

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

When I click on element 1s 160ms

And I wait for 2 seconds 2s 22ms

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

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

And I wait for 2 seconds 2s 674ms

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

When I click on element 981ms

And I wait for 4 seconds 4s 27ms

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

When I click on element 1s 13ms

And I wait for 2 seconds 2s 36ms

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

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

And I wait for 2 seconds 2s 98ms

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

When I click on element 1s 253ms

And I wait for 4 seconds 4s 53ms

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

When I click on element 1s 215ms

And I wait for 2 seconds 2s 33ms

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

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

And I wait for 2 seconds 2s 17ms

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

When I click on element 1s 320ms

And I wait for 4 seconds 4s 47ms

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

When I click on element 1s 333ms

And I wait for 2 seconds 2s 22ms

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

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

And I wait for 2 seconds 2s 54ms

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

When I click on element 1s 262ms

And I wait for 4 seconds 4s 73ms

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

When I click on element 1s 85ms

And I wait for 2 seconds 2s 12ms

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

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

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

When I click on element 1s 206ms

And I wait for 3 seconds 3s 67ms

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

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

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

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

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

When I click on element 2s 445ms

And I wait for 3 seconds 3s 12ms

And I click "Manuals" in the "Mobile primary navigation" menu 184ms

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

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

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

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

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

When I click on element 1s 190ms

And I wait for 3 seconds 3s 19ms

And I click "Manuals" in the "Mobile primary navigation" menu 160ms

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

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

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

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

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

When I click on element 1s 234ms

And I wait for 3 seconds 3s 282ms

And I click "Manuals" in the "Mobile primary navigation" menu 1s 489ms

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

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

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

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

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

When I click on element 1s 226ms

And I wait for 3 seconds 3s 11ms

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

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

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

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

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

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

When I click on element 1s 618ms

And I wait for 3 seconds 3s 18ms

Then the "Manual contents" menu should show: 323ms
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 163ms

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

When I click "STI management" in the "Manual contents" menu 239ms

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

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

Given I visit "http://localhost:3000/manual/clinical" 8s 208ms

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

When I click on element 1s 23ms

And I wait for 3 seconds 3s 47ms

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

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

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

Given I visit "http://localhost:3000/manual/medicines" 7s 763ms

And "button" element with "aria-label" "Manual contents" should be visible 8s 206ms

When I click on element 1s 930ms

And I wait for 3 seconds 3s 18ms

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

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

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

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

And "button" element with "aria-label" "Manual contents" should be visible 8s 614ms

When I click on element 1s 667ms

And "button" element with "aria-label" "Close manual contents" should be visible 148ms

And I click on element 964ms

And I wait for 1 seconds 1s 17ms

Then "nav" element with "aria-label" "Manual contents" should not be visible 8ms

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

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

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

When I enter "diabetes" 156ms

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

And I click on element 1s 221ms

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

And "button" element with "text" "Filters" 6s 697ms

And I click on element 1s 45ms

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

And I click on element 981ms

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

And I click on element 966ms

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

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

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

When I enter "asthma" 145ms

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

And I click on element 1s 246ms

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

And "button" element with "text" "Filters" 11s 625ms

And I click on element 1s 1ms

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

And I click on element 967ms

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

And I click on element 1s 154ms

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

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

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

When I enter "abdominal" 225ms

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

And I click on element 2s 345ms

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

And "button" element with "text" "Filters" 2s 973ms

And I click on element 1s 263ms

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

And I click on element 1s 18ms

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

And I click on element 971ms

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

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

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

When I enter "Aspirin" 193ms

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

And I click on element 4s 25ms

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

And "button" element with "text" "Filters" 1s 891ms

And I click on element 1s 148ms

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

And I click on element 1s 151ms

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

And I click on element 1s 287ms

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

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

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

When I enter "diabetes" 195ms

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

And I click on element 1s 269ms

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

And "button" element with "text" "Filters" 3s 659ms

And I click on element 1s 168ms

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

And I click on element 1s 195ms

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

And I click on element 985ms

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

When "button" element with "text" "Filters" 29ms

And I click on element 953ms

And "button" element with "text" "Clear all filters" 37ms

And I click on element 952ms

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

And I click on element 1s 113ms

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

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

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

When I enter "asthma" 184ms

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

And I click on element 1s 112ms

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

And "button" element with "text" "Filters" 4s 110ms

And I click on element 1s 171ms

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

And I click on element 1s 236ms

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

And I click on element 977ms

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

When "button" element with "text" "Filters" 28ms

And I click on element 981ms

And "button" element with "text" "Clear all filters" 34ms

And I click on element 1s 49ms

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

And I click on element 1s 100ms

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

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

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

When I enter "abdominal" 176ms

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

And I click on element 1s 126ms

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

And "button" element with "text" "Filters" 8s 942ms

And I click on element 1s 110ms

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

And I click on element 966ms

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

And I click on element 1s 134ms

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

When "button" element with "text" "Filters" 71ms

And I click on element 1s 120ms

And "button" element with "text" "Clear all filters" 56ms

And I click on element 1s 94ms

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

And I click on element 1s 51ms

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

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

Given element with "text" "Exclude results from WBM" 104ms

And I click on element 1s 5ms

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

When I enter "asthma" 118ms

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

And I click on element 1s 344ms

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

And "button" element with "text" "Filters" 7s 717ms

And I click on element 1s 64ms

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

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

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

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

Given element with "text" "Exclude results from WBM" 124ms

And I click on element 1s 23ms

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

When I enter "stomach" 84ms

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

And I click on element 1s 103ms

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

And "button" element with "text" "Filters" 3s 333ms

And I click on element 1s 89ms

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

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

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

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

Given element with "text" "Exclude results from WBM" 41ms

And I click on element 1s 83ms

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

When I enter "diabetes" 85ms

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

And I click on element 3s 222ms

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

And "button" element with "text" "Filters" 4s 291ms

And I click on element 1s 205ms

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

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

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

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

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

When I enter "trauma" 115ms

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

And I click on element 1s 152ms

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

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

And "button" element with "text" "Filters" 7s 514ms

And I click on element 1s 323ms

And checkbox "Emergencies" should not be checked 132ms

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

When I click on element 1s 86ms

Then checkbox "Emergencies" should be checked 75ms

When "button" element with "text" "Show " 45ms

And I click on element 1s 99ms

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

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

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

When I enter "diabetes" 174ms

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

And I click on element 1s 170ms

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

And "button" element with "text" "Filters" 6s 612ms

And I click on element 1s 191ms

And "input" element with "placeholder" "Search medical areas" 57ms

And I click on element 1s 149ms

And "span" element with "text" "Acute assessments" 136ms

And I click on element 1s 24ms

And checkbox "Acute assessments" should be checked 37ms

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

And I click on element 1s

And "span" element with "text" "Assessment and management" 31ms

And I click on element 1s 333ms

And "span" element with "text" "Adults" 92ms

And I click on element 1s 117ms

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

And I click on element 1s 209ms

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

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

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

And I enter "asprin" 154ms

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

And I click on element 1s 236ms

Then the page heading should be 'No results for "asprin"' 4s 62ms

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

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

And I click on element 988ms

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

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

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

And I enter "amoxycillin" 184ms

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

And I click on element 1s 147ms

Then the page heading should be 'No results for "amoxycillin"' 6s 580ms

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

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

And I click on element 1s 87ms

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

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

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

And I enter "diabeets" 266ms

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

And I click on element 1s 88ms

Then the page heading should be 'No results for "diabeets"' 6s 195ms

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

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

And I click on element 1s 66ms

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

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

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

And I enter "diabtes" 163ms

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

And I click on element 1s 754ms

Then the page heading should be 'No results for "diabtes"' 2s 679ms

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

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

And I click on element 1s 5ms

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

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

And I wait for 2 seconds 2s 14ms

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

Then the Assessing respiratory distress link should open this guidance for each patient table: 17s 292ms
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 - -
Show Info +
Passed only on a second try in the same browser: Paediatric 0–3 months

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

And I wait for 2 seconds 2s 16ms

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

Given the REWS for "Paediatric 5–12 years" should give these results: 43s 270ms
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
Show Info +
Passed only on a second try in the same browser: row 1: total 3 gives Medium

Then opening and closing the Assessing respiratory distress dialog in each of these ways should keep the calculator as it was: 5s 929ms
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" 5s 616ms

And I wait for 2 seconds 2s 605ms

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

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

When I click on element 1s 173ms

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

And I click on element 1s 129ms

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

And I click on element 1s 104ms

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

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

And I click on element 1s 110ms

Then new tab should be opened 106ms

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

And the page heading should be "Assessing respiratory distress" 746ms

And I close current tab 75ms

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

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

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

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

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

And I click on element 1s 168ms

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

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

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

And I click on element 1s 384ms

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

When I press the "Escape" key 371ms

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

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

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

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

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

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

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

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

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

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

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

And I click on element 1s 297ms

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

And I click on element 1s 291ms

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

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

And I click on element 1s 164ms

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

And I click on element 1s 241ms

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

And I enter "16" 172ms

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

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

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

When I click on element 1s 189ms

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

And I click on element 1s 243ms

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

And I click on element 1s 140ms

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

And I click on element 1s 520ms

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

And I enter "16" 302ms

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

And I enter "97" 157ms

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

And I enter "80" 229ms

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

And I enter "120" 229ms

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

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

And I enter "37" 279ms

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

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

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

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

When I click on element 1s 327ms

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

And I click on element 1s 546ms

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

And I click on element 1s 246ms

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

And I click on element 1s 233ms

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

And I click on element 1s 716ms

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

And I enter "40" 360ms

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

And I enter "97" 280ms

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

And I click on element 1s 312ms

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

And I enter "130" 207ms

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

And I enter "37" 194ms

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

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

And I click on element 1s 158ms

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

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

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

When I click on element 1s 462ms

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

And I click on element 1s 243ms

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

And I click on element 1s 289ms

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

And I click on element 1s 415ms

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

And I enter "16" 302ms

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

And I enter "97" 196ms

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

And I enter "80" 609ms

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

And I enter "120" 184ms

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

And I enter "37" 414ms

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

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

And I clear the input 162ms

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

When I enter "80" 198ms

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

When I clear the input 212ms

And I enter "abc" 400ms

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

When I clear the input 90ms

And I enter "80" 143ms

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

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

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

Then each of these values should be accepted: 23s 580ms
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: 27s 670ms
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: 25s 320ms
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: 13s 414ms
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 781ms

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

Then the REWS calculator should give these results: 38s 736ms
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" 2s 387ms

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

Then the REWS calculator should give these results: 30s 831ms
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" 2s 421ms

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

Then the REWS calculator should give these results: 10s 285ms
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: 7s 180ms
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" 3s 464ms

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

Then the REWS total should follow the band edges of these observations: 28s 503ms
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: 14s 311ms
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 251ms

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

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

When I click on element 1s 619ms

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

And I click on element 1s 194ms

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

And I click on element 1s 133ms

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

And I click on element 974ms

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

And I enter "16" 99ms

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

And I enter "97" 93ms

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

And I enter "80" 87ms

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

And I enter "120" 113ms

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

And I enter "37" 77ms

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

And I click on element 996ms

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

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

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

And I clear the input 43ms

And I enter "135" 57ms

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

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

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

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

And I clear the input 39ms

And I enter "38.6" 72ms

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

And I click on element 991ms

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

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

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

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

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

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

When I click on element 996ms

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

And I click on element 989ms

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

And I click on element 982ms

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

And I click on element 1s 61ms

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

And I enter "21" 141ms

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

And I click on element 1s 131ms

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

And I enter "110" 89ms

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

And I enter "140" 132ms

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

And I enter "90" 111ms

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

And I enter "37" 104ms

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

And I click on element 1s 165ms

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

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

And I click on element 1s 72ms

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

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

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

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

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

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

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

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

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

And I enter "301" 83ms

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

And I click on element 977ms

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

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

And I click on element 1s 235ms

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

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

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

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

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

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

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

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

And I click on element 1s 462ms

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

And I click on element 1s 111ms

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

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

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

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

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

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

And I click on element 969ms

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

And I click on element 1s 21ms

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

And I click on element 1s 284ms

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

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

And I enter "25" 148ms

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

And I enter "95" 231ms

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

And I click on element 1s 10ms

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

And I enter "110" 103ms

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

And I click on element 1s 278ms

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

And I enter "37" 171ms

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

And I click on element 1s 167ms

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

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

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

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

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

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

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

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

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

When I press the "Enter" key 367ms

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

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

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

And I press the "Enter" key 349ms

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

When I press the "Tab" key 338ms

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

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

And I enter "16" 147ms

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

And I enter "97" 110ms

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

And I enter "80" 79ms

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

And I enter "120" 93ms

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

And I enter "37" 66ms

And I press the "Tab" key 319ms

And I press the "Enter" key 351ms

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

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

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

And I wait for 2 seconds 2s 26ms

And "button" element with "text" "age-appropriate REWS" should be visible 10s 843ms

And I click on element 1s 255ms

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

When I click on element 1s 153ms

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

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

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

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

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

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

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

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

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

And I wait for 2 seconds 2s 361ms

And "button" element with "text" "age-appropriate REWS" should be visible 3s 497ms

And I click on element 2s 457ms

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

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

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

When I click on element 1s 109ms

And I wait for 2 seconds 2s 81ms

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

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

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

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

And I wait for 2 seconds 2s 27ms

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

Then the age range list should offer these patient categories: 1s 850ms
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: 14s 973ms
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 964ms

And I wait for 2 seconds 2s 35ms

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

Then each of these entries should show its error message: 27s 625ms
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: 14s 105ms
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 487ms

And I wait for 2 seconds 2s 57ms

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

Then the REWS for "13 years and over" should give these results: 35s 543ms
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" 5s 671ms

And I wait for 2 seconds 3s 388ms

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

Then the REWS for "Paediatric 5–12 years" should give these results: 1m 45s 391ms
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
Show Error +
                                            
Error: 1 of 4 rows failed - row 2: total 3 gives Medium: REWS results: 2 of 14 not displayed - link containing "View REWS reference table for Paediatric 5–12 years" | text below the total "Paediatric 5–12 years" 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\rews-calculator-steps.js:284:3)

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

And I wait for 2 seconds 2s 521ms

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

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

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

And I wait for 2 seconds 3s 181ms

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

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

When I click on element 1s 679ms

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

And I click on element 1s 171ms

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

And I click on element 1s 371ms

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

And I click on element 1s 479ms

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

And I enter "21" 192ms

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

And I click on element 1s 199ms

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

And I enter "110" 248ms

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

And I enter "140" 219ms

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

And I enter "90" 222ms

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

And I enter "37" 111ms

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

And I click on element 1s 275ms

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

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

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

And I click on element 1s 192ms

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

And I wait for 2 seconds 2s 24ms

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

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

When I click on element 972ms

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

And I click on element 982ms

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

And I enter "abc" 120ms

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

And I enter "110" 219ms

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

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

And I click on element 1s 196ms

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

And "input" element with "id" "respiratory-rate" should not be visible 14ms 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" 3s 136ms

And I wait for 2 seconds 2s 22ms

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

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

When I click on element 1s 6ms

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

And I click on element 1s 41ms

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

And I enter "21" 93ms

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

And I click on element 1s 36ms

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

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

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

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

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

Given I visit "http://localhost:3000/site/c_clinical_observations_stem#c_clinical_observations_temperature" 6s 600ms

And I wait for 3 seconds 3s 983ms

Then these elements should be shown for "Clinical Observations page tools (mobile)": 175ms
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/" 4s 403ms

Given "a" element with "text" "Conditions of use and disclaimer" 2s 397ms

Then I scroll to element 182ms

And I click on element 2s 241ms

And I wait for 2 seconds 2s 22ms

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

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

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

Then I scroll to element 169ms

And I click on element 1s 392ms

And I wait for 2 seconds 2s 46ms

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

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

Given "a" element with "text" "Copyright permission" 4s 117ms

Then I scroll to element 85ms

And I click on element 1s 205ms

And I wait for 2 seconds 2s 58ms

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

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

Given "a" element with "text" "Licence agreement" 3s 969ms

Then I scroll to element 52ms

And I click on element 1s 409ms

And I wait for 2 seconds 2s 17ms

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

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

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

Then I scroll to element 170ms

And I click on element 1s 47ms

And I wait for 2 seconds 2s 41ms

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

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

Given "a" element with "text" "Frequently asked questions (FAQs)" 3s 738ms

Then I scroll to element 173ms

And I click on element 1s 15ms

And I wait for 2 seconds 2s 21ms

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

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

Given "h3" element with "text" "CARPA Standard Treatment Manual" should be visible 850ms

When I scroll to element 54ms

And I click on element 2s 232ms

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

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

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

When I scroll to element 121ms

And I click on element 1s 435ms

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

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

Given "h3" element with "text" "Clinical Procedures Manual" should be visible 866ms

When I scroll to element 99ms

And I click on element 979ms

Then "h1" element with "text" "Clinical Procedures Manual" should be visible 3s 793ms

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

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

When I scroll to element 52ms

And I click on element 980ms

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

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

And I wait for 3 seconds 3s 522ms

And "button" element with "aria-label" "Cite" should be visible 136ms

When I click on element 1s 259ms

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

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

And I wait for 3 seconds 3s 9ms

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

When I click on element 1s 48ms

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

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

And I wait for 3 seconds 3s 45ms

And "button" element with "aria-label" "Cite" should be visible 883ms

When I click on element 1s 185ms

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

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

And I wait for 3 seconds 3s 158ms

And "h2" element with "text" "Do first" should be visible 4s 349ms

When I scroll to element 129ms

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

And I click on element 1s 79ms

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

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

And I wait for 3 seconds 3s 22ms

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

When I scroll to element 127ms

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

And I click on element 1s 80ms

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

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

And I wait for 3 seconds 3s 17ms

And "h2" element with "text" "Check" should be visible 6s 883ms

When I scroll to element 85ms

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

And I click on element 1s 256ms

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

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

And I wait for 3 seconds 3s 9ms

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

When I scroll to element 72ms

And I click on element 1s 129ms

And I wait for 2 seconds 2s 20ms

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

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

And "caption" element containing text "text" "Antibiotics for soft tissue injuries by wound type" should be visible 1m 10s 10ms 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" 7s 200ms

And I wait for 3 seconds 3s 59ms

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

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

When I scroll to element 96ms

And I click on element 1s 249ms

Then new tab should be opened 11ms

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

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

And I wait for 3 seconds 3s 15ms

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 4s 236ms

When I scroll to element 75ms

And I click on element 1s 461ms

Then new tab should be opened 11ms

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

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

And I wait for 3 seconds 3s 46ms

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

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

When I scroll to element 113ms

And I click on element 1s 468ms

Then new tab should be opened 879ms

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

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

And I wait for 2 seconds 2s 601ms

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

When I scroll to element 54ms

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

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

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

And I wait for 2 seconds 2s 22ms

Then "div" element with "role" "note" should be visible 7s 545ms

When I scroll to element 73ms

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

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

And I wait for 2 seconds 3s 230ms

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

When I scroll to element 54ms

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

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

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

And I wait for 2 seconds 2s 814ms

Then "img" element with "aria-hidden" "true" should be visible 3s 403ms

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" 3s 328ms

And I wait for 2 seconds 2s 10ms

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

And I wait for 2 seconds 2s 122ms

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

When I scroll to element 57ms

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

When I get parent element 8ms

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

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

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

And I wait for 3 seconds 3s 12ms

Given "button" element with "text" "Terminology" should be visible 2s 509ms

When I click on element 1s 255ms

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

When I click on element 1s 64ms

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

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

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

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

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

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

And I wait for 3 seconds 4s 117ms

Given "button" element with "aria-label" "Print" should be visible 204ms

When I click on element 1s 594ms

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

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

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

And I wait for 2 seconds 3s 95ms

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

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

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

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

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

And I wait for 2 seconds 2s 593ms

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

Given "div" element with "role" "combobox" should be visible 1s 338ms

When I scroll to element 82ms

And I click on element 1s 264ms

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

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

When I click on element 1s 202ms

And I wait for 2 seconds 2s 25ms

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

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

And I wait for 2 seconds 2s 13ms

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

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

When I scroll to element 72ms

And I click on element 1s 199ms

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

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

When I click on element 1s 174ms

And I wait for 2 seconds 2s 31ms

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

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

And I wait for 2 seconds 2s 21ms

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

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

When I scroll to element 28ms

And I click on element 1s 191ms

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

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

When I click on element 1s 26ms

And I wait for 2 seconds 2s 23ms

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

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

And I wait for 2 seconds 2s 35ms

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

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

When I scroll to element 24ms

And I click on element 1s 20ms

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

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

When I click on element 1s 64ms

And I wait for 2 seconds 2s 20ms

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

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

And I wait for 2 seconds 2s 20ms

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

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

When I scroll to element 27ms

And I click on element 1s 21ms

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

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

When I click on element 1s 191ms

And I wait for 2 seconds 2s 40ms

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

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

And I wait for 2 seconds 2s 251ms

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

Given "div" element with "role" "combobox" should be visible 666ms

When I scroll to element 38ms

And I click on element 1s 330ms

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

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

When I click on element 968ms

And I wait for 2 seconds 2s 13ms

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

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

And I wait for 2 seconds 2s 525ms

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

Given "div" element with "role" "combobox" should be visible 4s 563ms

When I scroll to element 50ms

And I click on element 1s 39ms

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

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

When I click on element 997ms

And I wait for 2 seconds 2s 40ms

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

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

And I wait for 3 seconds 3s 334ms

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

When I click on element 1s 38ms

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

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

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

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

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

And I wait for 3 seconds 3s 90ms

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

When I click on element 1s 35ms

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

And I click on element 1s 3ms

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

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

And I wait for 3 seconds 3s 17ms

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

When I click on element 1s 24ms

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

And I click on element 1s 215ms

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

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

And the updates page is opened from the home page link 4s 362ms

Then the filter showing "All manuals" should offer these options: 1s 220ms
option
All manuals
CARPA Treatment

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

And the updates page is opened from the home page link 4s 403ms

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

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

And the updates page is opened from the home page link 4s 742ms

Then choosing each of these manuals should show only its updates: 5s 162ms
manual badge excluded_badge_1 excluded_badge_2
CARPA Treatment CARPA STM CPM MB

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

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

Then clearing the filter for each of these manuals should bring back all updates: 9s 735ms
manual badge
CARPA Treatment CARPA STM

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

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

And I wait for 3 seconds 3s 146ms

Given "button" element with "text" "CSOM" should be visible 9s 292ms

When I click on element 1s 167ms

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

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

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

And I wait for 3 seconds 3s 937ms

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

When I click on element 996ms

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

And element with "text" "ear, nose and throat" should be visible 1s 110ms

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

And I wait for 3 seconds 4s 340ms

Given "button" element with "text" "AOMwiP" should be visible 3s 893ms

When I click on element 1s 186ms

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

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

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

And I wait for 3 seconds 3s 21ms

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

When I click on element 1s 81ms

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

And I click on element 994ms

And I wait for 1 seconds 1s 22ms

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

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

And I wait for 3 seconds 3s 9ms

Given "button" element with "text" "ENT" should be visible 7s 773ms

When I click on element 1s 183ms

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

And I click on element 1s 23ms

And I wait for 1 seconds 1s 21ms

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

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

And I wait for 3 seconds 3s 32ms

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

When I click on element 1s 351ms

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

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

And I wait for 3 seconds 3s 47ms

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

When I click on element 1s 128ms

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

And element with "data-dita-element" "title" and "text" "Amoxicillin" 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/resources" 5s 334ms

And I wait for 2 seconds 2s 19ms

And the Resources page has finished loading 3s 457ms

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

When I click on element 1s 57ms

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

And these elements should be shown for "AC2 and AC4 Overview page": 30s 325ms
tag attribute value
h1 text Resources
p text Clinical tools, educational materials, training links, and patient resources for remote and Indigenous primary health care
h2 text Browse resources
h4 text Cultural safety
Show Error +
                                            
Error: AC2 and AC4 Overview page: 1 of 4 not displayed - p with text "Clinical tools, educational materials, training links, and patient resources for remote and Indigenous primary health care" at checkXpaths (C:\agent\_work\60\s\features\step_definitions\resources-steps.js:482: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:521:3)

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

And I wait for 2 seconds 2s 17ms

And the Resources page has finished loading 4s 588ms

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

When I click on element 1s 329ms

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

And these elements should be shown for "AC2 and AC5 Cultural safety introduction": 552ms
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": 313ms
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": 164ms
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": 69ms
tag attribute value
h3 text Tips

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

And the standard footer should be shown 191ms

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

And I wait for 2 seconds 2s 18ms

And the Resources page has finished loading 3s 516ms

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

When I click on element 1s 744ms

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

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

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

And I wait for 2 seconds 2s 14ms

And the Resources page has finished loading 1s 687ms

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

When I click on element 1s 144ms

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

Then the listed entries should be in alphabetical order 24ms

And each listed entry should have a definition 9ms

And searching the Abbreviations for each of these should show the term and its description: 2m 28s 994ms
query term description
DRS DRSABCD resuscitation acronym
streptococcus GAS Group A beta haemolytic streptococcus
GA GAS Group A beta haemolytic streptococcus
ENT CNS central nervous system
CSF CSF cerebrospinal fluid
CS ACS acute coronary syndrome
CS CSF cerebrospinal fluid
CS CSL Commonwealth Serum Laboratory
Show Error +
                                            
Error: 2 of 8 rows failed - "streptococcus" (GAS): "GAS" with the description "Group A beta haemolytic streptococcus" was not shown for "streptococcus" | "GA" (GAS): "GAS" with the description "Group A beta haemolytic streptococcus" was not shown for "GA" at checkEachRow (C:\agent\_work\60\s\features\step_definitions\resources-steps.js:269:11) at async World.(anonymous) (C:\agent\_work\60\s\features\step_definitions\resources-steps.js:353:3)

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

And I wait for 2 seconds 2s 13ms

And the Resources page has finished loading 5s 893ms

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

When I click on element 1s 804ms

And I choose the "Abbreviations" category 23s 497ms

Given "input" element with "aria-label" "Search abbreviations" 31ms

When I enter "GAS" 89ms

And I wait for 2 seconds 2s 19ms

When I scroll to element 119ms

Then "h6" element with "full text" "GAS" should be visible 1m 10s 14ms 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" 3s 75ms

And I wait for 2 seconds 2s 22ms

And the Resources page has finished loading 7s 490ms

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

When I click on element 1s 265ms

And I choose the "Abbreviations" category 23s 294ms

Given "input" element with "aria-label" "Search abbreviations" 36ms

When I enter "KICA" 125ms

And I wait for 2 seconds 2s 150ms

When I scroll to element 126ms

Then "h6" element with "full text" "KICA" 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" 6s 775ms

And I wait for 2 seconds 2s 105ms

And the Resources page has finished loading 459ms

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

When I click on element 1s 271ms

And I choose the "Abbreviations" category 11s 806ms

And "h3" element with "full text" "B" should be visible 99ms

Given element with "aria-label" "Jump to B" 39ms

When I click on element 1s 25ms

And "h6" element with "full text" "BCG" should be visible 45ms

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

And I wait for 2 seconds 2s 276ms

And the Resources page has finished loading 1s 276ms

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

When I click on element 1s 512ms

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

And "h3" element with "full text" "C" should be visible 38ms

Given element with "aria-label" "Jump to C" 34ms

When I click on element 992ms

And "h6" element with "full text" "C3" should be visible 34ms

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

And I wait for 2 seconds 2s 786ms

And the Resources page has finished loading 1s 840ms

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

When I click on element 1s 337ms

And I choose the "Abbreviations" category 6s 505ms

And "h3" element with "full text" "D" should be visible 2s 361ms

Given element with "aria-label" "Jump to D" 1s 448ms

When I click on element 7s 954ms

And "h6" element with "full text" "DAA" should be visible 50ms

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

And I wait for 2 seconds 2s 10ms

And the Resources page has finished loading 2s 133ms

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

When I click on element 990ms

And I choose the "Abbreviations" category 5s 537ms

And "h3" element with "full text" "E" should be visible 3s 450ms

Given element with "aria-label" "Jump to E" 1s 563ms

When I click on element 11s 899ms

And "h6" element with "full text" "ECEI" should be visible 176ms

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

And I wait for 2 seconds 2s 23ms

And the Resources page has finished loading 2s 19ms

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

When I click on element 998ms

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

And "h3" element with "full text" "V" should be visible 22s 165ms

Given element with "aria-label" "Jump to V" 510ms

When I click on element 1s 401ms

And "h6" element with "full text" "VBG" should be visible 192ms

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

And I wait for 2 seconds 2s 25ms

And the Resources page has finished loading 2s 591ms

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

When I click on element 1s 263ms

And I choose the "Abbreviations" category 8s 996ms

And "h3" element with "full text" "W" should be visible 1m 10s 14ms 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" 9s 805ms

And I wait for 2 seconds 3s 77ms

And the Resources page has finished loading 1s 38ms

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

When I click on element 1s 60ms

And I choose the "Abbreviations" category 26s 586ms

And "h3" element with "full text" "X" should be visible 1m 10s 14ms 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" 7s 965ms

And I wait for 2 seconds 3s 305ms

And the Resources page has finished loading 1s 48ms

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

When I click on element 1s 32ms

And I choose the "Abbreviations" category 22s 863ms

And "h3" element with "full text" "Other" should be visible 1m 10s 9ms 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 799ms

And I wait for 2 seconds 2s 102ms

And the Resources page has finished loading 9ms

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

When I click on element 1s 379ms

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

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

When I open the category list 168ms

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

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

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

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

And each listed entry should have a definition 16ms

And each A-Z button should take me to its section and show the entry: 8s 557ms
letter term
A Adrenaline
B Bacteria
C Cholesterol
D Diabetes
V Virus

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

Then these elements should be shown for "AC13 Mnemonics": 414ms
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: 17s 590ms
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 527ms

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

And I wait for 2 seconds 2s 62ms

And the Resources page has finished loading 2s 503ms

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

When I click on element 1s 64ms

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

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

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

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

And these resources should show their title, description, source and link: 9s 746ms
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

And the standard footer should be shown 667ms

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

And I wait for 2 seconds 2s 76ms

And the Resources page has finished loading 6s 252ms

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

When I click on element 1s 37ms

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

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

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

And I wait for 3 seconds 3s 28ms

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

When I enter "stomach" 184ms

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

And I click on element 1s 732ms

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

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

And I wait for 3 seconds 3s 184ms

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

When I enter "stomach" 679ms

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

And I click on element 1s 392ms

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

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

And I wait for 3 seconds 3s 166ms

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

When I enter "Stomach" 164ms

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

And I click on element 1s 500ms

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

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

And I wait for 3 seconds 3s 59ms

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

When I enter "acute" 121ms

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

And I click on element 1s 333ms

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

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

And I wait for 3 seconds 3s 226ms

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

When I enter "STOMACH" 347ms

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

And I click on element 1s 170ms

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

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

And I wait for 3 seconds 3s 582ms

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

When I enter "NSAIDs" 188ms

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

And I click on element 6s 417ms

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

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

And I wait for 3 seconds 7s 90ms

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

When I enter "asthma" 144ms

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

And I click on element 1s 381ms

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

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

And I wait for 3 seconds 3s 14ms

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

When I enter "tummy" 81ms

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

And I click on element 3s 830ms

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

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

And I wait for 3 seconds 3s 19ms

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

When I enter "abdominal" 94ms

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

And I click on element 3s 197ms

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

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

And I wait for 3 seconds 3s 17ms

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

When I enter "COVID-19" 91ms

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

And I click on element 1s 41ms

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

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

And I wait for 3 seconds 3s 14ms

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

And I set browser to offline mode 2ms

When I enter "stomach" 105ms

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

And I click on element 1s 268ms

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

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

And I wait for 3 seconds 3s 17ms

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

And I set browser to offline mode 2ms

When I enter "STOMACH" 108ms

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

And I click on element 1s 231ms

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

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

And I wait for 3 seconds 3s 10ms

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

And I set browser to offline mode 1ms

When I enter "asthma" 89ms

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

And I click on element 1s 262ms

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

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

And I wait for 3 seconds 3s 15ms

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

And I set browser to offline mode 2ms

When I enter "tummy" 946ms

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

And I click on element 1s 152ms

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

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

And I wait for 3 seconds 3s 22ms

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

And I set browser to offline mode 2ms

When I enter "abdominal" 232ms

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

And I click on element 1s 702ms

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

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

And I wait for 3 seconds 3s 21ms

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

When I enter "vxc" 126ms

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

And I click on element 1s 601ms

Then the page heading should be 'No results for "vxc"' 2s 671ms

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

And I wait for 3 seconds 3s 16ms

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

When I enter "xuu" 135ms

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

And I click on element 1s 622ms

Then the page heading should be 'No results for "xuu"' 2s 854ms

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

And I wait for 3 seconds 3s 47ms

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

When I enter "xyz123" 183ms

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

And I click on element 1s 86ms

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

Given I visit "http://localhost:3000/" 1s 767ms

And I wait for 3 seconds 3s 108ms

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

When I enter "zxqvwk" 162ms

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

And I click on element 1s 59ms

Then the page heading should be 'No results for "zxqvwk"' 5s 48ms

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

And I wait for 3 seconds 3s 51ms

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

When I enter "valium" 215ms

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

And I click on element 1s 165ms

And I wait for 3 seconds 3s 13ms

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

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

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

And I enter "diazepam" 82ms

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

And I click on element 1s 402ms

And I wait for 3 seconds 3s 198ms

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

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

And I wait for 3 seconds 3s 112ms

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

When I enter "celecoxib" 180ms

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

And I click on element 2s 266ms

And I wait for 3 seconds 3s 30ms

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

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

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

And I enter "celebrex" 223ms

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

And I click on element 1s 157ms

And I wait for 3 seconds 3s 43ms

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

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

And I wait for 3 seconds 3s 117ms

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

When I enter "antenatal" 175ms

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

And I click on element 2s 235ms

And I wait for 3 seconds 3s 30ms

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

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

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

And I enter "pregnancy" 254ms

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

And I click on element 2s 420ms

And I wait for 3 seconds 3s 19ms

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

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

And I wait for 3 seconds 3s 25ms

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

When I enter "ibuprofen" 171ms

And "button" element with "text" "Search" 78ms

And I click on element 1s 188ms

And I wait for 3 seconds 3s 87ms

Then the page heading should be 'Search results for "ibuprofen"' 295ms

When I visit "http://localhost:3000/" 682ms

And "input" element with "aria-label" "Search manuals" 29ms

And I enter "nurofen" 62ms

And "button" element with "text" "Search" 31ms

And I click on element 1s 633ms

And I wait for 3 seconds 3s 15ms

Then the page heading should be 'Search results for "nurofen"' 59ms

Given I visit "http://localhost:3000/" 4s 279ms

And I wait for 3 seconds 3s 25ms

Given "input" element with "aria-label" "Search manuals" 94ms

When I enter "burn" 135ms

Then option "burns" should be in search results dropdown list 7s 238ms

Given "p" element with "full text" "burns" 140ms

When I click on element 1s 198ms

Then "h1" element with "text" "Burns" should be visible 445ms

Given I visit "http://localhost:3000/" 5s 113ms

And I wait for 3 seconds 3s 34ms

Given "input" element with "aria-label" "Search manuals" 77ms

When I enter "antenatal" 263ms

Then option "antenatal care" should be in search results dropdown list 31ms

Given "p" element with "full text" "antenatal care" 72ms

When I click on element 1s 101ms

Then "h1" element with "text" "Antenatal care" should be visible 492ms

Given I visit "http://localhost:3000/" 1s 712ms

And I wait for 3 seconds 3s 7ms

Given "input" element with "aria-label" "Search manuals" 33ms

When I enter "bu" 63ms

Then option "burns" should be in search results dropdown list 2s 407ms

Given "p" element with "full text" "burns" 87ms

When I click on element 1s 240ms

Then "h1" element with "text" "Burns" should be visible 578ms