All Scenarios

140

Passed Scenarios

131

Failed Scenarios

9

Execution Time: 120m 47s 996ms Device Type: Mobile

Expand All | Collapse All

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

And I wait for 3 seconds 3s 415ms

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

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

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

When I click on element 2s 117ms

And I wait for 2 seconds 2s 35ms

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

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

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

And I wait for 3 seconds 3s 42ms

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

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

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

When I click on element 1s 367ms

And I wait for 2 seconds 2s 309ms

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

And "h2" element with "text" "Project team" should be visible 2s 650ms

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

And I wait for 3 seconds 3s 92ms

Then the page heading should be "Community" 8s 28ms

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

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

When I click on element 1s 489ms

And I wait for 2 seconds 2s 65ms

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

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

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

When I wait for 3 seconds 3s 438ms

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

When I click on element 1s 905ms

When I wait for 4 seconds 4s 98ms

Given element with "text" "Manuals" 27s 100ms

When I click on element 1s 452ms

When I wait for 3 seconds 3s 540ms

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

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

When I wait for 3 seconds 3s 280ms

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

When I click on element 1s 921ms

When I wait for 4 seconds 4s 487ms

Given element with "text" "Manuals" 26s 515ms

When I click on element 1s 385ms

When I wait for 3 seconds 3s 28ms

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

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

When I wait for 3 seconds 3s 500ms

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

When I click on element 2s 114ms

When I wait for 4 seconds 4s 152ms

Given element with "text" "Manuals" 866ms

When I click on element 1s 134ms

When I wait for 3 seconds 3s 35ms

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

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

When I wait for 3 seconds 3s 504ms

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

When I click on element 1s 412ms

When I wait for 4 seconds 4s 238ms

Given element with "text" "Manuals" 249ms

When I click on element 1s 600ms

When I wait for 3 seconds 3s 15ms

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

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

When I wait for 3 seconds 3s 190ms

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

When I click on element 1s 186ms

When I wait for 4 seconds 7s 665ms

Given element with "text" "Tools" 153ms

When I click on element 1s 930ms

When I wait for 3 seconds 3s 234ms

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

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

When I wait for 3 seconds 3s 15ms

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

When I click on element 1s 117ms

When I wait for 4 seconds 5s 954ms

Given element with "text" "Tools" 243ms

When I click on element 2s 62ms

When I wait for 3 seconds 3s 471ms

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

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

When I wait for 3 seconds 3s 45ms

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

When I click on element 1s 936ms

When I wait for 4 seconds 4s 252ms

Given element with "text" "Tools" 492ms

When I click on element 1s 100ms

When I wait for 3 seconds 3s 106ms

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

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

When I wait for 3 seconds 3s 147ms

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

When I click on element 1s 909ms

When I wait for 4 seconds 4s 24ms

Given element with "text" "Tools" 150ms

When I click on element 1s 702ms

When I wait for 3 seconds 3s 62ms

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

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

And I wait for 2 seconds 2s 83ms

Then "h1" element with "text" "Browse A-Z" should be visible 8s 366ms

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

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

And I wait for 2 seconds 8s 332ms

Then "h1" element with "text" "Browse A-Z" should be visible 22s 813ms

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

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

And I wait for 2 seconds 8s 276ms

Then "h1" element with "text" "Browse A-Z" should be visible 24s 377ms

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

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

And I wait for 2 seconds 8s 369ms

Then "h1" element with "text" "Browse A-Z" should be visible 25s 673ms

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

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

And I wait for 2 seconds 2s 434ms

Then "h1" element with "text" "Browse A-Z" should be visible 31s 591ms

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

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

And I wait for 2 seconds 2s 765ms

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

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

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

And I wait for 2 seconds 2s 129ms

Then "h1" element with "text" "Browse A-Z" should be visible 22s 738ms

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

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

And I wait for 2 seconds 2s 105ms

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

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

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

And I wait for 2 seconds 2s 33ms

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

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

And I wait for 2 seconds 2s 210ms

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

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

And I wait for 2 seconds 2s 307ms

And "p" element containing text "text" "Cardiovascular (heart)" should be visible 8s 825ms

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

And I wait for 2 seconds 2s 284ms

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

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

And I wait for 2 seconds 2s 45ms

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

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

And I wait for 2 seconds 2s 46ms

And "p" element containing text "text" "Infections" should be visible 8s 40ms

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

And I wait for 2 seconds 10s 19ms

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

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

And I wait for 2 seconds 7s 10ms

