All Scenarios

174

Passed Scenarios

162

Failed Scenarios

12

Execution Time: 15:54 Device Type: Mobile

Expand All | Collapse All

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

And I wait for 3 seconds 3s 43ms

Then the page heading should be "Community" 3s 607ms

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

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

When I click on element 977ms

And I wait for 2 seconds 2s 23ms

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

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

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

And I wait for 3 seconds 3s 54ms

Then the page heading should be "Community" 4s 183ms

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

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

When I click on element 1s 26ms

And I wait for 2 seconds 2s 38ms

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

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

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

And I wait for 3 seconds 3s 46ms

Then the page heading should be "Community" 4s 26ms

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

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

When I click on element 1s 44ms

And I wait for 2 seconds 2s 20ms

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

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

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

And I wait for 3 seconds 3s 46ms

Then the page heading should be "Community" 3s 854ms

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

When I click on element 1s 31ms

And I wait for 2 seconds 2s 33ms

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

When I click on element 1s 353ms

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

When I complete the Expression of interest form with: 1s 716ms
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 133ms

Then "*" element with "text" "Thank you for your interest in contributing to the RPHCM project" 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/site/c_dose_azithromycin" 4s 729ms

And I wait for 3 seconds 3s 56ms

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

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

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

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

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

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

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

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

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

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

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

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

Given I visit "http://localhost:3000/site/c_dose_azithromycin" 6s 928ms

And I wait for 3 seconds 3s 12ms

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

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

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

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

And I click on element 1s 225ms

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

And I click on element 1s 264ms

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

And I click on element 982ms

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

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

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

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

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

And I click on element 1s 104ms

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

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

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

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

And I wait for 3 seconds 3s 9ms

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

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

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

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

And I click on element 1s 89ms

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

And I click on element 1s 221ms

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

And I click on element 993ms

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

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

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

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

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

And I click on element 1s 28ms

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

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

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

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

And I wait for 3 seconds 3s 382ms

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

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

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

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

And I click on element 1s 133ms

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

And I click on element 1s 228ms

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

And I click on element 961ms

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

And I click on element 1s 116ms

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

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

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

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

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

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

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

And I wait for 3 seconds 3s 369ms

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

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

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

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

And I click on element 1s 109ms

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

And I click on element 1s

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

And I click on element 1s 29ms

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

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

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

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

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

And I click on element 1s 213ms

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

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

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

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

And I wait for 3 seconds 3s 806ms

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

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

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

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

And I click on element 1s 322ms

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

And I click on element 980ms

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

And I click on element 1s 34ms

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

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

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

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

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

And I click on element 980ms

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

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

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

Given I visit "http://localhost:3000/site/c_dose_azithromycin" 6s 460ms

And I wait for 3 seconds 3s 21ms

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

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

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

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

And I click on element 1s 152ms

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

And I click on element 980ms

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

And I click on element 1s 20ms

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

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

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

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

And I click on element 969ms

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

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

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

Given I visit "http://localhost:3000/site/c_dose_azithromycin" 6s 137ms

And I wait for 3 seconds 3s 16ms

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

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

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

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

And I click on element 1s 90ms

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

And I click on element 983ms

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

And I click on element 957ms

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

And I click on element 1s 6ms

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

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

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

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

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

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

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

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

Given I visit "http://localhost:3000/site/c_dose_azithromycin" 7s 32ms

And I wait for 3 seconds 3s 32ms

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

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

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

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

And I click on element 1s 195ms

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

And I click on element 1s 134ms

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

And I click on element 971ms

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

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

And I click on element 960ms

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

And I click on element 1s 19ms

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

And I click on element 1s 74ms

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

And I click on element 1s 145ms

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

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

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

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

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

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

And I click on element 972ms

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

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

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

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

Given I visit "http://localhost:3000/site/c_dose_azithromycin" 6s 745ms

And I wait for 3 seconds 3s 15ms

Then element with "text" "Azithromycin" should be visible 4s 685ms

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

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

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

And I click on element 1s 250ms

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

And I click on element 946ms

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

And I click on element 1s 117ms

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

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

And I click on element 1s 2ms

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

And I click on element 1s 241ms

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

And I click on element 1s 60ms

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

And I click on element 1s 35ms

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

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

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

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

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

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

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

And I click on element 1s 392ms

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

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

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

When I wait for 3 seconds 3s 12ms

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

When I click on element 1s 319ms

When I wait for 4 seconds 4s 14ms

Given element with "text" "Manuals" 175ms

When I click on element 1s 89ms

When I wait for 3 seconds 3s 38ms

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

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

When I wait for 3 seconds 3s 328ms

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

When I click on element 1s 146ms

When I wait for 4 seconds 4s 14ms

Given element with "text" "Manuals" 146ms

When I click on element 1s 87ms

When I wait for 3 seconds 3s 35ms

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

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

When I wait for 3 seconds 3s 26ms

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

When I click on element 1s 156ms

When I wait for 4 seconds 4s 24ms

Given element with "text" "Manuals" 304ms

When I click on element 1s 46ms

When I wait for 3 seconds 3s 20ms

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

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

When I wait for 3 seconds 3s 27ms

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

When I click on element 1s 736ms

When I wait for 4 seconds 4s 32ms

Given element with "text" "Manuals" 225ms

When I click on element 1s 117ms

When I wait for 3 seconds 3s 18ms

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

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

When I wait for 3 seconds 3s 28ms

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

When I click on element 1s 212ms

When I wait for 4 seconds 4s 19ms

Given element with "text" "Tools" 33ms

When I click on element 1s 91ms

When I wait for 3 seconds 3s 88ms

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

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

When I wait for 3 seconds 3s 842ms

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

When I click on element 1s

When I wait for 4 seconds 4s 23ms

Given element with "text" "Tools" 137ms

When I click on element 1s 2ms

When I wait for 3 seconds 3s 46ms

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

When I wait for 3 seconds 3s 848ms

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

When I click on element 3s 374ms

When I wait for 4 seconds 4s 19ms

Given element with "text" "Tools" 29ms

When I click on element 1s 10ms

When I wait for 3 seconds 3s 17ms

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

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

