All Scenarios

124

Passed Scenarios

79

Failed Scenarios

15

Skipped Scenarios

30

Execution Time: 71m 48s 66ms

Expand All | Collapse All

Given I visit "http://localhost:3000/" 17s 132ms

And I feature toggle "ENHANCED_SEARCH" to "true" 76ms

When I wait for 6 seconds 6s 93ms

Given "a" element with "text" "Drugs" 841ms

When I click on element 1s 47ms

Given "input" element with "id" "drugnamepopup" 731ms

When I click on element 1s 715ms

When I wait for 2 seconds 2s 3ms

When I enter "ibuprofen - acute pain, mild (adults)" in the drug index 1s 667ms

When I wait for 6 seconds 6s 16ms

Given "p" element with "id" "agg7-c07-para18" 1s 217ms

When I scroll element into center view 1s 641ms

Then element should have css "height" "40px" 3s 786ms

And I feature toggle "ENHANCED_SEARCH" to "true" 94ms

When I wait for 2 seconds 2s 12ms

Given I visit "http://localhost:3000/" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I click on element < 1ms

Then I wait for 2 seconds < 1ms

When I enter "ibuprofen - acute pain, mild (adults)" in the drug index < 1ms

Then I wait for 5 seconds < 1ms

Given "p" element with "id" "agg7-c07-para18" < 1ms

Then element should have css "height" "80px" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Given "a" element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Then I wait for 5 seconds < 1ms

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

And I feature toggle "ENHANCED_SEARCH" to "true" 87ms

Then I wait for 6 seconds 6s 15ms

Then element with "id" "searchBoxEnhanced" should be visible 972ms

When I click on element 772ms

And I enter "ibuprofen" 243ms

When I wait for 2 seconds 2s 7ms

When I press enter on enhancedsearch input 672ms

When I wait for 2 seconds 2s 16ms

And "button" element with "text" "Drug indication" 169ms

Then I click on element 1s 604ms

When I wait for 2 seconds 2s 6ms

Then I should see "66 results" in the results span 106ms

Given I visit "http://localhost:3000/" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

When I wait for 2 seconds < 1ms

Given "a" element with "title" "Search" < 1ms

When I click on element < 1ms

When I wait for 2 seconds < 1ms

Then element with "id" "searchBoxEnhanced" should be visible < 1ms

When I click on element < 1ms

And I enter "ibuprofen" < 1ms

When I wait for 2 seconds < 1ms

When I press enter on enhancedsearch input < 1ms

When I wait for 2 seconds < 1ms

And "button" element with "text" "Drug indication" < 1ms

Then I click on element < 1ms

When I wait for 2 seconds < 1ms

Then I should see "66 results" in the results span < 1ms

Given I visit "http://localhost:3000/" 19s 944ms

And I feature toggle "ENHANCED_SEARCH" to "true" 434ms

When I wait for 6 seconds 6s 49ms

Given "a" element with "text" "Drugs" 446ms

When I click on element 4s 288ms

When I enter "azithromycin - diarrhoea, travellers'" in the drug index 7s 501ms

When I wait for 6 seconds 6s 117ms

Then "h4" element with "text" "Indications for empirical antibiotic therapy for moderate or severe travellers' diarrhoea" should be visible 747ms

Given I visit "http://localhost:3000/" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

When I wait for 6 seconds < 1ms

Given "a" element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

When I enter "azithromycin - diarrhoea, travellers'" in the drug index < 1ms

When I wait for 2 seconds < 1ms

Then "h4" element with "text" "Indications for empirical antibiotic therapy for moderate or severe travellers' diarrhoea" should be visible < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=depression#home" 19s 393ms

And I feature toggle "ENHANCED_SEARCH" to "true" 883ms

Then I wait for 4 seconds 4s 8ms

When I click on the "Psychotropic" item in the side menu 242ms

When I wait for 4 seconds 4s 17ms

When I scroll to the bottom of the screen 590ms

When I wait for 4 seconds 4s 90ms

Given "a" element with "class" "jp-next" 401ms

When I wait for 4 seconds 4s 2ms

When I click on element 738ms

When I wait for 3 seconds 3s 10ms

When I click on element 870ms

When I wait for 4 seconds 4s 12ms

When I click on element 4s 443ms

When I wait for 4 seconds 4s 1ms

When I click on element 1s 115ms

When I wait for 4 seconds 4s 8ms

When I wait for 4 seconds 6s 958ms

Given "a" element with "text" "Suicide risk" 1s 467ms

Given "a" element with "text" "Suicide risk" 132ms

When I click on element 7s 948ms

When I wait for 4 seconds 4s 13ms

Given "h2" element with "text" "Assessing suicide risk" 43ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=cellulitis#home" 8s 404ms

And I feature toggle "ENHANCED_SEARCH" to "true" 86ms

Then I wait for 4 seconds 4s 12ms

When I click on the "Antibiotic" item in the side menu 1s 599ms

When I wait for 4 seconds 4s 10ms

Given "a" element with "text" "Peritonsillar abscess and " 87ms

When I click on element 37s 124ms

When I wait for 4 seconds 4s 5ms

Given "h2" element with "text" "Approach to managing peritonsillar abscess and cellulitis" 1s 366ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=vancomycin#home" 17s 566ms

And I feature toggle "ENHANCED_SEARCH" to "true" 437ms

When I wait for 4 seconds 4s 14ms

When I scroll to the bottom of the screen 5s 694ms

When I wait for 4 seconds 4s 69ms

Given "a" element with "class" "jp-next" 2s 509ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=diarrhoea#home" 26s 362ms

And I feature toggle "ENHANCED_SEARCH" to "true" 163ms

When I wait for 4 seconds 4s 2ms

When I scroll to the bottom of the screen 793ms

When I wait for 4 seconds 4s 14ms

Given "a" element with "class" "jp-next" 94ms

When I click on element 845ms

Given "a" element with "title" "Outbreaks of diarrhoea in residential aged-care facilities" 1s 123ms

When I click on element 6s 632ms

When I wait for 4 seconds 4s 10ms

Given "h2" element with "text" "Outbreaks of diarrhoea in residential" 371ms

After 45s 19ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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/searchAction/?appendedinputbuttons=hepatitis%20b#topic" 8s 354ms

And I feature toggle "ENHANCED_SEARCH" to "true" 116ms

When I wait for 4 seconds 4s 6ms

When I scroll to the bottom of the screen 518ms

When I wait for 4 seconds 4s 12ms

Given "a" element with "class" "jp-next" 810ms

When I click on element 6s 767ms

Given "a" element with "title" "Approach to suspected inflammatory arthritis in adults" 947ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=shingles#topic" 6s 485ms

And I feature toggle "ENHANCED_SEARCH" to "true" 84ms

Then I wait for 4 seconds 4s 8ms

Given "a" element with "text" "Herpes simplex virus infections" 54ms

When I click on element 3s 647ms

Given "h2" element with "text" "Advice on herpes simplex virus infections in Therapeutic Guidelines" 2s 76ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Coagulopathy%20in%20patients%20with%20cirrhosis#topic" 5s 977ms

And I feature toggle "ENHANCED_SEARCH" to "true" 6s 113ms

Then I wait for 5 seconds 5s 3ms

And "button" element with "text" "Topic" 155ms

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

And "button" element with "text" "Drug indication" 50ms

Then I click on element 785ms

And "span" element with "text" "results" should be visible 28ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=diagnosing%20diabetes#topic" 6s 387ms

And I feature toggle "ENHANCED_SEARCH" to "true" 143ms

Then I wait for 5 seconds 5s 2ms

And "button" element with "text" "Topic" 1s 203ms

And "span" element with "text" "results" should be visible 133ms

And "button" element with "text" "Drug indication" 997ms

Then I click on element 1s 555ms

And "span" element with "text" "results" should be visible 3s 652ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=hyperglycaemia%20pregnancy#home" 8s 149ms

And I feature toggle "ENHANCED_SEARCH" to "true" 110ms

Then I wait for 5 seconds 5s 14ms

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

And "span" element with "text" "results" should be visible 82ms

And "button" element with "text" "Drug indication" 55ms

Then I click on element 864ms

And "span" element with "text" "results" should be visible 33ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=alcohol%20use#topic" 6s 844ms