And "p" element containing text "text" "Neurological" should be visible 10s 542ms

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

And I wait for 2 seconds 7s 385ms

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

When I click on element 1s 317ms

And I wait for 4 seconds 4s 501ms

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

When I click on element 1s 445ms

And I wait for 2 seconds 2s 265ms

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

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

And I wait for 2 seconds 7s 302ms

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

When I click on element 1s 318ms

And I wait for 4 seconds 4s 480ms

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

When I click on element 1s 501ms

And I wait for 2 seconds 2s 265ms

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

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

And I wait for 2 seconds 6s 430ms

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

When I click on element 1s 111ms

And I wait for 4 seconds 4s 19ms

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

When I click on element 1s 452ms

And I wait for 2 seconds 2s 77ms

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

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

And I wait for 2 seconds 12s 655ms

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

When I click on element 1s 729ms

And I wait for 4 seconds 4s 37ms

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

When I click on element 1s 420ms

And I wait for 2 seconds 2s 157ms

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

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

And I wait for 2 seconds 12s 654ms

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

When I click on element 1s 829ms

And I wait for 4 seconds 4s 36ms

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

When I click on element 1s 602ms

And I wait for 2 seconds 2s 695ms

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

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

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

And I enter "aspiriin" 242ms

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

And I click on element 1s 457ms

Then the page heading should be 'No results for "aspiriin"' 9s 680ms

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

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

And I click on element 1s 604ms

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

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

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

And I enter "asprin" 2s 568ms

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

And I click on element 1s 210ms

Then the page heading should be 'No results for "asprin"' 373ms

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

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

And I click on element 1s 818ms

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

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

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

And I enter "amoxycillin" 277ms

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

And I click on element 3s 115ms

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

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

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

And I click on element 2s 222ms

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

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

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

And I enter "diabeets" 169ms

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

And I click on element 2s 176ms

Then the page heading should be 'No results for "diabeets"' 4s 741ms

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

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

And I click on element 1s 395ms

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

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

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

And I enter "diabtes" 170ms

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

And I click on element 1s 914ms

Then the page heading should be 'No results for "diabtes"' 1s 67ms

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

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

And I click on element 1s 408ms

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

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

And the REWS calculator is opened from the content 20s 841ms

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

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

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

And I click on element 1s 499ms

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

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

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

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

And I click on element 1s 380ms

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

When I press the "Escape" key 447ms

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

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

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

And the REWS calculator is opened from the content 20s 782ms

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

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

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

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

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

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

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

And I click on element 1s 605ms

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

And I click on element 1s 733ms

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

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

And I click on element 1s 224ms

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

And I click on element 1s 393ms

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

And I enter "16" 472ms

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

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

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

When I click on element 3s 300ms

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

And I click on element 56s 477ms

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

And I click on element 9s 895ms

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

And I click on element 4s 885ms

And "input" element with "id" "respiratory-rate" should be visible 1s 8ms

And I enter "16" 1s 277ms

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

And I enter "97" 678ms

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

And I enter "80" 1s 335ms

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

And I enter "120" 845ms

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

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

And I enter "37" 1s 102ms

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

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

Given I open the REWS calculator from the content again 35s 50ms

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

When I click on element 2s 263ms

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

And I click on element 3s 691ms

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

And I click on element 10s 662ms

And "li" element with "data-value" "alert" should be visible 20s 773ms

And I click on element 14s 129ms

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

And I click on element 12s 34ms

And "input" element with "id" "respiratory-rate" should be visible 1s 80ms

And I enter "40" 663ms

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

And I enter "97" 1s 272ms

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

And I click on element 15s 326ms

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

And I enter "130" 601ms

And "input" element with "id" "temperature" should be visible 1s 4ms

And I enter "37" 18s 175ms

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

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

And I click on element 1s 516ms

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

Given I open the REWS calculator from the content again 1m 14s 765ms

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

When I click on element 2s 930ms

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

And I click on element 4s 480ms

And "div" element with "id" "level-of-consciousness" should be visible 1s 16ms

And I click on element 3s 273ms

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

And I click on element 3s 127ms

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

And I enter "16" 513ms

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

And I enter "97" 857ms

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

And I enter "80" 627ms

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

And I enter "120" 518ms

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

And I enter "37" 963ms

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

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

And I clear the input 341ms

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

When I enter "80" 433ms

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

When I clear the input 279ms

And I enter "abc" 801ms

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

When I clear the input 710ms

And I enter "80" 339ms

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

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

And the REWS calculator is opened from the content 34s 232ms

