All Scenarios

151

Passed Scenarios

107

Failed Scenarios

43

Undefined Scenarios

1

Execution Time: 178m 49s 763ms Device Type: Mobile

Expand All | Collapse All

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

And I wait for 3 seconds 3s 67ms

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

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

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

When I click on element 2s 421ms

And I wait for 2 seconds 2s 75ms

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

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

After 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/community" 8s 751ms

And I wait for 3 seconds 4s 506ms

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

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

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

When I click on element 2s 467ms

And I wait for 2 seconds 2s 68ms

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

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

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

And I wait for 3 seconds 4s 94ms

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

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

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

When I click on element 2s 89ms

And I wait for 2 seconds 2s 65ms

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

And "h2" element with "text" "Editorial committee" should be visible 2s 484ms

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

When I wait for 3 seconds 3s 652ms

Given "button" element with "aria-label" "Open menu" 1s 517ms

When I click on element 1s 585ms

When I wait for 4 seconds 4s 96ms

Given element with "text" "Manuals" 1m 17s 57ms 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/" 7s 74ms

When I wait for 3 seconds 3s 880ms

Given "button" element with "aria-label" "Open menu" 1s 246ms

When I click on element 1s 457ms

When I wait for 4 seconds 4s 107ms

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

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

When I wait for 3 seconds 3s 798ms

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

When I click on element 1s 637ms

When I wait for 4 seconds 4s 81ms

Given element with "text" "Manuals" 1m 16s 939ms 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/" 7s 323ms

When I wait for 3 seconds 3s 226ms

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

When I click on element 1s 685ms

When I wait for 4 seconds 8s 369ms

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

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

When I wait for 3 seconds 3s 52ms

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

When I click on element 2s 165ms

When I wait for 4 seconds 9s 311ms

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

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

When I wait for 3 seconds 3s 20ms

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

When I click on element 2s 891ms

When I wait for 4 seconds 10s 63ms

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

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

When I wait for 3 seconds 3s 353ms

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

When I click on element 2s 223ms

When I wait for 4 seconds 39s 560ms

Given element with "text" "Tools" 3s 940ms

When I click on element 1s 228ms

When I wait for 3 seconds 27s 871ms

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

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

When I wait for 3 seconds 3s 278ms

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

When I click on element 1s 448ms

When I wait for 4 seconds 4s 504ms

Given element with "text" "Tools" 1m 13s 699ms 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" 15s 900ms

And I wait for 2 seconds 2s 760ms

Then "h1" element with "text" "Browse A-Z" should be visible 1m 20s 949ms 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" 7s 203ms

And I wait for 2 seconds 2s 37ms

Then "h1" element with "text" "Browse A-Z" should be visible 10s 631ms

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

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

And I wait for 2 seconds 2s 396ms

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

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

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

And I wait for 2 seconds 2s 406ms

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

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

And I wait for 2 seconds 2s 48ms

Then "h1" element with "text" "Browse A-Z" 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/medicines/page/browse-a-z" 5s 247ms

And I wait for 2 seconds 2s 53ms

Then "h1" element with "text" "Browse A-Z" 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/medicines/page/browse-a-z" 8s 822ms

And I wait for 2 seconds 2s 67ms

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

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

And I wait for 2 seconds 2s 296ms

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

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

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

And I wait for 2 seconds 2s 103ms

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

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

And I wait for 2 seconds 2s 44ms

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

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

And I wait for 2 seconds 2s 54ms

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

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

And I wait for 2 seconds 2s 69ms

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

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

And I wait for 2 seconds 2s 23ms

And "p" element containing text "text" "Endocrine (diabetes, thyroid, calcium regulation)" should be visible 1m 10s 6ms 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" 7s 916ms

And I wait for 2 seconds 2s 39ms

And "p" element containing text "text" "Infections" should be visible 1m 6s 833ms

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

And I wait for 2 seconds 2s 227ms

And "p" element containing text "text" "Musculoskeletal" should be visible 19s 153ms

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

And I wait for 2 seconds 2s 395ms

And "p" element containing text "text" "Neurological" should be visible 24s 723ms

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

And I wait for 2 seconds 2s 367ms

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

When I click on element 9s 8ms

And I wait for 4 seconds 4s 29ms

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

When I click on element 2s 1ms

And I wait for 2 seconds 2s 197ms

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

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

And I wait for 2 seconds 6s 812ms

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

When I click on element 1s 433ms

And I wait for 4 seconds 4s 105ms

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

When I click on element 2s 288ms

And I wait for 2 seconds 2s 236ms

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

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

And I wait for 2 seconds 2s 718ms

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