And I feature toggle "ENHANCED_SEARCH" to "true" 143ms

Then I wait for 5 seconds 5s 1ms

And "button" element with "text" "Topic" 296ms

And "span" element with "text" "results" should be visible 125ms

And "button" element with "text" "Drug indication" 71ms

Then I click on element 917ms

And "span" element with "text" "results" should be visible 126ms

After 55s 629ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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/searchAction/?appendedinputbuttons=liver#topic" 12s 843ms

And I feature toggle "ENHANCED_SEARCH" to "true" 446ms

Then I wait for 5 seconds 5s 16ms

And "button" element with "text" "Topic" 470ms

And "span" element with "text" "results" should be visible 166ms

And "button" element with "text" "Drug indication" 107ms

Then I click on element 663ms

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

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=cough" 14s 540ms

And I feature toggle "ENHANCED_SEARCH" to "true" 201ms

Then I wait for 5 seconds 5s 15ms

And "button" element with "text" "Topic" 173ms

And "span" element with "text" "results" should be visible 48ms

And "button" element with "text" "Drug indication" 129ms

Then I click on element 2s 723ms

And "span" element with "text" "results" should be visible 643ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=wheeze" 16s 929ms

And I feature toggle "ENHANCED_SEARCH" to "true" 101ms

Then I wait for 5 seconds 5s 10ms

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

And "span" element with "text" "results" should be visible 29ms

And "button" element with "text" "Drug indication" 29ms

Then I click on element 646ms

And "span" element with "text" "results" should be visible 24ms

After 45s 2ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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/searchAction?appendedinputbuttons=streptococcal%20Tonsillitis" 31s 610ms

And I feature toggle "ENHANCED_SEARCH" to "true" 229ms

Then I wait for 6 seconds 6s 9ms

Given "a" element with "title" "Sore throat" 129ms

When I click on element 27s 140ms

Then "h2" element with "text" "Antibiotic therapy for streptococcal pharyngitis and tonsillitis" should be visible 2s 466ms

Given I visit "http://localhost:3000/#drugIndexModal" 2s 31ms

And I feature toggle "ENHANCED_SEARCH" to "true" 30s 239ms Show Error +
                                            
TimeoutError: Timed out waiting for OpenFeature provider to be ready Wait timed out after 30237ms at C:\agent\_work\20\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

When I wait for 6 seconds < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I click on element < 1ms

When I enter "pyridostigmine" < 1ms

Then option "pyridostigmine - myasthenia gravis" should be in dataList < 1ms

Given "div" element with "class" "dropdown-item" < 1ms

When I click on element < 1ms

Then "h2" element with "text" "Acetylcholinesterase inhibitors for symptoms of myasthenia gravis" should be visible < 1ms

After 45s 20ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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/#drugIndexModal" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I click on element < 1ms

When I enter "pyridostigmine" < 1ms

Given "div" element with "class" "dropdown-item" < 1ms

When I click on element < 1ms

Then "h2" element with "text" "Acetylcholinesterase inhibitors for symptoms of myasthenia gravis" should be visible < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=delirium#topic" 9s 366ms

And I feature toggle "ENHANCED_SEARCH" to "true" 101ms

Then I wait for 6 seconds 6s 2ms

Then I should see "78 results" in the results span 487ms

And "button" element with "text" "Topic" 601ms

And "button" element with "text" "Drug indication" 151ms

Then I click on element 2s 232ms

Then I should see "8 results" in the results span 402ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=cellulitis#home" 11s 680ms

And I feature toggle "ENHANCED_SEARCH" to "true" 152ms

Then I wait for 5 seconds 5s 8ms

And "button" element with "text" "Topic" 1s 341ms

And "span" element with "text" "results" should be visible 540ms

And "button" element with "text" "Drug indication" 256ms

Then I click on element 1s 364ms

And "span" element with "text" "results" should be visible 393ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=c_ABG_Cellulitis-and-erysipelas_topic_1&guidelinename=auto&sectionId=c_ABG_Cellulitis-and-erysipelas_topic_1#c_ABG_Cellulitis-and-erysipelas_topic_1" 3s 874ms

When I wait for 5 seconds 5s 30ms

Then "h2" element with "text" "Empirical therapy for cellulitis and erysipelas with systemic features" should be visible 1s 861ms

After 45s 64ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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/searchAction/?appendedinputbuttons=cellulitis#home" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

When I wait for 6 seconds < 1ms

Then I should see "41 results" in the results span < 1ms

And "button" element with "text" "Topic" < 1ms

And "button" element with "text" "Drug indication" < 1ms

Then I click on element < 1ms

Then I should see "34 results" in the results span < 1ms

And "button" element with "text" "Topic" < 1ms

Then I click on element < 1ms

Given "a" element with "title" "Peritonsillar abscess and cellulitis" < 1ms

When I click on element < 1ms

Then "h2" element with "text" "Approach to managing peritonsillar abscess and cellulitis" < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=c_ABG_Cellulitis-and-erysipelas_topic_1&guidelinename=auto&sectionId=c_ABG_Cellulitis-and-erysipelas_topic_1#c_ABG_Cellulitis-and-erysipelas_topic_1" < 1ms

When I wait for 5 seconds < 1ms

Then "h2" element with "text" "Empirical therapy for cellulitis and erysipelas with systemic features" should be visible < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Gout#topic" 15s 382ms

And I feature toggle "ENHANCED_SEARCH" to "true" 104ms

When I wait for 5 seconds 5s 8ms

Given "a" element with "title" "Gout" 76ms

When I click on element 6s 373ms

When I wait for 5 seconds 5s 4ms

Then "h2" element with "text" "Overview of gout" should be visible 44ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=bacterial%20vaginosis#topic" 28s 103ms

And I feature toggle "ENHANCED_SEARCH" to "true" 178ms

When I wait for 5 seconds 5s 31ms

Given "a" element with "title" "Bacterial vaginosis in adults" 165ms

When I click on element 8s 521ms

When I wait for 5 seconds 5s 11ms

Then "h2" element with "text" "Aetiology and assessment of bacterial vaginosis in adults" should be visible 530ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=c_ABG_Practical-information-on-using-antibacterial-drugs_topic_1&guidelinename=auto&sectionId=c_ABG_Practical-information-on-using-antibacterial-drugs_topic_1#c_ABG_Practical-information-on-using-antibacterial-drugs_topic_1" 12s 386ms

And I feature toggle "ENHANCED_SEARCH" to "true" 204ms

When I wait for 8 seconds 8s 8ms

Then "h2" element with "text" "Introduction to antibacterial drugs" should be visible 325ms

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

And I feature toggle "ENHANCED_SEARCH" to "true" 162ms

Then I wait for 6 seconds 6s 2ms

Given "a" element with "text" "Drugs" 1s 60ms

When I click on element 724ms

Given "input" element with "id" "drugnamepopup" 138ms

When I enter "naproxen" in the drug index 1s 96ms

Then option "naproxen - acute pain, mild (adults)" should be in dataList 90ms

Given I visit "http://localhost:3000/" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I enter "naproxen" in the drug index < 1ms

Then option "naproxen - acute pain, mild (adults)" should be in dataList < 1ms

Given I visit TGApp 9s 85ms

And I feature toggle "ENHANCED_SEARCH" to "true" 84ms

Then I wait for 5 seconds 5s 17ms

Then element with "id" "searchBoxEnhanced" should be visible 655ms

When I click on element 728ms

And I enter "methylprednisolone sodium succinate - acute severe ulcerative colitis" 302ms

When I wait for 2 seconds 2s 11ms

When I press enter on enhancedsearch input 721ms

When I wait for 2 seconds 2s 8ms

And "button" element with "text" "Topic" 4s 587ms

Then I should see "298 results" in the results span 5s 476ms Show Error +
                                            