When I wait for 3 seconds 3s 585ms

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

When I click on element 1s 1ms

When I wait for 4 seconds 4s 36ms

Given element with "text" "Tools" 88ms

When I click on element 1s 65ms

When I wait for 3 seconds 3s 35ms

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

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

And I wait for 2 seconds 2s 524ms

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

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

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

And I wait for 2 seconds 2s 522ms

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

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

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

And I wait for 2 seconds 2s 38ms

Then "h1" element with "text" "Browse A-Z" should be visible 3s 826ms

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

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

And I wait for 2 seconds 2s 816ms

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

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

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

And I wait for 2 seconds 2s 32ms

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

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

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

And I wait for 2 seconds 2s 61ms

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

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

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

And I wait for 2 seconds 2s 10ms

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

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

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

And I wait for 2 seconds 2s 640ms

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

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

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

And I wait for 2 seconds 2s 768ms

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

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

And I wait for 2 seconds 2s 81ms

And "p" element containing text "text" "Blood and electrolytes" should be visible 3s 260ms

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

And I wait for 2 seconds 2s 58ms

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

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

And I wait for 2 seconds 2s 35ms

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

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

And I wait for 2 seconds 2s 724ms

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

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

And I wait for 2 seconds 3s 26ms

And "p" element containing text "text" "Infections" should be visible 822ms

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

And I wait for 2 seconds 2s 12ms

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

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

And I wait for 2 seconds 2s 833ms

And "p" element containing text "text" "Neurological" should be visible 333ms

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

And I wait for 2 seconds 2s 46ms

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

When I click on element 1s 100ms

And I wait for 4 seconds 4s 22ms

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

When I click on element 1s 197ms

And I wait for 2 seconds 2s 17ms

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

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

And I wait for 2 seconds 2s 23ms

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

When I click on element 1s 62ms

And I wait for 4 seconds 4s 42ms

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

When I click on element 1s 248ms

And I wait for 2 seconds 2s 23ms

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

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

And I wait for 2 seconds 2s 78ms

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

When I click on element 1s 38ms

And I wait for 4 seconds 4s 23ms

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

When I click on element 1s 136ms

And I wait for 2 seconds 2s 29ms

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

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

And I wait for 2 seconds 2s 11ms

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

When I click on element 1s 68ms

And I wait for 4 seconds 4s 30ms

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

When I click on element 1s 191ms

And I wait for 2 seconds 2s 21ms

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

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

And I wait for 2 seconds 2s 26ms

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

When I click on element 1s 82ms

And I wait for 4 seconds 4s 69ms

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

When I click on element 1s 72ms

And I wait for 2 seconds 2s 101ms

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

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

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

When I click on element 1s 678ms

And I wait for 3 seconds 3s 12ms

Then the "Mobile primary navigation" menu should show: 120ms
Manuals
Tools
Resources
Community

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

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

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

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

When I click on element 1s 15ms

And I wait for 3 seconds 3s 11ms

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

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

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

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

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

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

When I click on element 1s 27ms

And I wait for 3 seconds 3s 13ms

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

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

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

And "button" element with "aria-label" "Manual contents" should be visible 2s 127ms

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

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

When I click on element 1s 3ms

And I wait for 3 seconds 3s 12ms

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

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

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

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

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

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

When I click on element 1s 216ms

And I wait for 3 seconds 3s 16ms

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

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

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

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

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

And "button" element with "aria-label" "Manual contents" should be visible 2s 882ms

When I click on element 1s 881ms

And I wait for 3 seconds 3s 45ms

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

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

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

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

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

Given I visit "http://localhost:3000/manual/clinical" 4s 377ms

And "button" element with "aria-label" "Manual contents" should be visible 10s 545ms

When I click on element 1s 725ms

And I wait for 3 seconds 3s 23ms

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

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

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

Given I visit "http://localhost:3000/manual/medicines" 3s 963ms

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

When I click on element 971ms

And I wait for 3 seconds 3s 10ms

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

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

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

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

And "button" element with "aria-label" "Manual contents" should be visible 10s 611ms

When I click on element 2s 197ms

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

And I click on element 1s 30ms

And I wait for 1 seconds 1s 24ms

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

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

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

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

And I enter "aspiriin" 171ms

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

And I click on element 1s 325ms

Then the page heading should be 'No results for "aspiriin"' 7s 845ms

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

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

And I click on element 1s 145ms

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

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

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

And I enter "asprin" 109ms

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

And I click on element 3s 980ms

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

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

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

And I click on element 1s 173ms

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

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

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

And I enter "amoxycillin" 204ms

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

And I click on element 1s 191ms

Then the page heading should be 'No results for "amoxycillin"' 5s 955ms

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

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

And I click on element 1s 122ms

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

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

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

And I enter "diabeets" 167ms

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

And I click on element 1s 115ms

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

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

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

And I click on element 1s 97ms

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

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

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

And I enter "diabtes" 161ms

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

And I click on element 1s 97ms

Then the page heading should be 'No results for "diabtes"' 10s 765ms

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

And I click on element 1s 236ms

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

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

And I wait for 2 seconds 2s 19ms

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

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

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

And I wait for 2 seconds 2s 362ms

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

Given the REWS for "Paediatric 5–12 years" should give these results: 5s 623ms
avpu respiratory_distress respiratory_rate oxygen_saturation oxygen_nasal_prongs pulse capillary_refill temperature expected_total expected_response_key expected_action expected_message expected_text_below_rews_total expected_guidance_link_text expected_values expected_scores
alert severe 25 95 < 2 L/min 110 < 2 sec 37 3 Medium Medical consult Early management of sepsis Paediatric 5–12 years View REWS reference table for Paediatric 5–12 years Alert,Severe,25 / min,95%,< 2 L/min,110 / min,< 2 sec,37 °C 0,3,0,0,0,0,0,0

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

And I wait for 2 seconds 2s 18ms

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

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

When I click on element 2s 152ms

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

And I click on element 1s 231ms

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

And I click on element 1s 165ms

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

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

And I click on element 1s 149ms

Then new tab should be opened 30ms

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