When I click on element 1s 513ms

And I wait for 4 seconds 4s 69ms

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

When I click on element 2s 365ms

And I wait for 2 seconds 2s 243ms

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

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

And I wait for 2 seconds 2s 293ms

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

When I click on element 1s 385ms

And I wait for 4 seconds 4s 465ms

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

When I click on element 2s 319ms

And I wait for 2 seconds 2s 38ms

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

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

And I wait for 2 seconds 2s 33ms

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

When I click on element 2s 94ms

And I wait for 4 seconds 4s 285ms

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

When I click on element 2s 152ms

And I wait for 2 seconds 2s 128ms

And element with "text" "Pyrantel" should be visible 1s 264ms

After 1m 26s 363ms 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/" 10s 539ms

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

And I enter "aspiriin" 416ms

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

And I click on element 1s 332ms

When I wait for 4 seconds 16s 540ms

Then "h1" element containing text "text" "aspirin" should be visible 1m 43s 321ms 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/" 3s 825ms

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

And I enter "asprin" 665ms

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

And I click on element 3s 430ms

When I wait for 4 seconds 4s 605ms

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

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

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

And I enter "amoxycillin" 1s 271ms

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

And I click on element 2s 477ms

When I wait for 4 seconds 4s 184ms

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

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

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

And I enter "diabeets" 882ms

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

And I click on element 2s 172ms

When I wait for 4 seconds 1m 1s 694ms

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

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

And the REWS calculator is opened from the content 19s 634ms

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

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

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

And I click on element 1s 345ms

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

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

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

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

And I click on element 1s 454ms

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

When I press the "Escape" key 476ms

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

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

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

And the REWS calculator is opened from the content 18s 263ms

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

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

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

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

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

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

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

And I click on element 1s 468ms

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

And I click on element 1s 167ms

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

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

And I click on element 1s 688ms

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

And I click on element 1s 840ms

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

And I enter "16" 187ms

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

Given I open the REWS calculator from the content again 7s 231ms

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

When I click on element 1s 424ms

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

And I click on element 1s 651ms

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

And I click on element 3s 265ms

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

And I click on element 3s 182ms

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

And I enter "16" 31s 758ms

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

And I enter "97" 880ms

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

And I enter "80" 2s 438ms

And "input" element with "id" "systolic-blood-pressure" should be visible 1s 174ms

And I enter "120" 2s 577ms

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

When "input" element with "id" "temperature" should be visible 8s 795ms

And I enter "37" 1s 286ms

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

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

Given I open the REWS calculator from the content again 46s 226ms

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

When I click on element 7s 625ms

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

And I click on element 1s 490ms

And "div" element with "id" "level-of-consciousness" should be visible 7s 258ms

And I click on element 1s 387ms

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

And I click on element 1s 549ms

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

And I click on element 1s 991ms

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

And I enter "40" 349ms

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

And I enter "97" 369ms

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

And I click on element 1s 499ms

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

And I enter "130" 641ms

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

And I enter "37" 345ms

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

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

And I click on element 1s 945ms

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

Given I open the REWS calculator from the content again 8s 934ms

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

When I click on element 2s 532ms

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

And I click on element 38s 534ms

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

And I click on element 1s 667ms

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

And I click on element 1s 784ms

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

And I enter "16" 1s 672ms

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

And I enter "97" 1s 48ms

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

And I enter "80" 489ms

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

And I enter "120" 1s 130ms

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

And I enter "37" 579ms

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

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

And I clear the input 321ms

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

When I enter "80" 469ms

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

When I clear the input 562ms

And I enter "abc" 323ms

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

When I clear the input 883ms

And I enter "80" 1s 466ms

Then the "Calculate REWS" button should be enabled 1s 61ms

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

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

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

And each of these values should be rejected as outside the permitted range: 4m 37s 485ms
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
Show Info +
Passed only on a second try in the same browser: 13 years and over temperature "46"

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

And leading zeros should be accepted and left out of what is shown: 56s 606ms
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" 9s 997ms

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

Then the REWS calculator should give these results: 7m 35s 648ms
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 2: Paediatric 4–11 months total 3 gives Medium

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

And the REWS calculator is opened from the content 29s 850ms

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

Given I visit "http://localhost:3000/manual/minymaku/page/preeclampsia#c_wbm_preeclampsia_topic-1_stem" 1m 14s 326ms Show Error +
                                            