TimeoutError: Waiting for element to be located By(xpath, //span[normalize-space()="298 results"]) Wait timed out after 5474ms at C:\agent\_work\20\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Given "a" element with "title" "Ulcerative colitis in adults" < 1ms

When I click on element < 1ms

When I wait for 2 seconds < 1ms

Then "h4" element with "text" "Initial management of acute severe ulcerative colitis in adults" should be visible < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

When I wait for 6 seconds < 1ms

When I scroll to the top of the screen < 1ms

Then element with "id" "searchBoxEnhanced" should be visible < 1ms

When I click on element < 1ms

And I enter "methylprednisolone sodium succinate ulcerative colitis" < 1ms

When I click on element < 1ms

When I wait for 2 seconds < 1ms

Then "h4" element with "text" "Initial management of acute severe ulcerative colitis in adults" should be visible < 1ms

Then "p" element with "text" "methylprednisolone sodium succinate 60" should be visible < 1ms

After 56s 871ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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 TGApp 1m 38s 40ms

And I feature toggle "ENHANCED_SEARCH" to "true" 6s 613ms

When I wait for 6 seconds 6s 11ms

Given "a" element with "text" "Drugs" 433ms

When I click on element 1s 808ms

Given "input" element with "id" "drugnamepopup" 536ms

When I enter "methylprednisolone" in the drug index 1s 168ms

When I wait for 5 seconds 5s 5ms

Then I pick element with "methylprednisolone sodium succinate - ulcerative colitis, acute severe" from dataList 2s 541ms

When I wait for 5 seconds 5s 7ms

Then "h4" element with "text" "Initial management of acute severe ulcerative colitis in adults" should be visible 286ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=methylprednisolone%20sodium%20succinate%20-%20acute%20severe%20ulcerative%20colitis" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

When I wait for 6 seconds < 1ms

And "button" element with "text" "Topic" < 1ms

And "span" element with "text" "298" should be visible < 1ms

Given "a" element with "title" "Ulcerative colitis in adults" < 1ms

When I click on element < 1ms

When I wait for 2 seconds < 1ms

Then "h4" element with "text" "Initial management of acute severe ulcerative colitis in adults" should be visible < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

When I wait for 6 seconds < 1ms

Given "a" element with "title" "Search" < 1ms

When I click on element < 1ms

When I wait for 6 seconds < 1ms

Then element with "id" "searchBoxEnhanced" should be visible < 1ms

When I click on element < 1ms

And I enter "methylprednisolone sodium succinate ulcerative colitis" < 1ms

When I click on element < 1ms

When I wait for 2 seconds < 1ms

Then "h4" element with "text" "Initial management of acute severe ulcerative colitis in adults" should be visible < 1ms

Then "p" element with "text" "methylprednisolone sodium succinate 60" should be visible < 1ms

Given I visit TGApp < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

When I wait for 6 seconds < 1ms

Given element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I enter "methylprednisolone" in the drug index < 1ms

When I wait for 5 seconds < 1ms

Then I pick element with "methylprednisolone sodium succinate - ulcerative colitis, acute severe" from dataList < 1ms

When I wait for 5 seconds < 1ms

Then "h4" element with "text" "Initial management of acute severe ulcerative colitis in adults" should be visible < 1ms

Given I visit "http://localhost:3000/" 1m 40s 61ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 100000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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)

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I click on element < 1ms

When I wait for 2 seconds < 1ms

When I enter "digoxin immune Fab - acute digoxin poisoning" in the drug index < 1ms

Then "ditatitle" element with "text" "Antidote: digoxin immune Fab" should be visible < 1ms

Given I visit "http://localhost:3000/" 1m 33s 484ms

And I feature toggle "ENHANCED_SEARCH" to "true" 91ms

Then I wait for 6 seconds 6s 15ms

Given "a" element with "text" "Drugs" 7s 295ms

When I click on element 753ms

Given "input" element with "id" "drugnamepopup" 34ms

When I click on element 1s 204ms

When I wait for 2 seconds 2s 9ms

When I enter "budesonide+formoterol - asthma, Step 2 as-required therapy (adult, adolescent)" in the drug index 2s 349ms

Then "h4" element with "text" "Assessing patient response to Step 2 therapy" should be visible 5s 358ms

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

And I feature toggle "ENHANCED_SEARCH" to "true" 195ms

Then I wait for 6 seconds 6s 2ms

Given "a" element with "text" "Drugs" 652ms

When I click on element 1s 183ms

Given "input" element with "id" "drugnamepopup" 78ms

When I click on element 598ms

When I wait for 2 seconds 2s 8ms

When I enter "budesonide+formoterol - asthma, Step 4 maintenance and reliever therapy (adult, adolescent)" in the drug index 4s 469ms

Then "h4" element with "text" "Step 4 therapy for patients with type 2 airway inflammation" should be visible 8s 793ms

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

And I feature toggle "ENHANCED_SEARCH" to "true" 96ms

Then I wait for 6 seconds 6s 9ms

Given "a" element with "text" "Drugs" 538ms

When I click on element 2s 371ms

Given "input" element with "id" "drugnamepopup" 160ms

When I click on element 640ms

When I wait for 2 seconds 2s 7ms

When I enter "budesonide+formoterol - asthma, Step 5 maintenance and reliever therapy (adult, adolescent)" in the drug index 1s 802ms

Then "h4" element with "text" "Step 5 therapy for patients with type 2 airway inflammation" should be visible 2s 453ms

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

And I feature toggle "ENHANCED_SEARCH" to "true" 112ms

Then I wait for 6 seconds 6s 16ms

Given "a" element with "text" "Drugs" 778ms

When I click on element 826ms

Given "input" element with "id" "drugnamepopup" 245ms

When I click on element 606ms

When I wait for 2 seconds 2s 6ms

When I enter "primaquine - malaria, plasmodium vivax" in the drug index 1s 314ms

Then "h4" element with "text" "Additional considerations for P. vivax and P. ovale" should be visible 3s 469ms

Given I visit "http://localhost:3000/" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I click on element < 1ms

Then I wait for 5 seconds < 1ms

When I enter "digoxin immune Fab - acute digoxin poisoning" in the drug index < 1ms

Then "h4" element with "text" "Antidote: digoxin immune Fab" should be visible < 1ms

Given I visit "http://localhost:3000/" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I click on element < 1ms

When I wait for 2 seconds < 1ms

When I enter "budesonide+formoterol - asthma, Step 2 as-required therapy (adult, adolescent)" in the drug index < 1ms

Then "h4" element with "text" "Assessing patient response to Step 2 therapy" should be visible < 1ms

Given I visit "http://localhost:3000/" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I click on element < 1ms

When I wait for 2 seconds < 1ms

When I enter "budesonide+formoterol - asthma, Step 4 maintenance and reliever therapy (adult, adolescent)" in the drug index < 1ms

Then "h4" element with "text" "Step 4 therapy for patients with type 2 airway inflammation" should be visible < 1ms

Given I visit "http://localhost:3000/" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I click on element < 1ms

When I wait for 2 seconds < 1ms

When I enter "budesonide+formoterol - asthma, Step 5 maintenance and reliever therapy (adult, adolescent)" in the drug index < 1ms

Then "h4" element with "text" "Step 5 therapy for patients with type 2 airway inflammation" should be visible < 1ms

Given I visit "http://localhost:3000/" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I click on element < 1ms

When I wait for 2 seconds < 1ms

When I enter "primaquine - malaria, plasmodium vivax" in the drug index < 1ms

Then "h4" element with "text" "Additional considerations for P. vivax and P. ovale" should be visible < 1ms

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

And I feature toggle "ENHANCED_SEARCH" to "true" 87ms

Then I wait for 6 seconds 6s 14ms

Given "a" element with "text" "Drugs" 180ms

When I click on element 1s 97ms

Given "input" element with "id" "drugnamepopup" 299ms

When I enter "metronidazole - bacterial vaginosis" 12s 261ms

Then I wait for 6 seconds 6s 10ms

Then "h2" element with "text" "Treatment of an initial episode of bacterial vaginosis in adults" should be visible 30s 350ms Show Error +
                                            
TimeoutError: Waiting element with locator to be visible Wait timed out after 30349ms at C:\agent\_work\20\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Given I visit "http://localhost:3000/" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I enter "metronidazole - bacterial vaginosis" < 1ms

Then I wait for 6 seconds < 1ms

When I scroll to the top of the screen < 1ms

Given "h2" element with "text" "Treatment of an initial episode of bacterial vaginosis in adults" < 1ms

Then "h2" element with "text" "Treatment of an initial episode of bacterial vaginosis in adults" should be visible < 1ms

Given I visit TGApp 8s 613ms