Then each of these values should be accepted: 3m 7s 348ms
age_range table_value field_id value
13 years and over rews-table-adult respiratory-rate 200
13 years and over rews-table-adult temperature 45.9
Obstetric rews-table-obstetric diastolic-blood-pressure 0
Paediatric 0–3 months rews-table-0-3mo oxygen-saturation 100
Show Info +
Passed only on a second try in the same browser: 13 years and over respiratory-rate "200"

And each of these values should be rejected as outside the permitted range: 2m 26s 506ms
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: 4m 22s 491ms
age_range table_value field_id value message
13 years and over rews-table-adult respiratory-rate abc Enter numbers only (up to 3 digits)
13 years and over rews-table-adult systolic-blood-pressure 120.5 Enter a whole number.
13 years and over rews-table-adult temperature 36.75 Use no more than 1 decimal places.
Paediatric 5–12 years rews-table-5-12yr oxygen-saturation 12a Enter numbers only (up to 3 digits)
Show Info +
Passed only on a second try in the same browser: 13 years and over temperature "36.75"

And leading zeros should be accepted and left out of what is shown: 43s 191ms
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" 5s 486ms

And the REWS calculator is opened from the content 20s 753ms

Then the REWS calculator should give these results: 6m 20s 77ms
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
Show Info +
Passed only on a second try in the same browser: row 3: Paediatric 1–4 years total 5 gives High, row 4: Paediatric 5–12 years total 2 gives Low

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

And the REWS calculator is opened from the content 23s 493ms

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

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

And the REWS calculator is opened from the content 36s 403ms

Then the REWS calculator should give these results: 3m 2s 284ms
table_value avpu respiratory_rate oxygen_saturation pulse systolic_bp temperature expected_total expected_category expected_values expected_scores
rews-table-adult alert 031 097 080 120 037 2 Low Alert,31 / min,97%,80 / min,120 mmHg,37 °C 0,2,0,0,0,0
Show Info +
Passed only on a second try in the same browser: row 1: rews-table-adult total 2 gives Low

And the REWS calculator should give these results: 27s 177ms
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" 14s 370ms

And the REWS calculator is opened from the content 21s 601ms

Then the REWS total should follow the band edges of these observations: 2m 27s 465ms
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: 2m 28s 808ms
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
Show Error +
                                            
Error: 1 of 1 rows failed - rews-table-0-3mo pulse: The pulse field was not displayed and enabled within 20 seconds at checkEachRow (D:\a\1\s\features\step_definitions\table-step-helpers.js:192:11) at async World.(anonymous) (D:\a\1\s\features\step_definitions\rews-content-steps.js:310:3)

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

And the REWS calculator is opened from the content 23s 85ms

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

When I click on element 2s 267ms

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

And I click on element 2s 146ms

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

And I click on element 1s 889ms

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

And I click on element 1s 593ms

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

And I enter "16" 302ms

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

And I enter "97" 218ms

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

And I enter "80" 699ms

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

And I enter "120" 416ms

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

And I enter "37" 626ms

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

And I click on element 13s 427ms

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

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

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

And I clear the input 236ms

And I enter "135" 678ms

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

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

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

When "input" element with "id" "temperature" should be visible 1s 79ms

And I clear the input 907ms

And I enter "38.6" 861ms

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

And I click on element 2s 479ms

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

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

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

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

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

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

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

When I click on element 1s 451ms

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

And I click on element 1s 247ms

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

And I click on element 1s 326ms

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

And I click on element 1s 278ms

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

And I enter "21" 831ms

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

And I click on element 2s 501ms

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

And I enter "110" 457ms

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

And I enter "140" 697ms

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

And I enter "90" 462ms

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

And I enter "37" 435ms

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

And I click on element 1s 681ms

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

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

And I click on element 2s 657ms

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

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

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

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

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

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

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

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

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

And I enter "301" 375ms

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

And I click on element 2s 705ms

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

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

And I click on element 2s 267ms

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

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

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

And the REWS calculator is opened from the content 35s 944ms

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

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

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

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

And I click on element 1s 742ms

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

And I click on element 2s 29ms

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

And "label" element with "for" "respiratory-rate" should be visible 1s 46ms

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

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

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

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

And I click on element 2s 249ms

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

And I click on element 1s 634ms

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

And I click on element 1s 570ms

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

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

And I enter "25" 395ms

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

And I enter "95" 423ms

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

And I click on element 1s 514ms

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

And I enter "110" 512ms

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