TimeoutError: timeout: Timed out receiving message from renderer: 10.947 (Session info: chrome=139.0.7258.68) at Object.throwDecodedError (D:\a\1\s\node_modules\selenium-webdriver\lib\error.js:522:15) at parseHttpResponse (D:\a\1\s\node_modules\selenium-webdriver\lib\http.js:549:13) at Executor.execute (D:\a\1\s\node_modules\selenium-webdriver\lib\http.js:475:28) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Driver.execute (D:\a\1\s\node_modules\selenium-webdriver\lib\webdriver.js:735:17) at async runDiagnosticCommand (D:\a\1\s\features\support\browser-utils.js:147:20) at async World.getUrlWithCookie (D:\a\1\s\features\support\browser-utils.js:400:18) at async runDiagnosticCommand (D:\a\1\s\features\support\browser-utils.js:147:20) at async World.(anonymous) (D:\a\1\s\features\step_definitions\navigation-steps.js:409:5)

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

And the REWS calculator is opened from the content 18s 147ms

Then the REWS total should follow the band edges of these observations: 4m 45s 574ms
table_value avpu respiratory_rate oxygen_saturation pulse systolic_bp temperature field_id values totals
rews-table-adult alert 16 97 80 120 37 respiratory-rate 8,9,20,21 3,0,0,1
rews-table-adult alert 16 97 80 120 37 oxygen-saturation 92,93 1,0
rews-table-adult alert 16 97 80 120 37 temperature 37.9,38,38.5,38.6 0,1,1,2
Show Error +
                                            
Error: 1 of 3 rows failed - rews-table-adult temperature: The "Preeclampsia" heading was not displayed within 45 seconds at checkEachRow (D:\a\1\s\features\step_definitions\table-step-helpers.js:186: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" 4s 442ms

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

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

When I click on element 1s 542ms

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

And I click on element 3s 33ms

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

And I click on element 2s 836ms

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

And I click on element 1s 546ms

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

And I enter "16" 481ms

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

And I enter "97" 263ms

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

And I enter "80" 443ms

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

And I enter "120" 290ms

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

And I enter "37" 747ms

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

And I click on element 9s 934ms

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

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

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

And I clear the input 409ms

And I enter "135" 1s 3ms

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

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

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

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

And I clear the input 516ms

And I enter "38.6" 1s 201ms

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

And I click on element 3s 462ms

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

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

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

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

After 1m 27s 801ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\s\node_modules\@cucumber\cucumber\lib\user_code_runner.js:63:28) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)

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

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

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

When I click on element 2s 24ms

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

And I click on element 2s 142ms

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

And I click on element 1s 880ms

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

And I click on element 1s 775ms

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

And I enter "21" 519ms

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

And I click on element 2s 15ms

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

And I enter "110" 345ms

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

And I enter "140" 768ms

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

And I enter "90" 806ms

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

And I enter "37" 528ms

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

And I click on element 2s 529ms

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

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

And I click on element 1s 972ms

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

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

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

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

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

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

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

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

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

And I enter "301" 1s 453ms

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

And I click on element 2s 119ms

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

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

And I click on element 9s 689ms

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

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

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

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

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

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

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

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

And I click on element 7s 289ms

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

And I click on element 1s 279ms

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

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

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

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

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

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

And I click on element 1s 212ms

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

And I click on element 1s 167ms

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

And I click on element 2s 555ms

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

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

And I enter "25" 786ms

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

And I enter "95" 454ms

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

And I click on element 4s 165ms

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

And I enter "110" 1s 277ms

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

And I click on element 5s 580ms

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

And I enter "37" 437ms

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

And I click on element 2s 207ms

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

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

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

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

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

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

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

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

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

When I press the "Enter" key 399ms

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

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

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

And I press the "Enter" key 337ms

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

When I press the "Tab" key 345ms

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

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

And I enter "16" 887ms

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

And I enter "97" 26s 207ms

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

And I enter "80" 7s 906ms

And "input" element with "id" "systolic-blood-pressure" should be visible 1s 458ms

And I enter "120" 1s 743ms

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

And I enter "37" 900ms

And I press the "Tab" key 414ms

And I press the "Enter" key 490ms

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

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

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

And I wait for 2 seconds 2s 117ms

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

And I click on element 1s 616ms

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

When I click on element 28s 781ms

Then element with "role" "listbox" should be visible 6s 604ms

And element with "role" "option" and "text" "13 years and over" should be visible 2s 304ms

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

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

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

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

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

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

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

And I wait for 2 seconds 2s 763ms

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

And I click on element 1s 401ms

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

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

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

When I click on element 2s 217ms

And I wait for 2 seconds 2s 132ms

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

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

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

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

And I wait for 2 seconds 2s 173ms

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

Then the age range list should offer these patient categories: 1s 833ms
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: 25s 416ms
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" 3s 411ms

And I wait for 2 seconds 2s 784ms

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