And the page heading should be "Assessing respiratory distress" 1s 424ms

And I close current tab 70ms

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

And the REWS calculator is opened from the content 6s 848ms

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

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

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

And I click on element 1s 151ms

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

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

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

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

And I click on element 1s 135ms

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

When I press the "Escape" key 358ms

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

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

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

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

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

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

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

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

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

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

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

And I click on element 946ms

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

And I click on element 993ms

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

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

And I click on element 956ms

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

And I click on element 1s 6ms

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

And I enter "16" 254ms

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

Given I open the REWS calculator from the content again 6s 583ms

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

When I click on element 1s 171ms

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

And I click on element 1s 125ms

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

And I click on element 1s 473ms

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

And I click on element 1s 378ms

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

And I enter "16" 439ms

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

And I enter "97" 167ms

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

And I enter "80" 141ms

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

And I enter "120" 121ms

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

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

And I enter "37" 137ms

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

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

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

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

When I click on element 1s 142ms

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

And I click on element 1s 305ms

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

And I click on element 1s 282ms

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

And I click on element 1s 243ms

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

And I click on element 1s 214ms

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

And I enter "40" 201ms

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

And I enter "97" 218ms

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

And I click on element 1s 238ms

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

And I enter "130" 245ms

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

And I enter "37" 300ms

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

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

And I click on element 1s 184ms

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

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

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

When I click on element 1s 525ms

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

And I click on element 1s 250ms

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

And I click on element 1s 267ms

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

And I click on element 1s 276ms

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

And I enter "16" 193ms

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

And I enter "97" 254ms

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

And I enter "80" 200ms

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

And I enter "120" 210ms

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

And I enter "37" 166ms

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

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

And I clear the input 93ms

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

When I enter "80" 149ms

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

When I clear the input 113ms

And I enter "abc" 135ms

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

When I clear the input 125ms

And I enter "80" 88ms

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

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

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

Then each of these values should be accepted: 27s 992ms
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: 24s 525ms
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 452ms
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: 11s 711ms
field_id value shown_value
respiratory-rate 007 7
temperature 036.5 36.5

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

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

Then the REWS calculator should give these results: 40s 389ms
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" 6s 195ms

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

Then the REWS calculator should give these results: 28s 448ms
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" 6s 365ms

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

Then the REWS calculator should give these results: 10s 33ms
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: 10s 116ms
table_value avpu respiratory_rate oxygen_saturation pulse systolic_bp temperature expected_total expected_category expected_values expected_scores reference_link
rews-table-adult unresponsive 16 97 80 120 37 3 Medium Unresponsive,16 / min,97%,80 / min,120 mmHg,37 °C 3,0,0,0,0,0 View REWS reference table for 13 years and over

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

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

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

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

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

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

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

When I click on element 1s 247ms

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

And I click on element 1s 107ms

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

And I click on element 1s 29ms

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

And I click on element 985ms

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

And I enter "16" 123ms

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

And I enter "97" 79ms

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

And I enter "80" 71ms

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

And I enter "120" 78ms

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

And I enter "37" 64ms

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

And I click on element 1s 194ms

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

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

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

And I clear the input 86ms

And I enter "135" 105ms

Then 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 138ms

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

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

And I clear the input 91ms

And I enter "38.6" 96ms

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

And I click on element 1s 71ms

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

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

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

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

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

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

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

When I click on element 1s 242ms

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

And I click on element 1s 61ms

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

And I click on element 1s 101ms

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

And I click on element 1s 51ms

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

And I enter "21" 294ms

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

And I click on element 1s 328ms

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

And I enter "110" 106ms

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

And I enter "140" 90ms

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

And I enter "90" 78ms

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

And I enter "37" 69ms

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

And I click on element 1s 474ms

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

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

And I click on element 1s 203ms

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

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

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

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

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

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

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

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

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

And I enter "301" 264ms

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

And I click on element 1s 212ms

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

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

And I click on element 999ms

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

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

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

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

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

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

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

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

And I click on element 1s 34ms

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

And I click on element 1s 252ms

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

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

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

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

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

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

And I click on element 1s 121ms

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

And I click on element 1s 500ms

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

And I click on element 1s 48ms

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

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

And I enter "25" 116ms

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

And I enter "95" 88ms

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

And I click on element 1s 260ms

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

And I enter "110" 191ms

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

And I click on element 1s 340ms

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

And I enter "37" 222ms

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

And I click on element 1s 110ms

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

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

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

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

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

And the REWS calculator is opened from the content 16s 131ms

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

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

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

When I press the "Enter" key 380ms

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

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

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

And I press the "Enter" key 326ms

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

When I press the "Tab" key 325ms

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

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

And I enter "16" 236ms

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

And I enter "97" 358ms

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

And I enter "80" 153ms

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

And I enter "120" 140ms

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

And I enter "37" 187ms

And I press the "Tab" key 325ms

And I press the "Enter" key 353ms

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

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

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

And I wait for 2 seconds 2s 53ms

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

And I click on element 1s 455ms

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

When I click on element 1s 48ms

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

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

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

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

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

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

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

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

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

And I wait for 2 seconds 2s 60ms

And "button" element with "text" "age-appropriate REWS" should be visible 2s 746ms

And I click on element 1s 418ms

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

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

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

When I click on element 1s 74ms

And I wait for 2 seconds 2s 31ms

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

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

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

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

And I wait for 2 seconds 2s 386ms

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

Then the age range list should offer these patient categories: 646ms
category
13 years and over
Obstetric (more than 20 weeks pregnant)
Paediatric 0–3 months
Paediatric 4–11 months
Paediatric 1–4 years
Paediatric 5–12 years

And choosing each of these patient tables should show its fields: 15s 666ms
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 880ms

And I wait for 2 seconds 2s 206ms

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