And I click on element 1s 377ms

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

And I enter "37" 223ms

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

And I click on element 1s 348ms

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

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

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

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

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

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

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

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

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

When I press the "Enter" key 388ms

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

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

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

And I press the "Enter" key 432ms

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

When I press the "Tab" key 417ms

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

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

And I enter "16" 254ms

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

And I enter "97" 1s 136ms

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

And I enter "80" 473ms

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

And I enter "120" 673ms

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

And I enter "37" 1s 355ms

And I press the "Tab" key 386ms

And I press the "Enter" key 415ms

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

And keyboard focus should be inside element with "data-testid" "rews-summary" 1s 5ms

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

And I wait for 2 seconds 2s 366ms

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

And I click on element 2s 693ms

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

When I click on element 1s 179ms

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

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

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

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

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

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

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

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

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

And I wait for 2 seconds 2s 49ms

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

And I click on element 1s 454ms

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

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

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

When I click on element 52s 540ms

And I wait for 2 seconds 2s 246ms

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

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

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

Given I visit "http://localhost:3000/site/calculator" 59s 611ms

And I wait for 2 seconds 2s 169ms

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

Then the age range list should offer these patient categories: 2s 615ms
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: 36s 548ms
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" 11s 902ms

And I wait for 2 seconds 2s 172ms

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

Then each of these entries should show its error message: 1m 5s 859ms
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: 45s 741ms
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" 5s 148ms

And I wait for 2 seconds 2s 210ms

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

Then the REWS for "13 years and over" should give these results: 1m 58s 511ms
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" 8s 606ms

And I wait for 2 seconds 2s 365ms

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

Then the REWS for "Paediatric 5–12 years" should give these results: 1m 43s 811ms
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" 8s 386ms

And I wait for 2 seconds 2s 371ms

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

Then the REWS for "Obstetric" should give these results: 1m 20s 492ms
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" 37s 51ms

And I wait for 2 seconds 2s 67ms

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

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

When I click on element 2s 268ms

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

And I click on element 3s 149ms

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

And I click on element 3s 718ms

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

And I click on element 1s 500ms

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

And I enter "21" 331ms

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

And I click on element 3s 61ms

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

And I enter "110" 1s 382ms

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

And I enter "140" 1s 234ms

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

And I enter "90" 972ms

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

And I enter "37" 970ms

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

And I click on element 3s 734ms

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

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

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

And I click on element 3s 391ms

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

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

And I wait for 2 seconds 2s 166ms

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

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

When I click on element 2s 385ms

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

And I click on element 1s 423ms

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

And I enter "abc" 239ms

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

And I enter "110" 267ms

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

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

And I click on element 1s 838ms

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

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

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

And I wait for 2 seconds 2s 818ms

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

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

When I click on element 1s 262ms

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

And I click on element 2s 386ms

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

And I enter "21" 198ms

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

And I click on element 1s 240ms

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

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

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

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

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

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

Given "a" element with "text" "Conditions of use and disclaimer" 8s 35ms

Then I scroll to element 150ms

And I click on element 1s 738ms

And I wait for 2 seconds 2s 69ms

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

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

Given "a" element with "text" "Privacy policy" 6s 389ms

Then I scroll to element 72ms

And I click on element 1s 329ms

And I wait for 2 seconds 2s 36ms

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

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

Given "a" element with "text" "Copyright permission" 6s 530ms

Then I scroll to element 114ms

And I click on element 1s 310ms

And I wait for 2 seconds 2s 77ms

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

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

Given "a" element with "text" "Licence agreement" 16s 344ms

Then I scroll to element 102ms

And I click on element 2s 945ms

And I wait for 2 seconds 2s 89ms

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

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

Given "a" element with "text" "Support" 15s 740ms

Then I scroll to element 97ms

And I click on element 2s 21ms

And I wait for 2 seconds 2s 14ms

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

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

Given "a" element with "text" "Frequently asked questions (FAQs)" 2s 271ms

Then I scroll to element 945ms

And I click on element 1s 489ms

And I wait for 2 seconds 2s 295ms

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

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

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

When I scroll to element 259ms

And I click on element 2s 3ms

Then "h1" element with "text" "CARPA Standard Treatment Manual" should be visible 6s 249ms

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

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

When I scroll to element 41ms

And I click on element 2s 837ms

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

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

Given "h3" element with "text" "Clinical Procedures Manual" should be visible 1s 671ms

When I scroll to element 46ms

And I click on element 2s 515ms