Then each of these entries should show its error message: 1m 348ms
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: 1m 35s 686ms
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" 4s 607ms

And I wait for 2 seconds 2s 97ms

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

Then the REWS for "13 years and over" should give these results: 2m 55s 581ms
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 935ms

And I wait for 2 seconds 2s 132ms

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

Then the REWS for "Paediatric 5–12 years" should give these results: 2m 30s 520ms
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" 6s 993ms

And I wait for 2 seconds 2s 185ms

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

Then the REWS for "Obstetric" should give these results: 1m 57s 805ms
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" 1m 14s 834ms Show Error +
                                            
TimeoutError: timeout: Timed out receiving message from renderer: -12.471 (Session info: chrome=139.0.7258.68) at Object.throwDecodedError (D:\a\1\s\node_modules\selenium-webdriver\lib\error.js:522:15) at parseHttpResponse (D:\a\1\s\node_modules\selenium-webdriver\lib\http.js:549:13) at Executor.execute (D:\a\1\s\node_modules\selenium-webdriver\lib\http.js:475:28) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Driver.execute (D:\a\1\s\node_modules\selenium-webdriver\lib\webdriver.js:735:17) at async runDiagnosticCommand (D:\a\1\s\features\support\browser-utils.js:147:20) at async World.getUrlWithCookie (D:\a\1\s\features\support\browser-utils.js:400:18) at async runDiagnosticCommand (D:\a\1\s\features\support\browser-utils.js:147:20) at async World.(anonymous) (D:\a\1\s\features\step_definitions\navigation-steps.js:409:5)

Given I visit "http://localhost:3000/site/calculator" 8s 35ms

And I wait for 2 seconds 2s 68ms

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

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

When I click on element 3s 93ms

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

And I click on element 3s 146ms

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

And I enter "abc" 1s 73ms

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

And I enter "110" 504ms

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

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

And I click on element 3s 146ms

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

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

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

And I wait for 2 seconds 2s 262ms

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

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

When I click on element 3s 64ms

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

And I click on element 2s 269ms

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

And I enter "21" 333ms

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

And I click on element 2s 162ms

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

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

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

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

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

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

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

Then I scroll to element 206ms

And I click on element 2s 278ms

And I wait for 2 seconds 2s 204ms

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

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

Given "a" element with "text" "Privacy policy" 2s 70ms

Then I scroll to element 6s 300ms

And I click on element 3s 919ms

And I wait for 2 seconds 2s 32ms

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

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

Given "a" element with "text" "Copyright permission" 8s 184ms

Then I scroll to element 343ms

And I click on element 1s 396ms

And I wait for 2 seconds 2s 49ms

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

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

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

Then I scroll to element 137ms

And I click on element 2s 103ms

And I wait for 2 seconds 2s 21ms

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

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

Given "a" element with "text" "Support" 9s 291ms

Then I scroll to element 98ms

And I click on element 1s 990ms

And I wait for 2 seconds 2s 152ms

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

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

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

Then I scroll to element 65ms

And I click on element 8s 659ms

And I wait for 2 seconds 2s 67ms

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

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

Given "h3" element with "text" "CARPA Standard Treatment Manual" should be visible 2s 779ms

When I scroll to element 390ms

And I click on element 1s 498ms

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

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

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

When I scroll to element 97ms

And I click on element 2s 161ms

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

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

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

When I scroll to element 171ms

And I click on element 2s 730ms

Then "h1" element with "text" "Clinical Procedures Manual" should be visible 4s 508ms

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

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

When I scroll to element 1s 793ms

And I click on element 2s 524ms

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

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

And I wait for 3 seconds 3s 813ms

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

When I click on element 1s 394ms

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

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

And I wait for 3 seconds 3s 28ms

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

When I click on element 1s 393ms

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

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

And I wait for 3 seconds 3s 68ms

And "button" element with "aria-label" "Cite" should be visible 10s 875ms

When I click on element 1s 816ms

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

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

And I wait for 3 seconds 3s 191ms

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

When I scroll to element 175ms

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

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

And I wait for 3 seconds 3s 115ms

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

When I scroll to element 196ms

And "button" element with "aria-label" "Cite Supporting breastfeeding" should be visible 1m 45s 200ms 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" 6s 374ms

And I wait for 3 seconds 3s 119ms

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

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

And I wait for 3 seconds 1m 10s Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\s\node_modules\@cucumber\cucumber\lib\user_code_runner.js:63:28) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)

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

And I wait for 3 seconds 1m 10s 5ms 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" 6s 884ms

And I wait for 3 seconds 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" 6s 31ms