And I feature toggle "ENHANCED_SEARCH" to "true" 162ms

Then I wait for 6 seconds 6s 10ms

Given "a" element with "text" "Drugs" 709ms

When I click on element 642ms

Given "input" element with "id" "drugnamepopup" 103ms

When I enter "calcium chloride " in the drug index 725ms

Then I pick element with "calcium chloride - ccb verapamil and diltiazem poisoning" from dataList 938ms

When I wait for 5 seconds 5s 12ms

Given "h5" element with "text" "Calcium therapy" 30s 286ms Show Error +
                                            
TimeoutError: Waiting element with locator to be visible Wait timed out after 30285ms at C:\agent\_work\20\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Given I visit TGApp < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I enter "calcium chloride " in the drug index < 1ms

Then I pick element with "calcium chloride - ccb verapamil and diltiazem poisoning" from dataList < 1ms

When I wait for 5 seconds < 1ms

Given "h5" element with "text" "Calcium therapy" < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Fatigue:%20overview#topic" 10s 567ms

And I feature toggle "ENHANCED_SEARCH" to "true" 148ms

Then I wait for 6 seconds 6s 4ms

Then "b" element with "text" "Fatigue" should be visible 678ms

Then "a" element with "title" "Fatigue: overview" should be visible 503ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Otitis%20externa#topic" 8s 548ms

And I feature toggle "ENHANCED_SEARCH" to "true" 574ms

Then I wait for 6 seconds 6s 10ms

Then "b" element with "text" "Otitis" should be visible 126ms

Given I visit TGApp 17s 340ms

And I feature toggle "ENHANCED_SEARCH" to "true" 382ms

Given "a" element with "text" "Drugs" 2s 19ms

When I click on element 811ms

Given "input" element with "id" "drugnamepopup" 53ms

When I enter "celecoxib - re" in the drug index 858ms

When I wait for 2 seconds 2s 5ms

Then I pick element with "celecoxib - renal colic" from dataList 1s 209ms

When I wait for 2 seconds 2s 9ms

Then element with "indexterm" should contain "celecoxib - renal colic" 1s 888ms

Given I visit TGApp < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Given "a" element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I enter "celecoxib - re" in the drug index < 1ms

When I wait for 2 seconds < 1ms

Then I pick element with "celecoxib - renal colic" from dataList < 1ms

When I wait for 2 seconds < 1ms

Then element with "indexterm" should contain "celecoxib - renal colic" < 1ms

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

And I feature toggle "ENHANCED_SEARCH" to "true" 100ms

Then element with "id" "searchBoxEnhanced" should be visible 545ms

When I click on element 1s 197ms

And I enter "amoxicillin" 152ms

When I wait for 2 seconds 2s 10ms

When I press enter on enhancedsearch input 241ms

When I wait for 2 seconds 2s 7ms

And "button" element with "text" "Drug indication" 371ms

Then I click on element 742ms

When I wait for 2 seconds 2s 18ms

And "span" element with "text" "results" should be visible 19s 641ms

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

Then I click on element 1s 395ms

And "span" element with "text" "results" should be visible 22ms

Then "a" element with "text" "Practical information on using beta lactams" should be visible 28ms

When I click on element 19s 89ms

Then I wait for 2 seconds 2s 11ms

Then "h4" element with "text" "Narrow-spectrum penicillins with antistaphylococcal activity: dicloxacillin and flucloxacillin" should be visible 278ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=vancomycin#drug" 12s 376ms

And I feature toggle "ENHANCED_SEARCH" to "true" 939ms

When I wait for 6 seconds 6s

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

Then I click on element 611ms

When I wait for 2 seconds 2s 3ms

Then "span" element with "text" "results" should be visible 247ms

When I wait for 2 seconds 2s 7ms

Then I click on the partial text "monitoring and dosage adjustment in adults" 10s 897ms

When I wait for 2 seconds 2s 6ms

Then "h4" element with "text" "Target ranges for vancomycin trough concentration monitoring in adults" should be visible 30s 386ms Show Error +
                                            
TimeoutError: Waiting element with locator to be visible Wait timed out after 30385ms at C:\agent\_work\20\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=asthma#drug" 13s 990ms

And I feature toggle "ENHANCED_SEARCH" to "true" 139ms

When I wait for 6 seconds 6s 28ms

And "button" element with "text" "Topic" 519ms

Then I click on element 598ms

When I wait for 3 seconds 3s 8ms

Given "a" element with "text" "Acute " 415ms

Then I click on element 12s 994ms

When I wait for 3 seconds 3s 5ms

Then "h2" element with "text" "Overview of acute asthma" should be visible 230ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=liver#drug" 26s 964ms

And I feature toggle "ENHANCED_SEARCH" to "true" 93ms

When I wait for 6 seconds 6s 4ms

Given "a" element with "title" "Noninvasive assessment of liver fibrosis" 44ms

Then I click on element 4s 490ms

When I wait for 3 seconds 3s 8ms

Then "h2" element with "text" "Overview of noninvasive assessment of liver fibrosis" should be visible 64ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Accidental%20hypothermia" 11s 516ms

And I feature toggle "ENHANCED_SEARCH" to "true" 181ms

When I wait for 6 seconds 6s 4ms

Given "a" element with "title" "Frostbite and other localised cold injury" 283ms

Then I click on element 34s 674ms

When I wait for 2 seconds 2s 6ms

Then "h2" element with "text" "Prevention of frostbite" should be visible 802ms

Then I click on element 999ms

When I wait for 2 seconds 2s 6ms

Then "note" element with "text" "Cold numb skin is at high risk of frostbite." should be visible 354ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Acne%20#drug" 6s 591ms

And I feature toggle "ENHANCED_SEARCH" to "true" 12s 790ms

When I wait for 6 seconds 6s 5ms

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

Then I click on element 872ms

When I wait for 3 seconds 3s 4ms

Given "b" element with "text" "Acne" 929ms

Then I click on element 20s 247ms

When I wait for 2 seconds 2s 2ms

Then "h2" element with "text" "Introduction to acne" should be visible 126ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Acute%20asthma" 21s 377ms

And I feature toggle "ENHANCED_SEARCH" to "true" 151ms

When I wait for 6 seconds 6s 8ms

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

Then I click on element 837ms

When I wait for 3 seconds 3s 11ms

Given "b" element with "text" "Acute" 234ms

Then I click on element 20s 549ms

When I wait for 2 seconds 2s 6ms

Then "h2" element with "text" "Overview of acute asthma" should be visible 67ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Acute%20cystitis%20in%20adults" 19s 626ms

And I feature toggle "ENHANCED_SEARCH" to "true" 128ms

When I wait for 6 seconds 6s 14ms

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

Then I click on element 1s 269ms

When I wait for 3 seconds 3s 11ms

Given "b" element with "text" "cystitis" 285ms

Then I click on element 8s 497ms

When I wait for 2 seconds 2s 9ms

Then "h2" element with "text" "Diagnosis of acute cystitis in adults" should be visible 56ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Acute%20cystitis%20in%20children#topic" 23s 894ms

And I feature toggle "ENHANCED_SEARCH" to "true" 111ms

When I wait for 6 seconds 6s 13ms

And "button" element with "text" "Topic" 133ms

Then I click on element 1s 712ms

When I wait for 3 seconds 3s 14ms

Given "b" element with "text" "cystitis" 773ms

Then I click on element 7s 213ms

When I wait for 2 seconds 2s 9ms

Then "h2" element with "text" "Assessing acute cystitis in children" should be visible 214ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Acute%20infectious%20diarrhoea" 12s 49ms

And I feature toggle "ENHANCED_SEARCH" to "true" 102ms

When I wait for 6 seconds 6s 15ms

And "button" element with "text" "Topic" 1s 720ms

Then I click on element 1s 884ms

When I wait for 8 seconds 8s 26ms

Given "a" element with "title" "Functional diarrhoea in adults" 418ms

Then I click on element 12s 614ms

When I wait for 6 seconds 6s 8ms

Then "h4" element with "text" "Overview of management of functional diarrhoea" should be visible 1s 137ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Acute%20pyelonephritis%20in%20adults#topic" 49s 835ms

And I feature toggle "ENHANCED_SEARCH" to "true" 90ms