Then each of these entries should show its error message: 29s 92ms
age_range table_value field_id value message
13 years and over rews-table-adult respiratory-rate abc Enter numbers only (up to 3 digits)
13 years and over rews-table-adult respiratory-rate 201 Value outside of range. Please review.
13 years and over rews-table-adult systolic-blood-pressure 120.5 Enter a whole number.
13 years and over rews-table-adult temperature 36.75 Use no more than 1 decimal places.
Obstetric rews-table-obstetric diastolic-blood-pressure 301 Value outside of range. Please review.
Obstetric rews-table-obstetric pulse #$ Enter numbers only (up to 3 digits)
Paediatric 0–3 months rews-table-0-3mo oxygen-saturation 101 Value outside of range. Please review.
Paediatric 4–11 months rews-table-4-11mo respiratory-rate 16.5 Enter a whole number.
Paediatric 1–4 years rews-table-1-4yr pulse 301 Value outside of range. Please review.
Paediatric 5–12 years rews-table-5-12yr temperature 46 Value outside of range. Please review.

And each of these entries should be accepted without an error message: 11s 747ms
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 312ms

And I wait for 2 seconds 2s 48ms

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

Then the REWS for "13 years and over" should give these results: 31s 810ms
avpu respiratory_rate oxygen_saturation pulse systolic_bp temperature expected_total expected_response_key expected_action expected_values expected_scores
voice 21 95 100 120 37 2 Low Low risk Voice,21 / min,95%,100 / min,120 mmHg,37 °C 1,1,0,0,0,0
voice 31 95 100 120 37 3 Medium Further assessment required Voice,31 / min,95%,100 / min,120 mmHg,37 °C 1,2,0,0,0,0
voice 31 95 100 120 38 4 Medium Further assessment required Voice,31 / min,95%,100 / min,120 mmHg,38 °C 1,2,0,0,0,1
pain 21 95 100 120 38 5 High Urgent action and medical consult required Pain,21 / min,95%,100 / min,120 mmHg,38 °C 3,1,0,0,0,1
voice 31 90 111 90 38.6 10 High Urgent action and medical consult required Voice,31 / min,90%,111 / min,90 mmHg,38.6 °C 1,2,1,2,2,2
pain 8 84 40 120 37 12 High Urgent action and medical consult required Pain,8 / min,84%,40 / min,120 mmHg,37 °C 3,3,3,3,0,0

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

And I wait for 2 seconds 2s 47ms

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

Then the REWS for "Paediatric 5–12 years" should give these results: 23s 589ms
avpu respiratory_distress respiratory_rate oxygen_saturation oxygen_nasal_prongs pulse capillary_refill temperature expected_total expected_response_key expected_action expected_message expected_text_below_rews_total expected_guidance_link_text expected_values expected_scores
alert normal 25 95 < 2 L/min 110 < 2 sec 37 0 Low Low risk Medical consult Paediatric 5–12 years View REWS reference table for Paediatric 5–12 years Alert,Normal,25 / min,95%,< 2 L/min,110 / min,< 2 sec,37 °C 0,0,0,0,0,0,0,0
alert severe 25 95 < 2 L/min 110 < 2 sec 37 3 Medium Medical consult Early management of sepsis Paediatric 5–12 years View REWS reference table for Paediatric 5–12 years Alert,Severe,25 / min,95%,< 2 L/min,110 / min,< 2 sec,37 °C 0,3,0,0,0,0,0,0
alert severe 30 95 < 2 L/min 110 < 2 sec 37 4 Medium Medical consult Early management of sepsis Paediatric 5–12 years View REWS reference table for Paediatric 5–12 years Alert,Severe,30 / min,95%,< 2 L/min,110 / min,< 2 sec,37 °C 0,3,1,0,0,0,0,0
alert mild 35 95 ≥ 2 L/min 140 < 2 sec 37 7 High Urgent action and medical consult required Early management of sepsis Paediatric 5–12 years View REWS reference table for Paediatric 5–12 years Alert,Mild,35 / min,95%,≥ 2 L/min,140 / min,< 2 sec,37 °C 0,1,2,0,2,2,0,0

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

And I wait for 2 seconds 2s 703ms

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

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

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

And I wait for 2 seconds 2s 29ms

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

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

When I click on element 2s 434ms

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

And I click on element 1s 193ms

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

And I click on element 1s 276ms

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

And I click on element 1s 135ms

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

And I enter "21" 202ms

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

And I click on element 1s 732ms

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

And I enter "110" 175ms

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

And I enter "140" 147ms

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

And I enter "90" 183ms

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

And I enter "37" 183ms

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

And I click on element 1s 5ms

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

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

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

And I click on element 1s 66ms

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

And I wait for 2 seconds 2s 68ms

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

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

When I click on element 2s 664ms

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

And I click on element 1s 68ms

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

And I enter "abc" 167ms

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

And I enter "110" 124ms

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

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

And I click on element 971ms

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

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

And I wait for 2 seconds 2s 809ms

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

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

When I click on element 1s 160ms

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

And I click on element 994ms

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

And I enter "21" 89ms

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

And I click on element 1s 8ms

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

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

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

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

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

Given I visit "http://localhost:3000/site/c_clinical_observations_stem#c_clinical_observations_temperature" 2s 925ms

And I wait for 3 seconds 3s 16ms

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

Given "a" element with "text" "Conditions of use and disclaimer" 5s 993ms

Then I scroll to element 45ms

And I click on element 1s 137ms

And I wait for 2 seconds 2s 35ms

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

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

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

Then I scroll to element 164ms

And I click on element 1s 247ms

And I wait for 2 seconds 2s 17ms

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

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

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

Then I scroll to element 22ms

And I click on element 3s 61ms

And I wait for 2 seconds 2s 57ms

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

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

Given "a" element with "text" "Licence agreement" 2s 673ms

Then I scroll to element 21ms

And I click on element 3s 32ms

And I wait for 2 seconds 2s 401ms

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

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

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

Then I scroll to element 71ms

And I click on element 1s 193ms

And I wait for 2 seconds 2s 20ms

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

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

Given "a" element with "text" "Frequently asked questions (FAQs)" 6s 257ms

Then I scroll to element 141ms

And I click on element 1s 175ms

And I wait for 2 seconds 2s 62ms

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

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

Given "h3" element with "text" "CARPA Standard Treatment Manual" should be visible 1s 709ms

When I scroll to element 57ms

And I click on element 1s 270ms