And I wait for 3 seconds 3s 363ms

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

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

When I scroll to element 210ms

And I click on element 1s 914ms

Then new tab should be opened 29ms

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

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

And I wait for 2 seconds 3s 340ms

Given "section" element with "data-dita-element" "example" should be visible 59s 201ms

When I scroll to element 81ms

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

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

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

And I wait for 2 seconds 2s 631ms

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

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

And I wait for 2 seconds 2s 528ms

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

When I scroll to element 116ms

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

Then(/^"([^"]*)" element with "([^"]*)" "([^"]*)" after the element should be visible$/, function(arg1, arg2, arg3, callback) { // Write code here that turns the phrase above into concrete actions callback(null, 'pending'); });

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

And I wait for 2 seconds 2s 48ms

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

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

And I wait for 2 seconds 2s 92ms

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

And I wait for 2 seconds 17s 80ms

Then "div" element with "text" "is recommended where there is no specific protocol for a condition" should be visible 1m 10s 21ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 70000 milliseconds at Timeout._onTimeout (D:\a\1\s\node_modules\@cucumber\cucumber\lib\user_code_runner.js:63:28) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7)

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

And I wait for 3 seconds 3s 72ms

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

When I click on element 2s 214ms

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

When I click on element 1s 173ms

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

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

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

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

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

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

And I wait for 3 seconds 3s 61ms

Given "button" element with "aria-label" "Print" should be visible 12s 857ms

When I click on element 2s 704ms

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

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

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

And I wait for 2 seconds 2s 196ms

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

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

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

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

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

And I wait for 2 seconds 6s 626ms

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

Given "div" element with "role" "combobox" should be visible 12s 413ms

When I scroll to element 70ms

And I click on element 32s 544ms

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

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

When I click on element 7s 626ms

And I wait for 2 seconds 2s 68ms

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

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

And I wait for 2 seconds 5s 462ms

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

Given "div" element with "role" "combobox" should be visible 12s 399ms

When I scroll to element 73ms

And I click on element 32s 528ms

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

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

When I click on element 7s 646ms

And I wait for 2 seconds 2s 84ms

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

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

And I wait for 2 seconds 2s 125ms

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

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

When I scroll to element 116ms

And I click on element 2s 569ms

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

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

When I click on element 2s 518ms

And I wait for 2 seconds 2s 263ms

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

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

And I wait for 2 seconds 2s 117ms

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

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

When I scroll to element 253ms

And I click on element 7s 33ms

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

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

When I click on element 2s 344ms

And I wait for 2 seconds 2s 79ms

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

Given I visit "http://localhost:3000/resources/rews" 11s 522ms

And I wait for 2 seconds 2s 440ms

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

Given "div" element with "role" "combobox" should be visible 18s 350ms

When I scroll to element 301ms

And I click on element 1s 356ms

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

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

When I click on element 2s 105ms

And I wait for 2 seconds 2s 27ms

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

Given I visit "http://localhost:3000/resources/rews" 11s 930ms

And I wait for 2 seconds 2s 112ms

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

Given "div" element with "role" "combobox" should be visible 23s 865ms

When I scroll to element 65ms

And I click on element 1s 557ms

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

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

When I click on element 1s 398ms

And I wait for 2 seconds 2s 87ms

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

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

And I wait for 2 seconds 2s 97ms

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

Given "div" element with "role" "combobox" should be visible 25s 222ms

When I scroll to element 61ms

And I click on element 1s 651ms

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

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

When I click on element 1s 486ms

And I wait for 2 seconds 2s 86ms

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

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

And I wait for 3 seconds 3s 326ms

And "button" element with "aria-label" "Share" should be visible 18s 916ms

When I click on element 1s 282ms

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

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

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

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

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

And I wait for 3 seconds 7s 481ms

And "button" element with "aria-label" "Share" should be visible 13s 971ms

When I click on element 1s 924ms

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

And I click on element 1s 347ms

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

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

And I wait for 3 seconds 7s 391ms

And "button" element with "aria-label" "Share" should be visible 34s 736ms

When I click on element 1s 190ms

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

And I click on element 1s 885ms

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

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

And "a" element with "href" "/updates" 26s 923ms

When I scroll to element 309ms

And I click on element 3s 779ms

Then the page heading should be "What’s changed" 203ms

Given element with "role" "combobox" and "text" "All manuals" should be visible 1s 897ms

When I click on element 3s 191ms

Then element with "role" "listbox" should be visible 1s 393ms

And element with "role" "option" and "text" "All manuals" should be visible 514ms

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

And "a" element with "href" "/updates" 27s 389ms

When I scroll to element 49ms

And I click on element 5s 839ms