When I wait for 6 seconds 6s 4ms

And "button" element with "text" "Topic" 38ms

Then I click on element 2s 104ms

When I wait for 8 seconds 8s 7ms

Given "b" element with "text" "pyelonephritis" 640ms

Then I click on element 5s 548ms

When I wait for 6 seconds 6s 3ms

Then "h4" element with "text" "Investigations for acute pyelonephritis in adults" should be visible 45ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Alcohol%20and%20other%20drug%20problems" 12s 213ms

And I feature toggle "ENHANCED_SEARCH" to "true" 300ms

When I wait for 6 seconds 6s 4ms

And "button" element with "text" "Topic" 126ms

Then I click on element 1s 550ms

When I wait for 6 seconds 6s 7ms

Then I click on the partial text " in people with developmental disability" 9s 623ms

When I wait for 6 seconds 6s 2ms

Then "h2" element with "text" "Substance misuse in people with developmental disability" should be visible 126ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Altitude%20illness#topic" 7s 190ms

And I feature toggle "ENHANCED_SEARCH" to "true" 435ms

When I wait for 6 seconds 6s 18ms

When I scroll to the bottom of the screen 984ms

Given "a" element with "class" "jp-next" 331ms

When I click on element 1s 295ms

Then I wait for 6 seconds 6s 20ms

Given "a" element with "text" "Influenza" 6s 964ms

Then I click on element 3s 838ms

When I wait for 6 seconds 6s 15ms

Then "h4" element with "text" "The role of antiviral therapy for individual benefit in patients with influenza" should be visible 120ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Amanita%20phalloides%20mushroom%20poisoning#topic" 18s 693ms

And I feature toggle "ENHANCED_SEARCH" to "true" 58ms

When I wait for 6 seconds 6s 12ms

And "button" element with "text" "Topic" 1s 741ms

Then I click on element 2s 820ms

When I wait for 6 seconds 6s 5ms

Given "b" element with "text" "Amanita" 59ms

Then I click on element 12s 863ms

When I wait for 6 seconds 6s 10ms

Then "h2" element with "text" "Management overview for Amanita phalloides mushroom poisoning" should be visible 664ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Antibiotic%20choice%20for%20urinary%20tract%20infection%20in%20adults#topic" 8s 252ms

And I feature toggle "ENHANCED_SEARCH" to "true" 112ms

When I wait for 6 seconds 6s 7ms

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

Then I click on element 596ms

When I wait for 3 seconds 3s 5ms

Given "b" element with "text" "infection" 1s 537ms

Then I click on element 8s 836ms

When I wait for 2 seconds 2s 7ms

Then "h2" element with "text" "Approach to empirical antibiotic choice for UTI in adults" should be visible 202ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Antibiotic%20management%20of%20COPD" 1s 713ms

And I feature toggle "ENHANCED_SEARCH" to "true" 14s 504ms

When I wait for 6 seconds 6s 12ms

And "button" element with "text" "Topic" 61ms

Then I click on element 2s 19ms

When I wait for 6 seconds 6s 8ms

Given "b" element with "text" "management" 394ms

Then I click on element 4s 63ms

When I wait for 6 seconds 6s 7ms

Then "h2" element with "text" "Assessment of COPD exacerbations suspected to be caused by infection" should be visible 239ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Approach%20to%20Chlamydia%20trachomatis%20infection#topic" 6s 239ms

And I feature toggle "ENHANCED_SEARCH" to "true" 58ms

When I wait for 6 seconds 6s 9ms

And "button" element with "text" "Topic" 621ms

Then I click on element 3s 60ms

When I wait for 6 seconds 6s 4ms

Given "b" element with "text" "Approach" 30s 80ms Show Error +
                                            
TimeoutError: Waiting element with locator to be visible Wait timed out after 30078ms at C:\agent\_work\20\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Then I click on element < 1ms

When I wait for 6 seconds < 1ms

Then "h2" element with "text" "Treatment of asymptomatic Chlamydia trachomatis infection" should be visible < 1ms

After 45s 24ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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/searchAction/?appendedinputbuttons=vancomycin#drug" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

When I wait for 6 seconds < 1ms

And "button" element with "text" "Topic" < 1ms

Then I click on element < 1ms

When I wait for 4 seconds < 1ms

Then "span" element with "text" " results" should be visible < 1ms

When I scroll down the window for 60px < 1ms

Given "a" element with "title" "Vancomycin monitoring and dosage adjustment in adults" < 1ms

Then I scroll element into center view < 1ms

Then I click on element < 1ms

When I wait for 4 seconds < 1ms

Then "h4" element with "text" "Target ranges for vancomycin trough concentration monitoring in adults" should be visible < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=asthma#drug" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

When I wait for 6 seconds < 1ms

And "button" element with "text" "Topic" < 1ms

Then I click on element < 1ms

When I wait for 4 seconds < 1ms

Then "span" element with "text" "results" should be visible < 1ms

Given "a" element with "title" "Acute asthma" < 1ms

When I click on element < 1ms

Then I wait for 5 seconds < 1ms

When I scroll to the bottom of the screen < 1ms

Then "h2" element with "text" "Overview of acute asthma" should be visible < 1ms

Given "h2" element with "text" "Treatment of life-threatening acute asthma" < 1ms

Then I scroll element into center view < 1ms

Then I click on element < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=hiv#topic" 2s 607ms

And I feature toggle "ENHANCED_SEARCH" to "true" 6s 609ms

When I wait for 6 seconds 6s 11ms

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

Then I should see "108 results" in the results span 81ms

And "button" element with "text" "Drug indication" 87ms

Then I click on element 1s 469ms

Then I should see "79 results" in the results span 2s 839ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=human%20immunodeficiency%20virus#topic" 20s 229ms

And I feature toggle "ENHANCED_SEARCH" to "true" 99ms

When I wait for 6 seconds 6s 13ms

And "button" element with "text" "Topic" 104ms

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

And "button" element with "text" "Drug indication" 203ms

Then I click on element 1s 338ms

Then I should see "83 results" in the results span 47ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=amoxicillin#topic" 5s 868ms

And I feature toggle "ENHANCED_SEARCH" to "true" 367ms

When I wait for 6 seconds 6s 1ms

And "button" element with "text" "Topic" 2s 198ms

Then I should see "110 results" in the results span 1s 52ms

And "button" element with "text" "Drug indication" 4s 718ms

Then I click on element 1s 363ms

Then I should see "145 results" in the results span 106ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=urticaria#topic" 7s 655ms

And I feature toggle "ENHANCED_SEARCH" to "true" 134ms

When I wait for 6 seconds 6s 8ms

And "button" element with "text" "Topic" 41ms

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

And "button" element with "text" "Drug indication" 31ms

Then I click on element 1s 63ms

Then I should see "12 results" in the results span 188ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=diabetes#topic" 1s 583ms

And I feature toggle "ENHANCED_SEARCH" to "true" 46s 597ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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)

When I wait for 6 seconds < 1ms

And "button" element with "text" "Topic" < 1ms

Then I should see "242 results" in the results span < 1ms

And "button" element with "text" "Drug indication" < 1ms

Then I click on element < 1ms

Then I should see "63 results" in the results span < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=diabetic#topic" 25s 497ms

And I feature toggle "ENHANCED_SEARCH" to "true" 166ms

When I wait for 6 seconds 6s 6ms

And "button" element with "text" "Topic" 14s 507ms

Then I should see "242 results" in the results span 106ms

And "button" element with "text" "Drug indication" 110ms

Then I click on element 653ms

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

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Gastrointestinal#topic" 28s 565ms

And I feature toggle "ENHANCED_SEARCH" to "true" 209ms

Then I wait for 6 seconds 6s 13ms

Then "a" element with "text" " helminths (worms)" 1s 329ms

When I scroll to element 676ms

When I click on element 44s 535ms

Then "h2" element with "text" "Dog hookworm infection" should be visible 129ms

Given I visit "http://localhost:3000/searchAction?appendedinputbuttons=alcohol" 39s 239ms

And I feature toggle "ENHANCED_SEARCH" to "true" 94ms

When I wait for 5 seconds 5s 2ms

When I scroll to the bottom of the screen 840ms

When I wait for 4 seconds 4s 66ms

Given "a" element with "class" "jp-next" 650ms