Then "h1" element with "text" "CARPA Standard Treatment Manual" should be visible 7s 72ms

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

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

When I scroll to element 29ms

And I click on element 1s 187ms

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

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

Given "h3" element with "text" "Clinical Procedures Manual" should be visible 2s 785ms

When I scroll to element 61ms

And I click on element 1s 752ms

Then "h1" element with "text" "Clinical Procedures Manual" should be visible 681ms

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

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

When I scroll to element 132ms

And I click on element 1s 255ms

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

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

And I wait for 3 seconds 3s 22ms

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

When I click on element 1s 762ms

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

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

And I wait for 3 seconds 3s 10ms

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

When I click on element 1s 248ms

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

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

And I wait for 3 seconds 3s 25ms

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

When I click on element 1s 413ms

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

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

And I wait for 3 seconds 3s 37ms

And "h2" element with "text" "Do first" should be visible 5s 191ms

When I scroll to element 154ms

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

And I click on element 1s 14ms

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

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

And I wait for 3 seconds 3s 58ms

And "h2" element with "text" "Supporting breastfeeding" should be visible 5s 86ms

When I scroll to element 60ms

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

And I click on element 1s

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

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

And I wait for 3 seconds 3s 83ms

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

When I scroll to element 244ms

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

And I click on element 1s 236ms

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

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

And I wait for 3 seconds 3s 42ms

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

When I scroll to element 59ms

And I click on element 1s 296ms

And I wait for 2 seconds 2s 52ms

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

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

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

And I wait for 3 seconds 3s 26ms

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

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

When I scroll to element 81ms

And I click on element 1s 734ms

Then new tab should be opened 329ms

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

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

And I wait for 3 seconds 3s 23ms

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

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

When I scroll to element 66ms

And I click on element 1s 240ms

Then new tab should be opened 15ms

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

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

And I wait for 3 seconds 3s 26ms

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 7s 301ms

When I scroll to element 67ms

And I click on element 1s 668ms

Then new tab should be opened 185ms

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

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

And I wait for 2 seconds 2s 221ms

Given "section" element with "data-dita-element" "example" should be visible 7s 344ms

When I scroll to element 117ms

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

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

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

And I wait for 2 seconds 2s 95ms

Then "div" element with "role" "note" should be visible 6s 282ms

When I scroll to element 53ms

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

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

And I wait for 2 seconds 2s 20ms

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

When I scroll to element 94ms

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

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

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

And I wait for 2 seconds 2s 8ms

Then "img" element with "aria-hidden" "true" should be visible 6s 60ms

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

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

And I wait for 2 seconds 2s 17ms

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

And I wait for 2 seconds 2s 19ms

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

When I scroll to element 58ms

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

When I get parent element 17ms

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

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

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

And I wait for 3 seconds 3s 39ms

Given "button" element with "text" "Terminology" should be visible 998ms

When I click on element 1s 318ms

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

When I click on element 1s 80ms

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

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

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

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

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

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

And I wait for 3 seconds 3s 230ms

Given "button" element with "aria-label" "Print" should be visible 585ms

When I click on element 4s 143ms

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

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

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

And I wait for 2 seconds 2s 19ms

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

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

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

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

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

And I wait for 2 seconds 2s 18ms

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

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

When I scroll to element 36ms

And I click on element 1s 224ms

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

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

When I click on element 1s 40ms

And I wait for 2 seconds 2s 29ms

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

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

And I wait for 2 seconds 2s 422ms

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

Given "div" element with "role" "combobox" should be visible 1s 496ms

When I scroll to element 89ms

And I click on element 1s 18ms

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

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

When I click on element 974ms

And I wait for 2 seconds 2s 50ms

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

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

And I wait for 2 seconds 2s 13ms

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

Given "div" element with "role" "combobox" should be visible 4s 120ms

When I scroll to element 39ms

And I click on element 1s 150ms

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

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

When I click on element 1s 33ms

And I wait for 2 seconds 2s 88ms

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

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

And I wait for 2 seconds 2s 19ms

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

Given "div" element with "role" "combobox" should be visible 4s 266ms

When I scroll to element 81ms

And I click on element 1s 34ms

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

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

When I click on element 1s 123ms

And I wait for 2 seconds 2s 26ms

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

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

And I wait for 2 seconds 2s 16ms

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

Given "div" element with "role" "combobox" should be visible 4s 21ms

When I scroll to element 51ms

And I click on element 1s 188ms

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

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

When I click on element 1s 120ms

And I wait for 2 seconds 2s 45ms

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

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

And I wait for 2 seconds 2s 517ms

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

Given "div" element with "role" "combobox" should be visible 1s 517ms

When I scroll to element 40ms

And I click on element 1s 170ms

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

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

When I click on element 1s 138ms

And I wait for 2 seconds 2s 25ms

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

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

And I wait for 2 seconds 2s 33ms

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

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

When I scroll to element 26ms

And I click on element 1s 589ms

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

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

When I click on element 1s 220ms

And I wait for 2 seconds 2s 37ms

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

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

And I wait for 3 seconds 3s 474ms

And the "Share" page tool should be visible 2s 450ms

When I click on element 1s 794ms

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

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

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

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

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

And I wait for 3 seconds 3s 130ms

And the "Share" page tool should be visible 2s 857ms

When I click on element 1s 651ms

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

And I click on element 976ms

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

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

And I wait for 3 seconds 3s 12ms

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

When I click on element 1s 36ms

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

And I click on element 2s 107ms

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

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

And the updates page is opened from the home page link 10s 427ms

Then the filter showing "All manuals" should offer these options: 2s 317ms
option
All manuals
CARPA Treatment

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

And the updates page is opened from the home page link 11s 854ms

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

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

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

Then choosing each of these manuals should show only its updates: 2s 780ms
manual badge excluded_badge_1 excluded_badge_2
CARPA Treatment CARPA STM CPM MB

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

And the updates page is opened from the home page link 4s 135ms

Then clearing the filter for each of these manuals should bring back all updates: 6s 56ms
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" 2s 661ms

And I wait for 3 seconds 3s 364ms