Then the page heading should be "What’s changed" 703ms

Given element with "role" "combobox" and "text" "All manuals" should be visible 99ms

When I click on element 3s 292ms

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

And element with "role" "option" and "text" "CARPA Treatment" should be visible 364ms

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

And "a" element with "href" "/updates" 30s 958ms

When I scroll to element 736ms

And I click on element 3s 536ms

Then the page heading should be "What’s changed" 811ms

Given element with "role" "combobox" and "text" "All manuals" should be visible 805ms

When I click on element 1s 811ms

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

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

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

And "a" element with "href" "/updates" 10s 4ms

When I scroll to element 85ms

And I click on element 1s 981ms

Then the page heading should be "What’s changed" 709ms

Given element with "role" "combobox" and "text" "All manuals" should be visible 1s 923ms

When I click on element 2s 698ms

Then element with "role" "listbox" should be visible 1s 886ms

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

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

And "a" element with "href" "/updates" 1s 992ms

When I scroll to element 227ms

And I click on element 14s 134ms

Then the page heading should be "What’s changed" 513ms

Given element with "role" "combobox" and "text" "All time" should be visible 1s 459ms

When I click on element 2s 155ms

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

And element with "role" "option" and "text" "All time" should be visible 163ms

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

And "a" element with "href" "/updates" 12s 806ms

When I scroll to element 104ms

And I click on element 3s 779ms

Then the page heading should be "What’s changed" 154ms

Given element with "role" "combobox" and "text" "All time" should be visible 705ms

When I click on element 2s 323ms

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

And element with "role" "option" and "text" "Last 30 days" should be visible 263ms

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

And "a" element with "href" "/updates" 11s 277ms

When I scroll to element 56ms

And I click on element 16s 197ms

Then the page heading should be "What’s changed" 8s 401ms

Given element with "role" "combobox" and "text" "All time" should be visible 84ms

When I click on element 1s 297ms

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

And element with "role" "option" and "text" "Last 3 months" should be visible 237ms

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

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

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

And "a" element with "href" "/updates" 25s 486ms

When I scroll to element 64ms

And I click on element 2s 968ms

Then the page heading should be "What’s changed" 293ms

Given element with "role" "combobox" and "text" "All time" should be visible 7s 816ms

When I click on element 3s 599ms

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

And element with "role" "option" and "text" "Last 12 months" should be visible 599ms

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

And "a" element with "href" "/updates" 1s 525ms

When I scroll to element 55ms

And I click on element 2s 986ms

Then the page heading should be "What’s changed" 9s 682ms

Given element with "role" "combobox" and "text" "All time" should be visible 1s 533ms

When I click on element 1s 530ms

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

And element with "role" "option" and "text" "Custom range" should be visible 145ms

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

And "a" element with "href" "/updates" 18s 649ms

When I scroll to element 46ms

And I click on element 6s 985ms

Then the page heading should be "What’s changed" 228ms

Given element with "role" "combobox" and "text" "All manuals" should be visible 391ms

When I click on element 1s 498ms

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

And element with "role" "option" and "text" "CARPA Treatment" should be visible 1s 615ms

When I click on element 1s 420ms

And I wait for 2 seconds 2s 179ms

Then element with "role" "combobox" and "text" "CARPA Treatment" should be visible 532ms

And "span" element with "text" "CARPA STM" should be visible 385ms

And "span" element with "text" "CPM" should not be visible 30ms

And "span" element with "text" "MB" should not be visible 34ms

And "span" element with "text" "WBM" should not be visible 19ms

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

And "a" element with "href" "/updates" 18s 210ms

When I scroll to element 99ms

And I click on element 2s 617ms

Then the page heading should be "What’s changed" 156ms

Given element with "role" "combobox" and "text" "All manuals" should be visible 1s 36ms

When I click on element 2s 805ms

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

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

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

And "a" element with "href" "/updates" 11s 798ms

When I scroll to element 64ms

And I click on element 16s 354ms

Then the page heading should be "What’s changed" 1s 678ms

Given element with "role" "combobox" and "text" "All manuals" should be visible 1s 274ms

When I click on element 12s 697ms

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

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

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

And "a" element with "href" "/updates" 12s 352ms

When I scroll to element 39ms

And I click on element 30s 489ms

Then the page heading should be "What’s changed" 1s 546ms

Given element with "role" "combobox" and "text" "All manuals" should be visible 887ms

When I click on element 2s 526ms

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

And element with "role" "option" and "text" "CARPA Treatment" should be visible 271ms

When I click on element 50s 909ms

And I wait for 2 seconds 7s 37ms