When I click on element 9s 207ms

When I wait for 3 seconds 3s 12ms

Given "a" element with "text" "Fetal " 171ms

When I scroll to element 88ms

When I click on element 14s 322ms

Then "h1" element with "text" "Fetal alcohol spectrum disorder" should be visible 167ms

When I click on element 1s 199ms

When I wait for 5 seconds 5s 15ms

Then "h1" element with "text" "Fetal alcohol spectrum disorder" should be visible 1s 554ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=constipation#topic" 15s 575ms

And I feature toggle "ENHANCED_SEARCH" to "true" 172ms

When I wait for 6 seconds 6s 8ms

Then I should see "82 results" in the results span 118ms

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

Then I click on the partial text "in palliative care" 30s 193ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=acne#topic" 14s 246ms

And I feature toggle "ENHANCED_SEARCH" to "true" 178ms

When I wait for 6 seconds 6s 15ms

Then I should see "33 results" in the results span 213ms

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

Then "a" element with "text" "Hoffman, 2017" should not be visible 21ms

Then "a" element with "text" "Choice of contraceptive method" should be visible 56ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=fatigue#topic" 15s 177ms

And I feature toggle "ENHANCED_SEARCH" to "true" 124ms

When I wait for 6 seconds 6s 2ms

Then I should see "111 results" in the results span 149ms

And "button" element with "text" "Topic" 40ms

Then "a" element with "text" "HHamilton, 2010Murtagh, 2018" should not be visible 12ms

Then I click on the partial text "in specific age groups" 1s 834ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=oesophageal%20candidiasis" 7s 170ms

And I feature toggle "ENHANCED_SEARCH" to "true" 591ms

Then I wait for 6 seconds 6s 9ms

Given "a" element with "text" "Opportunistic and co-infections in adults with HIV infection" 59ms

Then I click on element 4s 867ms

When I wait for 3 seconds 3s 13ms

Given "h4" element with "text" "Treatment" 683ms

When I scroll to element 253ms

Then "h4" element with "text" "Treatment" should be visible 250ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=oesophageal%20candidiasis" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "title" "Opportunistic and co-infections in adults with HIV infection" < 1ms

When I scroll element into center view < 1ms

Then I click on element < 1ms

When I wait for 3 seconds < 1ms

Given "h4" element with "text" "Treatment" < 1ms

When I scroll to element < 1ms

Then "h4" element with "text" "Treatment" should be visible < 1ms

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

And I feature toggle "ENHANCED_SEARCH" to "true" 163ms

Then I wait for 6 seconds 6s 7ms

Given "a" element with "text" "Drugs" 5s 199ms

When I click on element 2s 109ms

Given "input" element with "id" "drugnamepopup" 80ms

When I click on element 2s 310ms

When I enter "paracetamol - acute pain, severe" 2s 195ms

Then option "paracetamol - acute pain, severe (adults receiving intravenous opioids)" should be in dataList 147ms

Given "div" element with "class" "dropdown-item" 71ms

When I click on element 1s 914ms

When I wait for 2 seconds 2s 6ms

Then "h2" element with "text" "Intravenous opioids for severe, acute nociceptive pain in adults" should be visible 2s 897ms

Given I visit "http://localhost:3000/" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I enter "paracetamol - acute pain, severe (adults receiving intravenous opioids)" in the drug index < 1ms

Then "h2" element with "text" "Intravenous opioids for severe, acute nociceptive pain in adults" should be visible < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=orchitis#topic" 8s 299ms

And I feature toggle "ENHANCED_SEARCH" to "true" 119ms

Then I wait for 6 seconds 6s 2ms

Given "a" element with "title" "Epididymo-orchitis" 110ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Dermatology&topicfile=cutaneous-candidiasis" 16s 155ms

And I feature toggle "ENHANCED_SEARCH" to "true" 463ms

When I wait for 5 seconds 5s 12ms

Then "h2" element with "text" "Cutaneous candidiasis" should be visible 204ms

After 48s 143ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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/searchAction/?appendedinputbuttons=cutaneous#topic" 6s 30ms

And I feature toggle "ENHANCED_SEARCH" to "true" 1s 173ms

Then I wait for 6 seconds 6s 3ms

Given "a" element with "title" "Cutaneous drug reactions" 1s 254ms

When I click on element 7s 229ms

When I wait for 6 seconds 6s 9ms

Then "h2" element with "text" "Overview of cutaneous drug reactions" should be visible 504ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Vulvovaginitis%20" 1s 64ms

And I feature toggle "ENHANCED_SEARCH" to "true" 5s 568ms

Then I wait for 6 seconds 6s 8ms

Given "a" element with "title" "Vulvovaginitis caused by Candida and related species in adults" 247ms

When I click on element 5s 333ms

When I wait for 6 seconds 6s 8ms

Then "h2" element with "text" "Assessment of vulvovaginitis caused by Candida and related species in adults" should be visible 436ms

After 47s 263ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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/searchAction/?appendedinputbuttons=Screening%20and%20management%20of%20people%20at%20risk%20of%20developing#topic" 17s 595ms

And I feature toggle "ENHANCED_SEARCH" to "true" 7s 559ms

Then I wait for 8 seconds 8s 11ms

Given "a" element with "title" "Screening and management of people at risk of developing type 2 diabetes" 30s 231ms Show Error +
                                            
TimeoutError: Waiting element with locator to be visible Wait timed out after 30229ms at C:\agent\_work\20\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

When I click on element < 1ms

When I wait for 6 seconds < 1ms

Then "h2" element with "text" "Screening for type 2 diabetes in asymptomatic adults" should be visible < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Advice%20on%20infected%20skin#topic" 20s 144ms

And I feature toggle "ENHANCED_SEARCH" to "true" 180ms

Then I wait for 6 seconds 6s 4ms

Given "a" element with "title" "Advice on infected skin in Therapeutic Guidelines" 49ms

When I click on element 27s 508ms

When I wait for 6 seconds 6s 7ms

Then "h2" element with "text" "Advice on infected skin in Therapeutic Guidelines" should be visible 495ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=bite#topic" 2s 226ms

And I feature toggle "ENHANCED_SEARCH" to "true" 30s 73ms

Then I wait for 6 seconds 6s 7ms

Given "a" element with "title" "Snake bite" 1s 392ms

When I click on element 5s 847ms

Then "h2" element with "text" "Key investigations for snake bite" should be visible 1s 963ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=bite#topic" 4s 78ms

And I feature toggle "ENHANCED_SEARCH" to "true" 6s 754ms

Then I wait for 6 seconds 6s 4ms

When I click on the "Antibiotic" item in the side menu 10s 592ms Show Error +
                                            