Then "h1" element with "text" "Clinical Procedures Manual" should be visible 9s 814ms

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

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

When I scroll to element 65ms

And I click on element 3s 238ms

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

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

And I wait for 3 seconds 3s 43ms

And "button" element with "aria-label" "Cite" should be visible 6s 394ms

When I click on element 2s 176ms

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

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

And I wait for 3 seconds 3s 592ms

And "button" element with "aria-label" "Cite" should be visible 4s 756ms

When I click on element 1s 311ms

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

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

And I wait for 3 seconds 3s 42ms

And "button" element with "aria-label" "Cite" should be visible 16s 179ms

When I click on element 2s 345ms

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

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

And I wait for 3 seconds 3s 23ms

And "h2" element with "text" "Do first" should be visible 17s 720ms

When I scroll to element 91ms

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

And I click on element 1s 420ms

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

Given I visit "http://localhost:3000/manual/minymaku/page/breastfeeding" 5s 361ms

And I wait for 3 seconds 3s 255ms

And "h2" element with "text" "Supporting breastfeeding" should be visible 18s 635ms

When I scroll to element 59ms

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

And I click on element 1s 283ms

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

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

And I wait for 3 seconds 3s 630ms

And "h2" element with "text" "Check" should be visible 18s 172ms

When I scroll to element 109ms

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

And I click on element 1s 244ms

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

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

And I wait for 3 seconds 3s 204ms

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

When I scroll to element 170ms

And I click on element 1s 98ms

And I wait for 2 seconds 2s 253ms

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

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

And "caption" element containing text "text" "Antibiotics for soft tissue injuries by wound type" 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" 5s 86ms

And I wait for 3 seconds 3s 467ms

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

And "a" element containing text "text" "Children’s Health Queensland Paediatric Antibiocard: Empirical Antibiotic Guidelines" should be visible 1m 10s 2ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\s\node_modules\@cucumber\cucumber\lib\user_code_runner.js:63:28) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)

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

And I wait for 3 seconds 3s 505ms

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

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

When I scroll to element 143ms

And I click on element 2s 978ms

Then new tab should be opened 31ms

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

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

And I wait for 3 seconds 3s 531ms

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

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

When I scroll to element 79ms

And I click on element 2s 456ms

Then new tab should be opened 18ms

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

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

And I wait for 2 seconds 2s 28ms

Given "section" element with "data-dita-element" "example" should be visible 24s 113ms

When I scroll to element 99ms

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

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

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

And I wait for 2 seconds 2s 95ms

Then "div" element with "role" "note" should be visible 23s 781ms

When I scroll to element 73ms

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

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

And I wait for 2 seconds 2s 324ms

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

When I scroll to element 129ms

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

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

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

And I wait for 2 seconds 2s 283ms

Then "img" element with "aria-hidden" "true" should be visible 21s 985ms

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

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

And I wait for 2 seconds 2s 275ms

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" 1s 668ms

And I wait for 2 seconds 13s 131ms

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

When I scroll to element 329ms

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

When I get parent element 17ms

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

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

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

And I wait for 3 seconds 12s 781ms

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

When I click on element 1s 331ms

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

When I click on element 2s 201ms

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

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

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

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

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

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

And I wait for 3 seconds 3s 205ms

Given "button" element with "aria-label" "Print" should be visible 3s 981ms

When I click on element 1s 832ms

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

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

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

And I wait for 2 seconds 2s 91ms

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

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

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

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

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

And I wait for 2 seconds 2s 169ms

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

Given "div" element with "role" "combobox" should be visible 17s 976ms

When I scroll to element 81ms

And I click on element 6s 591ms

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

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

When I click on element 1s 738ms

And I wait for 2 seconds 2s 29ms

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

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

And I wait for 2 seconds 2s 31ms

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

Given "div" element with "role" "combobox" should be visible 24s 524ms

When I scroll to element 44ms

And I click on element 1s 105ms

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

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

When I click on element 1s 146ms

And I wait for 2 seconds 2s 60ms

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

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

And I wait for 2 seconds 2s 664ms

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

Given "div" element with "role" "combobox" should be visible 15s 316ms

When I scroll to element 42ms

And I click on element 6s 492ms

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

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

When I click on element 1s 787ms

And I wait for 2 seconds 2s 27ms

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

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

And I wait for 2 seconds 2s 34ms

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

Given "div" element with "role" "combobox" should be visible 14s 610ms

When I scroll to element 508ms

And I click on element 2s 234ms

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

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

When I click on element 1s 497ms