Then element with "role" "combobox" and "text" "CARPA Treatment" should be visible 92ms

And "button" element with "text" "Clear filters" should be visible 65ms

When I click on element 1s 344ms

And I wait for 2 seconds 2s 64ms

Then element with "role" "combobox" and "text" "All manuals" should be visible 225ms

And "span" element with "text" "CARPA STM" should be visible 200ms

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

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

And "a" element with "href" "/updates" 1m 21s 352ms 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/" 12s 732ms

And "a" element with "href" "/updates" 1m 17s 528ms 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)

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" 12s 709ms

And I wait for 3 seconds 3s 16ms

Given "button" element with "text" "CSOM" should be visible 28s 815ms

When I click on element 1s 529ms

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

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

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

And I wait for 3 seconds 8s 946ms

Given "button" element with "text" "ENT" should be visible 23s 256ms

When I click on element 1s 964ms

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

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

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

And I wait for 3 seconds 8s 185ms

Given "button" element with "text" "AOMwiP" should be visible 22s 539ms

When I click on element 1s 477ms

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

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" 17s

And I wait for 3 seconds 3s 179ms

Given "button" element with "text" "CSOM" should be visible 16s 820ms

When I click on element 1s 635ms

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

And I click on element 1s 317ms

And I wait for 1 seconds 1s 56ms

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

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

And I wait for 3 seconds 3s 75ms

Given "button" element with "text" "ENT" should be visible 11s 378ms

When I click on element 1s 361ms

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

And I click on element 1s 99ms

And I wait for 1 seconds 1s 200ms

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

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

And I wait for 3 seconds 3s 46ms

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

When I click on element 2s 809ms

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

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

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

And I wait for 3 seconds 3s 312ms

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

When I click on element 2s 610ms

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

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

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

And I wait for 2 seconds 2s 857ms

And the Resources page has finished loading 2s 57ms

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

When I click on element 2s 765ms

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

And these elements should be shown for "AC2 and AC4 Overview page": 248ms
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": 297ms
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 331ms

And each landing page category should open its page: 18s 203ms
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" 15s 569ms

And I wait for 2 seconds 2s 21ms

And the Resources page has finished loading 3s 165ms

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

When I click on element 1s 292ms

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

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

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

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

And I wait for 2 seconds 2s 788ms

And the Resources page has finished loading 473ms

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

When I click on element 1s 402ms

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

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

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

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

And I wait for 2 seconds 2s 780ms

And the Resources page has finished loading 1s 694ms

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

When I click on element 1s 244ms

And I choose the "Abbreviations" category 22s 625ms

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

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

And I wait for 2 seconds 2s 26ms

And the Resources page has finished loading 2s 290ms

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

When I click on element 2s 647ms

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

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

When I open the category list 310ms

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

When I choose the "Glossary" category 9s 743ms

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

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

And each listed entry should have a definition 24ms

And each A-Z button should take me to its section and show the entry: 50s 747ms
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 20s 200ms

Then these elements should be shown for "AC13 Mnemonics": 1s 361ms
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: 33s 803ms
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 322ms

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

And I wait for 2 seconds 2s 15ms

And the Resources page has finished loading 4s 568ms

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

When I click on element 3s 27ms

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

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

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

And choosing each of these categories should show only its resources: 30s 373ms
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: 35s 541ms
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 1s 7ms

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

And I wait for 2 seconds 2s 164ms

And the Resources page has finished loading 16s 106ms

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

When I click on element 1s 157ms

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

And these elements should be shown for "AC2 and AC8 Training introduction": 2s 65ms
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: 668ms
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 339ms

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

And I wait for 3 seconds 3s 644ms

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

When I enter "stomach" 748ms

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

And I click on element 3s 378ms

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

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

And I wait for 3 seconds 3s 434ms

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

When I enter "stomach" 1s 175ms

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

And I click on element 2s 473ms

And "h1" element containing text "text" "stomach" should be visible 1s 527ms

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

And I wait for 3 seconds 3s 922ms

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

When I enter "Stomach" 1s 212ms

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

And I click on element 1s 933ms

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

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

And I wait for 3 seconds 3s 50ms

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

When I enter "acute" 389ms

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

And I click on element 2s 466ms

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

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

And I wait for 3 seconds 3s 853ms

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

When I enter "STOMACH" 1s 209ms

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

And I click on element 2s 220ms

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

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

And I wait for 3 seconds 3s 839ms

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

When I enter "NSAIDs" 1s 134ms

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

And I click on element 1s 762ms

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

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

And I wait for 3 seconds 3s 67ms

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

When I enter "asthma" 335ms

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

And I click on element 2s 584ms

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

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