TimeoutError: Waiting for element to be located By(xpath, //li[contains(@class, 'EnhancedSearchSideBar_guidelineContainer')]//div[contains(text(),'Antibiotic')]) Wait timed out after 10590ms at C:\agent\_work\20\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

When I wait for 2 seconds < 1ms

Given "a" element with "title" "Bite wound infections, including clenched-fist injury infections" < 1ms

When I click on element < 1ms

Then "h2" element with "text" "Empirical therapy for bite and clenched-fist injury infections associated with systemic features or deeper tissues" should be visible < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=cutaneous#topic" 8s 907ms

And I feature toggle "ENHANCED_SEARCH" to "true" 442ms

Then I wait for 6 seconds 6s

Given "a" element with "title" "Introduction to cutaneous manifestations of systemic disease" 41ms

When I scroll to element 21ms

When I wait for 2 seconds 2s 8ms

When I click on element 9s 837ms

Then "h2" element with "text" "Introduction to cutaneous manifestations of systemic disease" should be visible 1s 966ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=bite#topic" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "class" "slider-arrow hide" < 1ms

When I click on element < 1ms

Then I wait for 6 seconds < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=cutaneous#topic" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "title" "Introduction to cutaneous manifestations of systemic disease" < 1ms

When I scroll to element < 1ms

When I wait for 2 seconds < 1ms

When I click on element < 1ms

Then "h2" element with "text" "Introduction to cutaneous manifestations of systemic disease" should be visible < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=pneumonia#topic" 16s 505ms

And I feature toggle "ENHANCED_SEARCH" to "true" 98ms

Then I wait for 6 seconds 6s 6ms

Given "button" element with "title" "Save search" 145ms

When I scroll to element 206ms

When I wait for 2 seconds 2s 10ms

When I click on element 598ms

Then "a" element with "href" "/searchAction/?appendedinputbuttons=pneumonia" should be visible 32ms

After 45s 28ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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/searchAction/?appendedinputbuttons=pneumonia#topic" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "class" "slider-arrow hide" < 1ms

Then I click on element < 1ms

Then I wait for 4 seconds < 1ms

Given "button" element with "title" "Save search" < 1ms

When I scroll to element < 1ms

Then I click on element < 1ms

Then I wait for 2 seconds < 1ms

Given "div" element with "text" "My saved searches" should be visible < 1ms

Then "a" element with "href" "/searchAction/?appendedinputbuttons=pneumonia" should be visible < 1ms

When I scroll to the bottom of the screen < 1ms

When I wait for 2 seconds < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Addiction%20Medicine&topicfile=alcohol-drug-problems&guidelinename=auto&sectionId=c_AMG_What-is-covered-in-the-Addiction-guidelines_topic_2#c_AMG_What-is-covered-in-the-Addiction-guidelines_topic_2" 13s 182ms

And I feature toggle "ENHANCED_SEARCH" to "true" 210ms

When I wait for 5 seconds 5s 21ms

Given "input" element with "id" "searcher" 10s 628ms

When I enter "Addiction" 734ms

When I wait for 5 seconds 5s 5ms

Then "span" element with "text" "Addiction" should be visible 30s 165ms Show Error +
                                            
TimeoutError: Waiting element with locator to be visible Wait timed out after 30164ms at C:\agent\_work\20\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Oesophageal#topic" 10s 343ms

And I feature toggle "ENHANCED_SEARCH" to "true" 85ms

When I wait for 2 seconds 2s 14ms

Given "a" element with "title" "Distal oesophageal spasm" 318ms

When I click on element 4s 355ms

When I wait for 2 seconds 2s 9ms

Then "h2" element with "text" "Management of distal oesophageal spasm" should be visible 292ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Oesophageal#topic" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

When I wait for 2 seconds < 1ms

Given "a" element with "title" "Distal oesophageal spasm" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 2 seconds < 1ms

Then "h2" element with "text" "Management of distal oesophageal spasm" should be visible < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Pericarditis#topic" 10s 216ms

And I feature toggle "ENHANCED_SEARCH" to "true" 152ms

When I wait for 2 seconds 2s 10ms

Given "a" element with "title" "Pericarditis" 1s 256ms

When I click on element 3s 372ms

When I wait for 2 seconds 2s 7ms

Then "h2" element with "text" "Diagnosis of pericarditis" should be visible 207ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Rehabilitation#topic" 24s 660ms

And I feature toggle "ENHANCED_SEARCH" to "true" 117ms

When I wait for 2 seconds 2s 6ms

Given "a" element with "title" "Cardiac rehabilitation programs" 362ms

When I click on element 19s 269ms

When I wait for 2 seconds 2s 1ms

Then "h2" element with "text" "Introduction to cardiac rehabilitation programs" should be visible 30s 77ms Show Error +
                                            
TimeoutError: Waiting element with locator to be visible Wait timed out after 30077ms at C:\agent\_work\20\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=panic#topic" 12s 660ms

And I feature toggle "ENHANCED_SEARCH" to "true" 95ms

When I wait for 5 seconds 5s 11ms

Given "a" element with "title" "Panic attack" 126ms

When I click on element 37s 791ms

When I wait for 5 seconds 5s 5ms

Then "h2" element with "text" "Overview of panic attack" should be visible 321ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=depression#topic" 36s 27ms

And I feature toggle "ENHANCED_SEARCH" to "true" 297ms

When I wait for 5 seconds 5s

Given "a" element with "title" "Major depression" 4s 180ms

When I scroll to element 36ms

When I scroll up the window for 60px 664ms

Then I wait for 4 seconds 4s 3ms

When I click on element 10s 854ms

Then I wait for 4 seconds 4s

Then "h2" element with "text" "Features of major depression" should be visible 125ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=bipolar#topic" 31s 186ms

And I feature toggle "ENHANCED_SEARCH" to "true" 150ms

When I wait for 5 seconds 5s 14ms

Given "a" element with "title" "Depressive episodes in bipolar disorder" 69ms

When I scroll to element 51ms

When I scroll up the window for 60px 4s 171ms

Then I wait for 4 seconds 4s 2ms

When I click on element 10s 527ms

Then I wait for 4 seconds 4s 10ms

Then "h2" element with "text" "Principles of managing bipolar depression in adults and young people" should be visible 145ms

After 45s 830ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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/searchAction/?appendedinputbuttons=lithium" 17s 80ms

And I feature toggle "ENHANCED_SEARCH" to "true" 13s 614ms

When I wait for 5 seconds 5s 4ms

Given "a" element with "title" "Acute lithium poisoning" 92ms

When I click on element 7s 44ms

When I wait for 5 seconds 5s 15ms

Then "h2" element with "text" "Management overview for acute lithium poisoning" should be visible 500ms

Given I visit "http://localhost:3000/searchAction?appendedinputbuttons=azithromycin%20-%20diarrhoea%2C%20travellers#drugindication" 3s 846ms

And I feature toggle "ENHANCED_SEARCH" to "true" 5s 545ms

When I wait for 5 seconds 5s 5ms

And "button" element with "text" "Drug indication" 601ms

Then I click on element 1s 118ms

Then I should see "105 results" in the results span 61ms

Given "a" element with "title" "azithromycin" 341ms

When I click on element 28s 851ms

When I wait for 5 seconds 5s 2ms

Then 'h2' element with "text" "Treatment of moderate or severe travellers' diarrhoea" should be visible 261ms

After 55s 210ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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/searchAction/?appendedinputbuttons=bite#topic" 9s 940ms

And I feature toggle "ENHANCED_SEARCH" to "true" 177ms

When I wait for 6 seconds 6s 10ms

When I click on the "Antibiotic" item in the side menu 733ms

When I wait for 3 seconds 3s 11ms

Given "a" element with "title" "Bite wound infections, including clenched-fist injury infections" 569ms

After 1m 3s 54ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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/searchAction/?appendedinputbuttons=otitis#topic" 1m 27s 467ms

And I feature toggle "ENHANCED_SEARCH" to "true" 146ms

When I wait for 6 seconds 6s 17ms

Then element with "text" "externa" should be visible 1m 42s 477ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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)

Then element with "text" "media" should be visible < 1ms

Before 54s 786ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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/searchAction/?appendedinputbuttons=vitamin#topic" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

When I wait for 6 seconds < 1ms

Then element with "text" "D deficiency" should be visible < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=contraception#topic" 21s 223ms

And I feature toggle "ENHANCED_SEARCH" to "true" 114ms

When I wait for 6 seconds 6s 3ms

Then element with "text" "Combined hormonal" should be visible 61ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=elayed%20sleep%E2%80%93wake%20phase%20disorder#topic" 27s 679ms

And I feature toggle "ENHANCED_SEARCH" to "true" 68ms

When I wait for 6 seconds 6s 6ms

Given "a" element with "title" "Delayed sleep-wake phase disorder" 1m 40s 924ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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)

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then "h2" element with "text" "Delayed sleep-wake phase disorder" should be visible < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=sore%20throat#menu1" 24s 652ms

And I feature toggle "ENHANCED_SEARCH" to "true" 69ms

When I wait for 6 seconds 6s 5ms

Then "a" element with "title" "Sore throat" should be visible 2s 784ms

After 1m 40s 403ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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)