Given "button" element with "text" "CSOM" should be visible 5s 942ms

When I click on element 1s 216ms

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

And element with "text" "chronic suppurative otitis media" should be visible 2s 338ms

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

And I wait for 3 seconds 3s 25ms

Given "button" element with "text" "ENT" should be visible 4s 116ms

When I click on element 1s 10ms

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

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

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

And I wait for 3 seconds 3s 29ms

Given "button" element with "text" "AOMwiP" should be visible 3s 811ms

When I click on element 996ms

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

And element with "text" "acute otitis media with perforation" should be visible 1s 15ms

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

And I wait for 3 seconds 3s 606ms

Given "button" element with "text" "CSOM" should be visible 2s 888ms

When I click on element 1s 265ms

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

And I click on element 1s 114ms

And I wait for 1 seconds 1s 24ms

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

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

And I wait for 3 seconds 3s 12ms

Given "button" element with "text" "ENT" should be visible 9s 489ms

When I click on element 1s 626ms

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

And I click on element 1s 25ms

And I wait for 1 seconds 1s 33ms

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

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

And I wait for 3 seconds 3s 451ms

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

When I click on element 1s 692ms

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

And element with "data-dita-element" "title" and "text" "Azithromycin" should be visible 1m 9s 989ms 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" 7s 370ms

And I wait for 3 seconds 3s 12ms

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

When I click on element 1s 300ms

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

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

And I wait for 2 seconds 2s 12ms

And the Resources page has finished loading 5s 679ms

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

When I click on element 969ms

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

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

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

And the standard footer should be shown 154ms

And each landing page category should open its page: 31s 801ms
category tab_id content_tag content
Cultural safety resources-tab-1 h2 Culturally appropriate health care
Working in remote clinics resources-tab-2 h2 Travelling in remote areas
Terminology resources-tab-3 h2 Glossary
External resources resources-tab-4 h2 Anaemia
Training resources-tab-5 p Links to online and face-to-face training and eLearning
Show Info +
Passed only on a second try in the same browser: External resources

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

And I wait for 2 seconds 2s 40ms

And the Resources page has finished loading 1s 470ms

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

When I click on element 1s 485ms

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

And these elements should be shown for "AC2 and AC5 Cultural safety introduction": 2s 352ms
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": 322ms
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": 129ms
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": 17ms
tag attribute value
h3 text Tips

And the On this page menu should list these sections and take me to each: 13s 521ms
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
Show Error +
                                            
TimeoutError: The On this page menu did not open Wait timed out after 10186ms 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/resources" 2s 940ms

And I wait for 2 seconds 2s 63ms

And the Resources page has finished loading 3s 370ms

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

When I click on element 1s 133ms

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

And these elements should be shown for "AC2 Working in remote clinics heading": 4s 342ms
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 98ms
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 204ms

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

And I wait for 2 seconds 2s 10ms

And the Resources page has finished loading 1s 778ms

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

When I click on element 1s 191ms

And I choose the "Abbreviations" category 8s 955ms

Then the listed entries should be in alphabetical order 30ms

And each listed entry should have a definition 11ms

And searching the Abbreviations for each of these should show the term and its description: 17s 722ms
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

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

And I wait for 2 seconds 2s 16ms

And the Resources page has finished loading 3s 306ms

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

When I click on element 1s 343ms

And I choose the "Abbreviations" category 22s 435ms

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

When I enter "GAS" 313ms

And I wait for 2 seconds 2s 13ms

When I scroll to element 26ms

Then "h6" element with "full text" "GAS" should be visible 74ms

And "p" element with "text" "Group A beta haemolytic streptococcus" should be visible 36ms

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

And I wait for 2 seconds 2s 37ms

And the Resources page has finished loading 4s 812ms

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

When I click on element 1s 107ms

And I choose the "Abbreviations" category 4s 676ms

Given "input" element with "aria-label" "Search abbreviations" 32ms

When I enter "KICA" 90ms

And I wait for 2 seconds 2s 13ms

When I scroll to element 21ms

Then "h6" element with "full text" "KICA" should be visible 1m 9s 991ms 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" 4s 433ms

And I wait for 2 seconds 2s 38ms

And the Resources page has finished loading 889ms

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

When I click on element 1s 199ms

And I choose the "Abbreviations" category 8s 135ms

And "h3" element with "full text" "B" should be visible 31ms

Given element with "aria-label" "Jump to B" 36ms

When I click on element 996ms

And "h6" element with "full text" "BCG" should be visible 34ms

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

And I wait for 2 seconds 2s 40ms

And the Resources page has finished loading 890ms

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

When I click on element 1s 202ms

And I choose the "Abbreviations" category 8s 230ms

And "h3" element with "full text" "C" should be visible 33ms

Given element with "aria-label" "Jump to C" 29ms

When I click on element 1s 3ms

And "h6" element with "full text" "C3" should be visible 32ms

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

And I wait for 2 seconds 2s 34ms

And the Resources page has finished loading 1s 72ms

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

When I click on element 1s 334ms

And I choose the "Abbreviations" category 7s 855ms

And "h3" element with "full text" "D" should be visible 39ms

Given element with "aria-label" "Jump to D" 31ms

When I click on element 978ms

And "h6" element with "full text" "DAA" should be visible 36ms

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

And I wait for 2 seconds 2s 27ms

And the Resources page has finished loading 1s 275ms

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

When I click on element 1s 752ms

And I choose the "Abbreviations" category 5s 387ms

And "h3" element with "full text" "E" should be visible 6s 699ms

Given element with "aria-label" "Jump to E" 8s 367ms

When I click on element 4s 133ms

And "h6" element with "full text" "ECEI" should be visible 65ms

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

And I wait for 2 seconds 2s 174ms

And the Resources page has finished loading 2s 4ms

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

When I click on element 1s 115ms

And I choose the "Abbreviations" category 6s 273ms

And "h3" element with "full text" "V" should be visible 1m 10s 20ms 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" 4s 927ms

And I wait for 2 seconds 2s 701ms

And the Resources page has finished loading 2s 6ms

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

When I click on element 1s 423ms

And I choose the "Abbreviations" category 5s 303ms