And I wait for 3 seconds 3s 96ms

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

When I enter "tummy" 478ms

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

And I click on element 1s 385ms

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

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

And I wait for 3 seconds 3s 37ms

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

When I enter "abdominal" 238ms

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

And I click on element 3s 342ms

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

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

And I wait for 3 seconds 3s 518ms

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

When I enter "COVID-19" 1s 108ms

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

And I click on element 1s 604ms

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

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

And I wait for 3 seconds 3s 521ms

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

And I set browser to offline mode 69ms

When I enter "stomach" 1s 142ms

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

And I click on element 2s 728ms

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

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

And I wait for 3 seconds 3s 147ms

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

And I set browser to offline mode 7ms

When I enter "STOMACH" 236ms

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

And I click on element 1s 679ms

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

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

And I wait for 3 seconds 3s 382ms

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

And I set browser to offline mode 4ms

When I enter "asthma" 338ms

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

And I click on element 8s 84ms

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

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

And I wait for 3 seconds 3s 197ms

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

And I set browser to offline mode 7ms

When I enter "tummy" 508ms

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

And I click on element 2s 794ms

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

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

And I wait for 3 seconds 9s 530ms

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

And I set browser to offline mode 6ms

When I enter "abdominal" 436ms

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

And I click on element 1s 799ms

And "h1" element containing text "text" "abdominal" should be visible 1s 952ms

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

And I wait for 3 seconds 9s 671ms

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

When I enter "vxc" 1s 202ms

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

And I click on element 2s 226ms

Then the page heading should be 'No results for "vxc"' 25s 350ms

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

And I wait for 3 seconds 10s 126ms

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

When I enter "xuu" 626ms

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

And I click on element 2s 333ms

Then the page heading should be 'No results for "xuu"' 13s 673ms

Given I visit "http://localhost:3000/" 18s 173ms

And I wait for 3 seconds 10s 159ms

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

When I enter "xyz123" 593ms

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

And I click on element 1s 907ms

Then the page heading should be 'No results for "xyz123"' 14s 551ms

Given I visit "http://localhost:3000/" 28s 627ms

And I wait for 3 seconds 3s 187ms

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

When I enter "snake bite" 275ms

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

And I click on element 2s 585ms

Then the page heading should be 'No results for "snake bite"' 1m 40s Show Error +
                                            
Error: function timed out, ensure the promise resolves within 100000 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/" 31s 693ms

And I wait for 3 seconds 3s 171ms

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

When I enter "valium" 532ms

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

And I click on element 1s 829ms

And I wait for 3 seconds 3s 98ms

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

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

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

And I enter "diazepam" 356ms

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

And I click on element 1s 331ms

And I wait for 3 seconds 13s 631ms

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

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

And I wait for 3 seconds 3s 167ms

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

When I enter "celecoxib" 636ms

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

And I click on element 1s 983ms

And I wait for 3 seconds 3s 229ms

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

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

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

And I enter "celebrex" 787ms

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

And I click on element 3s 149ms

And I wait for 3 seconds 3s 271ms

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

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

And I wait for 3 seconds 3s 34ms

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

When I enter "antenatal" 579ms

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

And I click on element 1s 949ms

And I wait for 3 seconds 3s 34ms

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

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

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

And I enter "pregnancy" 226ms

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

And I click on element 1s 826ms

And I wait for 3 seconds 3s 396ms

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

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

And I wait for 3 seconds 3s 51ms

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

When I enter "ibuprofen" 1s 164ms

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

And I click on element 3s 88ms

And I wait for 3 seconds 3s 213ms

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

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

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

And I enter "nurofen" 737ms

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

And I click on element 1s 728ms

And I wait for 3 seconds 3s 420ms

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

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

And I wait for 3 seconds 3s 197ms

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

When I enter "burn" 164ms

And I wait for 4 seconds 4s 118ms

Then option "burns" should be in search results dropdown list 110ms

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

When I click on element 1s 473ms

Then "h1" element with "text" "Burns" should be visible 1s 713ms

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

And I wait for 3 seconds 3s 39ms

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

When I enter "antenatal" 178ms

And I wait for 4 seconds 4s 110ms

Then option "antenatal care" should be in search results dropdown list 98ms

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

When I click on element 1s 330ms

Then "h1" element with "text" "Antenatal care" should be visible 1s 75ms

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

And I wait for 3 seconds 3s 164ms

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

When I enter "bu" 664ms

And I wait for 4 seconds 4s 83ms

Then option "burns" should be in search results dropdown list 60ms

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

When I click on element 1s 402ms

Then "h1" element with "text" "Burns" should be visible 1s 30ms