Before 1m 44s 944ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 45000 milliseconds at Timeout._onTimeout (C:\agent\_work\20\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/searchAction/?appendedinputbuttons=pneumonia#topic" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

When I wait for 6 seconds < 1ms

And "button" element with "text" "Topic" < 1ms

When I click on element < 1ms

Then "strong" element with "text" "Recommended drugs : " should not be visible < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=pneumonia#topic" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "title" "Search" < 1ms

When I click on element < 1ms

Then element with "id" "searchBoxEnhanced" should be visible < 1ms

And "span" element with "text" " results" should be visible < 1ms

And "button" element with "text" "Topic" < 1ms

When I click on element < 1ms

Then "strong" element with "text" "Recommended drugs : " should not be visible < 1ms

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

And I feature toggle "ENHANCED_SEARCH" to "true" 107ms

When I wait for 6 seconds 6s 14ms

Given "a" element with "text" "Drugs" 828ms

When I click on element 1s 129ms

Given "input" element with "id" "drugnamepopup" 177ms

When I click on element 818ms

When I enter "pyridostigmine" 737ms

Then option "pyridostigmine - myasthenia gravis" should be in dataList 64ms

Given "div" element with "class" "dropdown-item" 136ms

When I click on element 4s 981ms

Then "h2" element with "text" "Acetylcholinesterase inhibitors for symptoms of myasthenia gravis" should be visible 7s 899ms

Given I visit "http://localhost:3000/" < 1ms

Given "a" element with "class" "mobile-menu-button" < 1ms

Then I wait for 6 seconds < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I click on element < 1ms

When I enter "pyridostigmine" < 1ms

Then option "pyridostigmine - myasthenia gravis" should be in dataList < 1ms

Given "div" element with "class" "dropdown-item" < 1ms

When I click on element < 1ms

Then "h2" element with "text" "Acetylcholinesterase inhibitors for symptoms of myasthenia gravis" should be visible < 1ms

Given I visit "http://localhost:3000/#drugIndexModal" 9s 965ms

And I feature toggle "ENHANCED_SEARCH" to "true" 150ms

When I wait for 6 seconds 6s 14ms

Given "a" element with "text" "Drugs" 80ms

When I click on element 655ms

Given "input" element with "id" "drugnamepopup" 95ms

When I click on element 53s 731ms

When I enter "Budesonide" 1s

Then I pick element with "budesonide - croup, mild to moderate" from dataList 1s 564ms

Then "h2" element with "text" "Management of severe croup" should be visible 3s 615ms

Given I visit "http://localhost:3000/#drugIndexModal" < 1ms

Then I wait for 6 seconds < 1ms

Given "a" element with "class" "mobile-menu-button" < 1ms

When I click on element < 1ms

Given "a" element with "text" "Drugs" < 1ms

When I click on element < 1ms

Given "input" element with "id" "drugnamepopup" < 1ms

When I click on element < 1ms

When I enter "Budesonide" < 1ms

Then I pick element with "budesonide - croup, mild to moderate" from dataList < 1ms

Then "h2" element with "text" "Management of severe croup" should be visible < 1ms

Given I visit TGApp 23s 560ms

And I feature toggle "ENHANCED_SEARCH" to "true" 188ms

When I wait for 6 seconds 6s 6ms

Then element with "id" "searchBoxEnhanced" should be visible 53ms

When I click on element 657ms

And I enter "pneumonia" 179ms

When I wait for 2 seconds 2s 12ms

When I press enter on enhancedsearch input 1s 211ms

When I wait for 2 seconds 2s 13ms

And "button" element with "text" "Drug indication" 123ms

Then I click on element 1s 252ms

When I wait for 5 seconds 5s 4ms

Then I should see "279 results" in the results span 442ms

And "button" element with "text" "Topic" 192ms

Then I click on element 16s 939ms

When I wait for 3 seconds 3s 3ms

When I click on the "Palliative Care" item in the side menu 334ms

When I wait for 2 seconds 2s 2ms

Then "a" element with "title" "Pneumonia in palliative care" should be visible 5s 333ms

Given I visit TGApp < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

When I wait for 6 seconds < 1ms

Given "a" element with "title" "Search" < 1ms

When I click on element < 1ms

When I wait for 2 seconds < 1ms

Then element with "id" "searchBoxEnhanced" should be visible < 1ms

When I click on element < 1ms

And I enter "pneumonia" < 1ms

When I wait for 2 seconds < 1ms

When I press enter on enhancedsearch input < 1ms

When I wait for 2 seconds < 1ms

And "button" element with "text" "Drug indication" < 1ms

Then I click on element < 1ms

When I wait for 7 seconds < 1ms

Then I should see "279 results" in the results span < 1ms

And "button" element with "text" "Topic" < 1ms

Then I click on element < 1ms

When I wait for 2 seconds < 1ms

Given "a" element with "class" "slider-arrow hide" < 1ms

Then I click on element < 1ms

When I click on the "Palliative Care" item in the side menu < 1ms

When I wait for 2 seconds < 1ms

Then "a" element with "title" "Pneumonia in palliative care" should be visible < 1ms

Given I visit "http://localhost:3000/" 17s 193ms

And I feature toggle "ENHANCED_SEARCH" to "true" 114ms

Then I wait for 6 seconds 6s 1ms

And I set browser to offline mode 3ms

Then element with "id" "searchBoxEnhanced" should be visible 119ms

When I click on element 970ms

And I enter "infectious" 279ms

And element with "text" "Management of " should be visible 2s 264ms

And element with "data-testid" "clear-button" should be visible 403ms

When I click on element 628ms

Then "span" element with "text" "Management of " should not be visible 21ms

Then element with "id" "searchBoxEnhanced" should be visible 153ms

When I click on element 679ms

And I enter "infectiou" 254ms

And element with "text" "Management of " should be visible 1s 213ms

When I click on element 808ms

Then I wait for 8 seconds 8s 30ms

Then url should contain "ABG_Management-of-infectious-diarrhoea" 13s 733ms

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

And I feature toggle "ENHANCED_SEARCH" to "true" 67ms

Then I wait for 6 seconds 6s

Then element with "id" "searchBoxEnhanced" should be visible 582ms

When I click on element 1s 235ms

And I enter "diab" 158ms

And "span" element with "text" "Type 1" should be visible 2s 199ms

And element with "data-testid" "clear-button" should be visible 31ms

When I click on element 656ms

Then "span" element with "text" "diabetes" should not be visible 16ms

Then element with "id" "searchBoxEnhanced" should be visible 22ms

When I click on element 645ms

Then "div" element with "text" "Search for topics, conditions or drugs" should be visible 33ms

And "div" element with "text" "Recent and saved searches will show here" 33ms

And element with "id" "searchBoxEnhanced" should be visible 27ms

And I enter "diabetes" 91ms

And "span" element with "text" "Type 1" should be visible 894ms

And "div" element with "text" "drug" should be visible 28ms

And "div" element with "text" "topic" should be visible 33ms

And "span" element with "text" "Principles of management" should be visible 35ms

When I click on element 1s 187ms

Then url should contain "Diabetes" 15ms

Then I visit "http://localhost:3000/" 3s 971ms

And I feature toggle "ENHANCED_SEARCH" to "true" 277ms

Then I wait for 6 seconds 6s 6ms

Then element with "id" "searchBoxEnhanced" should be visible 28ms

When I click on element 603ms

Then "button" element with "text" "Recent" should be visible 220ms

Then "button" element with "text" "Saved" should be visible 29ms

Then "span" element with "text" "Principles of management" should be visible 30s 104ms Show Error +
                                            
TimeoutError: Waiting element with locator to be visible Wait timed out after 30103ms at C:\agent\_work\20\s\node_modules\selenium-webdriver\lib\webdriver.js:901:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Then element with "id" "searchBoxEnhanced" should be visible < 1ms

When I click on element < 1ms

And I enter "paracetamol" < 1ms

Then I wait for 2 seconds < 1ms

And "b" element with "text" "paracetamol" should be visible < 1ms

And "div" element with "text" "drug" should be visible < 1ms

And "div" element with "text" "topic" should be visible < 1ms

And "span" element with "text" "immediate-release preparations" should be visible < 1ms

When I click on element < 1ms

Then url should contain "Toxicology%20and%20Toxinology" < 1ms

Then I visit "http://localhost:3000/" < 1ms

And I feature toggle "ENHANCED_SEARCH" to "true" < 1ms

Then I wait for 6 seconds < 1ms

Then element with "id" "searchBoxEnhanced" should be visible < 1ms

When I click on element < 1ms

Then "button" element with "text" "Recent" should be visible < 1ms

Then "button" element with "text" "Saved" should be visible < 1ms

Then "span" element with "text" "Principles of management" should be visible < 1ms

Then "span" element with "text" "immediate-release preparations" should be visible < 1ms