And I wait for 2 seconds 2s 14ms

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

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

And I wait for 2 seconds 2s 197ms

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

Given "div" element with "role" "combobox" should be visible 11s 116ms

When I scroll to element 455ms

And I click on element 1s 743ms

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

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

When I click on element 2s 863ms

And I wait for 2 seconds 2s 114ms

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

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

And I wait for 2 seconds 2s 224ms

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

Given "div" element with "role" "combobox" should be visible 11s 910ms

When I scroll to element 65ms

And I click on element 1s 797ms

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

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

When I click on element 2s 523ms

And I wait for 2 seconds 2s 21ms

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" 6s 420ms

And I wait for 2 seconds 2s 35ms

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

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

When I scroll to element 184ms

And I click on element 1s 594ms

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

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

When I click on element 2s 122ms

And I wait for 2 seconds 2s 158ms

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

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

And I wait for 3 seconds 3s 123ms

And the "Share" page tool should be visible 14s 941ms

When I click on element 3s 126ms

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

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

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

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

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

And I wait for 3 seconds 3s 46ms

And the "Share" page tool should be visible 19s 781ms

When I click on element 1s 703ms

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

And I click on element 1s 584ms

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

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

And I wait for 3 seconds 3s 33ms

And the "Share" page tool should be visible 26s 437ms

When I click on element 1s 360ms

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

And I click on element 2s 566ms

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

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

And the updates page is opened from the home page link 31s 346ms

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

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

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

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

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

And the updates page is opened from the home page link 33s 714ms

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

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

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

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

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

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

And I wait for 3 seconds 3s 62ms

Given "button" element with "text" "CSOM" should be visible 18s 352ms

When I click on element 2s 163ms

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

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

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

And I wait for 3 seconds 3s 31ms

Given "button" element with "text" "ENT" should be visible 15s 483ms

When I click on element 1s 649ms

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

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

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

And I wait for 3 seconds 3s 33ms

Given "button" element with "text" "AOMwiP" should be visible 16s 265ms

When I click on element 1s 709ms

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

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

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

And I wait for 3 seconds 7s 244ms

Given "button" element with "text" "CSOM" should be visible 21s 58ms

When I click on element 1s 517ms

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

And I click on element 1s 315ms

And I wait for 1 seconds 1s 37ms

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

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

And I wait for 3 seconds 7s 195ms

Given "button" element with "text" "ENT" should be visible 17s 799ms

When I click on element 1s 476ms

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

And I click on element 2s 27ms

And I wait for 1 seconds 1s 201ms

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

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

And I wait for 3 seconds 3s 95ms

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

When I click on element 2s 747ms

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

And element with "data-dita-element" "title" and "text" "Azithromycin" should be visible 109ms

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

And I wait for 3 seconds 3s 77ms

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

When I click on element 2s 666ms

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

And element with "data-dita-element" "title" and "text" "Amoxicillin" should be visible 308ms

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

And I wait for 2 seconds 2s 779ms

And the Resources page has finished loading 13s 274ms

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

When I click on element 3s 139ms

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

And these elements should be shown for "AC2 and AC4 Overview page": 729ms
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": 389ms
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 324ms

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

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

And I wait for 2 seconds 2s 51ms

And the Resources page has finished loading 18s 624ms

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

When I click on element 1s 406ms

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

And these elements should be shown for "AC2 and AC5 Cultural safety introduction": 1s 824ms
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": 1s 20ms
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": 134ms
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": 63ms
tag attribute value
h3 text Tips

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

And the standard footer should be shown 897ms

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

And I wait for 2 seconds 13s 560ms

And the Resources page has finished loading 6s 821ms

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

When I click on element 1s 556ms

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

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

And the On this page menu should list these sections and take me to each: 18s 26ms
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 2s 699ms

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

And I wait for 2 seconds 2s 16ms

And the Resources page has finished loading 5s 37ms

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

When I click on element 1s 291ms

And I choose the "Abbreviations" category 31s 409ms

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

And the listed entries should be in alphabetical order 109ms

And each listed entry should have a definition 166ms

And each A-Z button should take me to its section and show the entry: 2m 5s 667ms
letter term
A ABC
B BCG
C C3
D DAA
E ECEI
F FaFT
G GAS
H HAM/TSP
I ICS
J JVP
K kg
L LA
M MAC
N N/A
O Oâ‚‚
P PBS
Q qid
R rAOM
S S1
T T10
U U/A
V VBG
W WA
X XL
Other %
Show Error +
                                            