And "h3" element with "full text" "W" should be visible 1m 10s 6ms 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 522ms

And I wait for 2 seconds 2s 51ms

And the Resources page has finished loading 3s 501ms

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

When I click on element 1s 274ms

And I choose the "Abbreviations" category 6s 641ms

And "h3" element with "full text" "X" should be visible 1m 10s 6ms 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" 8s 180ms

And I wait for 2 seconds 2s 19ms

And the Resources page has finished loading 8s 187ms

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

When I click on element 1s 400ms

And I choose the "Abbreviations" category 20s 291ms

And "h3" element with "full text" "Other" should be visible 13s 99ms

Given element with "aria-label" "Jump to Other" 39ms

When I click on element 1s 212ms

And "h6" element with "full text" "%" should be visible 61ms

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

And I wait for 2 seconds 2s 11ms

And the Resources page has finished loading 3s 325ms

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

When I click on element 1s 188ms

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

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

When I open the category list 585ms

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

When I choose the "Glossary" category 1s 487ms

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

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

And each listed entry should have a definition 38ms

And each A-Z button should take me to its section and show the entry: 9s 78ms
letter term
A Adrenaline
B Bacteria
C Cholesterol
D Diabetes
V Virus

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

Then these elements should be shown for "AC13 Mnemonics": 464ms
tag attribute value
h2 text Mnemonics
h6 text A M P L E
p text (assessing trauma)
* text Allergies
* text Medicines or current illness
* text Past history
* text Last time they ate or drank
* text Event – what happened to cause the injuries
h6 text A V P U
* text Alert
* text Voice
* text Unresponsive
h6 text I S B A R
p text (phone consultation)
* text Identity
* text Situation
* text Background
* text Assessment
* text Request

And choosing each of these categories should show only its entries: 18s 209ms
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 297ms

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

And I wait for 2 seconds 2s 731ms

And the Resources page has finished loading 472ms

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

When I click on element 970ms

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

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

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

And choosing each of these categories should show only its resources: 11s 915ms
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 467ms
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 154ms

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

And I wait for 2 seconds 2s 17ms

And the Resources page has finished loading 5s 870ms

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

When I click on element 1s 114ms

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

And these elements should be shown for "AC2 and AC8 Training introduction": 173ms
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: 424ms
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 177ms

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

And I wait for 3 seconds 3s 14ms

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

When I enter "stomach" 84ms

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

And I click on element 1s 638ms

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

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

And I wait for 3 seconds 3s 12ms

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

When I enter "stomach" 99ms

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

And I click on element 3s 339ms

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

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

And I wait for 3 seconds 3s 289ms

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

When I enter "Stomach" 101ms

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

And I click on element 2s 136ms

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

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

And I wait for 3 seconds 3s 37ms

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

When I enter "acute" 489ms

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

And I click on element 1s 33ms

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

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

And I wait for 3 seconds 3s 32ms

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

When I enter "STOMACH" 124ms

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

And I click on element 2s 482ms

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

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

And I wait for 3 seconds 4s 99ms

And "input" element with "aria-label" "Search manuals" 72ms

When I enter "NSAIDs" 231ms

And "button" element with "text" "Search" 119ms

And I click on element 2s 402ms

And "h1" element containing text "text" "NSAIDs" should be visible 98ms

Given I visit "http://localhost:3000/" 5s 117ms

And I wait for 3 seconds 3s 17ms

And "input" element with "aria-label" "Search manuals" 36ms

When I enter "asthma" 79ms

And "button" element with "text" "Search" 31ms

And I click on element 1s 169ms

And "h1" element containing text "text" "asthma" should be visible 65ms

Given I visit "http://localhost:3000/" 5s 396ms

And I wait for 3 seconds 3s 17ms

And "input" element with "aria-label" "Search manuals" 42ms

When I enter "tummy" 79ms

And "button" element with "text" "Search" 33ms

And I click on element 1s 222ms

And "h1" element containing text "text" "tummy" should be visible 68ms

Given I visit "http://localhost:3000/" 2s 673ms

And I wait for 3 seconds 3s 21ms

And "input" element with "aria-label" "Search manuals" 34ms

When I enter "abdominal" 90ms

And "button" element with "text" "Search" 33ms

And I click on element 1s 266ms

And "h1" element containing text "text" "abdominal" should be visible 115ms

Given I visit "http://localhost:3000/" 5s 725ms

And I wait for 3 seconds 3s 22ms

And "input" element with "aria-label" "Search manuals" 77ms

When I enter "COVID-19" 197ms

And "button" element with "text" "Search" 104ms

And I click on element 1s 128ms

And "h1" element containing text "text" "COVID-19" should be visible 44ms

Given I visit "http://localhost:3000/" 7s 369ms

And I wait for 3 seconds 3s 65ms

And "input" element with "aria-label" "Search manuals" 177ms

And I set browser to offline mode 2ms

When I enter "stomach" 184ms

And "button" element with "text" "Search" 94ms

And I click on element 1s 205ms

And "h1" element containing text "text" "stomach" should be visible 100ms

Given I visit "http://localhost:3000/" 3s 704ms

And I wait for 3 seconds 3s 9ms

And "input" element with "aria-label" "Search manuals" 36ms

And I set browser to offline mode 1ms

When I enter "STOMACH" 96ms

And "button" element with "text" "Search" 71ms

And I click on element 2s 269ms

And "h1" element containing text "text" "STOMACH" should be visible 93ms

Given I visit "http://localhost:3000/" 6s 130ms

And I wait for 3 seconds 3s 93ms

And "input" element with "aria-label" "Search manuals" 177ms

And I set browser to offline mode 1ms

When I enter "asthma" 214ms

And "button" element with "text" "Search" 117ms

And I click on element 1s 152ms

And "h1" element containing text "text" "asthma" should be visible 100ms

Given I visit "http://localhost:3000/" 6s 125ms

And I wait for 3 seconds 3s 466ms

And "input" element with "aria-label" "Search manuals" 137ms

And I set browser to offline mode 2ms

When I enter "tummy" 162ms

And "button" element with "text" "Search" 43ms