Error: 3 of 25 rows failed - Q (qid): The entry "qid" was not displayed after scrolling towards it for 25 seconds (page then: 223 entries shown, 0 loading) | R (rAOM): The entry "rAOM" was not displayed after scrolling towards it for 25 seconds (page then: 223 entries shown, 0 loading) | S (S1): The entry "S1" was not displayed after scrolling towards it for 25 seconds (page then: 223 entries shown, 0 loading). Stopped early: 6 more rows were not tried, because rows failing one after another points at the page, not the rows at checkEachRow (D:\a\1\s\features\step_definitions\resources-steps.js:269:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async World.(anonymous) (D:\a\1\s\features\step_definitions\resources-steps.js:343:3)

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

And I wait for 2 seconds 2s 449ms

And the Resources page has finished loading 9s 879ms

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

When I click on element 1s 905ms

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

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

When I open the category list 527ms

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

When I choose the "Glossary" category 6s 790ms

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

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

And each listed entry should have a definition 86ms

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

When I choose the "Mnemonics" category 6s 668ms

Then these elements should be shown for "AC13 Mnemonics": 3s 14ms
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: 39s 124ms
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 498ms

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

And I wait for 2 seconds 9s 928ms

And the Resources page has finished loading 8s 921ms

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

When I click on element 1s 592ms

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

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

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

And choosing each of these categories should show only its resources: 18s 442ms
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: 24s 827ms
category resource description url source domain
Anaemia Good Food for Strong Blood poster NTDOH Iron rich foods patient education resource https://digitallibrary.health.nt.gov.au/prodjspui/handle/10137/8086 NT Health Digital Library digitallibrary.health.nt.gov.au
Child and youth health Baby feeding cues poster Poster showing signs baby is hungry https://www.health.tas.gov.au/publications/baby-feeding-cues-poster Tasmanian Department of Health www.health.tas.gov.au
Sexual health Australia STI management guidelines https://sti.guidelines.org.au/ Australian STI Management Guidelines sti.guidelines.org.au
Tropical health HOT north website Health information for Northern Australia https://www.hotnorth.org.au/ HOT NORTH www.hotnorth.org.au
Tropical health Tropical Health Orientation Manual (THOM) The THOM provides best practice advice for the diagnosis, identification and treatment https://www.menzies.edu.au/page/Resources/Tropical_Health_Orientation_Manual_THOM_2025/ Menzies School of Health Research www.menzies.edu.au

And the standard footer should be shown 2s 237ms

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

And I wait for 2 seconds 2s 42ms

And the Resources page has finished loading 2s 192ms

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

When I click on element 1s 350ms

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

And these elements should be shown for "AC2 and AC8 Training introduction": 3s 126ms
tag attribute value
h2 text Training
p text Links to online and face-to-face training and eLearning programs from our partner organisations
* text Retrieval medicine courses for doctors
* text RFDS Central Operations | Airstrip Inspection Procedure | Night Landing Procedure

And these resources should show their title, description, source and link: 1s 769ms
resource url source domain
ACRRM – The Australian College of Rural and Remote Medicine https://www.acrrm.org.au/courses The Australian College of Rural and Remote Medicine acrrm.org.au
ARHEN – Australian Rural Health Education Network https://arhen.org.au/ Australian Rural Health Education Network arhen.org.au
Airstrip safety video https://www.youtube.com/watch?v=fAaA4VcKSEY RFDS Central Operations youtube.com
Austroads – assessing fitness to drive https://austroads.gov.au/drivers-and-vehicles/assessing-fitness-to-drive Austroads austroads.gov.au

And the standard footer should be shown 1s 178ms

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

And I wait for 3 seconds 6s 459ms

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

When I enter "stomach" 2s 370ms

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

And I click on element 2s 38ms

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

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

And I wait for 3 seconds 3s 427ms

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

When I enter "stomach" 527ms

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

And I click on element 1s 665ms

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

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

And I wait for 3 seconds 3s 125ms

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

When I enter "Stomach" 256ms

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

And I click on element 2s 59ms

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

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

And I wait for 3 seconds 3s 136ms

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

When I enter "acute" 289ms

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

And I click on element 1s 840ms

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

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

And I wait for 3 seconds 3s 884ms

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

When I enter "STOMACH" 347ms

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

And I click on element 1s 384ms

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

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

And I wait for 3 seconds 3s 327ms

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

When I enter "NSAIDs" 186ms

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

And I click on element 1s 902ms

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

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

And I wait for 3 seconds 3s 138ms

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

When I enter "asthma" 364ms

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

And I click on element 2s 225ms

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

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

And I wait for 3 seconds 3s 76ms

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

When I enter "tummy" 230ms

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

And I click on element 1s 491ms

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

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

And I wait for 3 seconds 3s 73ms

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

When I enter "abdominal" 338ms

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

And I click on element 2s 871ms

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

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

And I wait for 3 seconds 3s 304ms

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

When I enter "COVID-19" 872ms

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

And I click on element 2s 83ms

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

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

And I wait for 3 seconds 3s 222ms

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

And I set browser to offline mode 8ms

When I enter "stomach" 413ms

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

And I click on element 1s 683ms

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

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

And I wait for 3 seconds 3s 360ms

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

And I set browser to offline mode 3ms

When I enter "STOMACH" 568ms

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

And I click on element 1s 597ms

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

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

And I wait for 3 seconds 3s 118ms

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

And I set browser to offline mode 3ms

When I enter "asthma" 462ms

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

And I click on element 1s 473ms

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

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

And I wait for 3 seconds 3s 37ms

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

And I set browser to offline mode 5ms

When I enter "tummy" 363ms

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

And I click on element 1s 365ms

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

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

And I wait for 3 seconds 3s 357ms

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

And I set browser to offline mode < 1ms

When I enter "abdominal" 262ms

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

And I click on element 3s 500ms

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

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

And I wait for 3 seconds 3s 36ms

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

When I enter "vxc" 335ms

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

And I click on element 3s 167ms

Then the page heading should be 'No results for "vxc"' 10s 178ms

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

And I wait for 3 seconds 3s 107ms

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

When I enter "xuu" 472ms

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

And I click on element 1s 888ms

Then the page heading should be 'No results for "xuu"' 23s 313ms

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

And I wait for 3 seconds 3s 663ms

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

When I enter "xyz123" 405ms

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

And I click on element 1s 697ms

Then the page heading should be 'No results for "xyz123"' 20s 713ms

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

And I wait for 3 seconds 3s 395ms

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

When I enter "zxqvwk" 383ms

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

And I click on element 1s 967ms

Then the page heading should be 'No results for "zxqvwk"' 21s 721ms

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

And I wait for 3 seconds 3s 382ms

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

When I enter "valium" 232ms

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

And I click on element 1s 917ms

And I wait for 3 seconds 3s 16ms

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

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

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

And I enter "diazepam" 474ms

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

And I click on element 1s 202ms

And I wait for 3 seconds 10s 924ms

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

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

And I wait for 3 seconds 10s 739ms

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

When I enter "celecoxib" 669ms

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

And I click on element 1s 207ms

And I wait for 3 seconds 3s 39ms

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

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

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

And I enter "celebrex" 899ms

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

And I click on element 4s 593ms

And I wait for 3 seconds 3s 47ms

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

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

And I wait for 3 seconds 3s 235ms

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

When I enter "antenatal" 915ms

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

And I click on element 2s 821ms

And I wait for 3 seconds 7s 868ms

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

When I visit "http://localhost:3000/" 3s 442ms

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

And I enter "pregnancy" 303ms

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

And I click on element 2s 44ms

And I wait for 3 seconds 3s 276ms

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

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

And I wait for 3 seconds 3s 920ms

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

When I enter "ibuprofen" 1s 492ms

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

And I click on element 2s 748ms

And I wait for 3 seconds 7s 700ms

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

When I visit "http://localhost:3000/" 2s 99ms

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

And I enter "nurofen" 461ms

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

And I click on element 1s 586ms

And I wait for 3 seconds 3s 111ms

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

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

And I wait for 3 seconds 3s 122ms

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

When I enter "burn" 442ms

Then option "burns" should be in search results dropdown list 19s 579ms

Given "p" element with "full text" "burns" 119ms

When I click on element 1s 883ms

Then "h1" element with "text" "Burns" should be visible 3s 806ms

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

And I wait for 3 seconds 3s 89ms

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

When I enter "antenatal" 330ms

Then option "antenatal care" should be in search results dropdown list 19s 735ms

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

When I click on element 1s 878ms

Then "h1" element with "text" "Antenatal care" should be visible 2s 331ms

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

And I wait for 3 seconds 3s 193ms

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

When I enter "bu" 1s 120ms

Then option "burns" should be in search results dropdown list 2s 196ms

Given "p" element with "full text" "burns" 194ms

When I click on element 1s 873ms

Then "h1" element with "text" "Burns" should be visible 179ms