And I click on element 998ms

And "h1" element containing text "text" "tummy" should be visible 30ms

Given I visit "http://localhost:3000/" 2s 406ms

And I wait for 3 seconds 3s 406ms

And "input" element with "aria-label" "Search manuals" 129ms

And I set browser to offline mode 2ms

When I enter "abdominal" 235ms

And "button" element with "text" "Search" 70ms

And I click on element 996ms

And "h1" element containing text "text" "abdominal" should be visible 37ms

Given I visit "http://localhost:3000/" 7s 125ms

And I wait for 3 seconds 3s 12ms

Given "input" element with "aria-label" "Search manuals" 46ms

When I enter "vxc" 80ms

And "button" element with "text" "Search" 32ms

And I click on element 1s 155ms

Then the page heading should be 'No results for "vxc"' 81ms

Given I visit "http://localhost:3000/" 7s 71ms

And I wait for 3 seconds 3s 21ms

Given "input" element with "aria-label" "Search manuals" 61ms

When I enter "xuu" 79ms

And "button" element with "text" "Search" 36ms

And I click on element 1s 155ms

Then the page heading should be 'No results for "xuu"' 73ms

Given I visit "http://localhost:3000/" 5s 994ms

And I wait for 3 seconds 3s 23ms

Given "input" element with "aria-label" "Search manuals" 71ms

When I enter "xyz123" 313ms

And "button" element with "text" "Search" 1s 509ms

And I click on element 1s 152ms

Then the page heading should be 'No results for "xyz123"' 581ms

Given I visit "http://localhost:3000/" 5s 587ms

And I wait for 3 seconds 3s 48ms

Given "input" element with "aria-label" "Search manuals" 89ms

When I enter "zxqvwk" 154ms

And "button" element with "text" "Search" 66ms

And I click on element 2s 725ms

Then the page heading should be 'No results for "zxqvwk"' 672ms

Given I visit "http://localhost:3000/" 5s 595ms

And I wait for 3 seconds 3s 38ms

Given "input" element with "aria-label" "Search manuals" 51ms

When I enter "valium" 1s 582ms

And "button" element with "text" "Search" 283ms

And I click on element 1s 266ms

And I wait for 3 seconds 3s 110ms

Then the page heading should be 'Search results for "valium"' 115ms

When I visit "http://localhost:3000/" 1s 255ms

And "input" element with "aria-label" "Search manuals" 41ms

And I enter "diazepam" 79ms

And "button" element with "text" "Search" 38ms

And I click on element 969ms

And I wait for 3 seconds 3s 34ms

Then the page heading should be 'Search results for "diazepam"' 61ms

Given I visit "http://localhost:3000/" 3s 793ms

And I wait for 3 seconds 3s 14ms

Given "input" element with "aria-label" "Search manuals" 34ms

When I enter "celecoxib" 199ms

And "button" element with "text" "Search" 32ms

And I click on element 1s 471ms

And I wait for 3 seconds 3s 59ms

Then the page heading should be 'Search results for "celecoxib"' 240ms

When I visit "http://localhost:3000/" 1s 221ms

And "input" element with "aria-label" "Search manuals" 35ms

And I enter "celebrex" 74ms

And "button" element with "text" "Search" 36ms

And I click on element 1s 936ms

And I wait for 3 seconds 3s 20ms

Then the page heading should be 'Search results for "celebrex"' 36ms

Given I visit "http://localhost:3000/" 7s 853ms

And I wait for 3 seconds 3s 47ms

Given "input" element with "aria-label" "Search manuals" 57ms

When I enter "antenatal" 215ms

And "button" element with "text" "Search" 89ms

And I click on element 1s 319ms

And I wait for 3 seconds 3s 14ms

Then the page heading should be 'Search results for "antenatal"' 38ms

When I visit "http://localhost:3000/" 3s 193ms

And "input" element with "aria-label" "Search manuals" 43ms

And I enter "pregnancy" 146ms

And "button" element with "text" "Search" 76ms

And I click on element 1s 159ms

And I wait for 3 seconds 3s 141ms

Then the page heading should be 'Search results for "pregnancy"' 62ms

Given I visit "http://localhost:3000/" 3s 449ms

And I wait for 3 seconds 3s 111ms

Given "input" element with "aria-label" "Search manuals" 80ms

When I enter "ibuprofen" 189ms

And "button" element with "text" "Search" 92ms

And I click on element 1s 152ms

And I wait for 3 seconds 3s 18ms

Then the page heading should be 'Search results for "ibuprofen"' 42ms

When I visit "http://localhost:3000/" 4s 51ms

And "input" element with "aria-label" "Search manuals" 882ms

And I enter "nurofen" 622ms

And "button" element with "text" "Search" 49ms

And I click on element 1s 128ms

And I wait for 3 seconds 3s 16ms

Then the page heading should be 'Search results for "nurofen"' 44ms

Given I visit "http://localhost:3000/" 3s 545ms

And I wait for 3 seconds 3s 26ms

Given "input" element with "aria-label" "Search manuals" 77ms

When I enter "burn" 146ms

Then option "burns" should be in search results dropdown list 7s 594ms

Given "p" element with "full text" "burns" 53ms

When I click on element 1s 98ms

Then "h1" element with "text" "Burns" should be visible 515ms

Given I visit "http://localhost:3000/" 10s 635ms

And I wait for 3 seconds 3s 21ms

Given "input" element with "aria-label" "Search manuals" 39ms

When I enter "antenatal" 99ms

Then option "antenatal care" should be in search results dropdown list 2s 691ms

Given "p" element with "full text" "antenatal care" 189ms

When I click on element 1s 677ms

Then "h1" element with "text" "Antenatal care" should be visible 160ms

Given I visit "http://localhost:3000/" 4s 473ms

And I wait for 3 seconds 3s 20ms

Given "input" element with "aria-label" "Search manuals" 54ms

When I enter "bu" 91ms

Then option "burns" should be in search results dropdown list 1s 112ms

Given "p" element with "full text" "burns" 81ms

When I click on element 1s 323ms

Then "h1" element with "text" "Burns" should be visible 113ms