All Scenarios

124

Passed Scenarios

92

Failed Scenarios

4

Skipped Scenarios

28

Execution Time: 41m 58s 325ms

Expand All | Collapse All

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

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

When I wait for 6 seconds 7s 324ms

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

When I click on element 1s 380ms

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

When I click on element 1s 5ms

When I wait for 2 seconds 2s 12ms

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

When I wait for 6 seconds 6s 32ms

Given "p" element with "id" "agg7-c07-para18" 262ms

When I scroll element into center view 1s 441ms

Then element should have css "height" "40px" 142ms

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

When I wait for 2 seconds 2s 7ms

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/" 15s 451ms

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

Then I wait for 6 seconds 6s 15ms

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

When I click on element 709ms

And I enter "ibuprofen" 204ms

When I wait for 2 seconds 2s 13ms

When I press enter on enhancedsearch input 748ms

When I wait for 2 seconds 2s 4ms

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

Then I click on element 747ms

When I wait for 2 seconds 2s 7ms

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

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/" 5s 246ms

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

When I wait for 6 seconds 6s 10ms

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

When I click on element 1s 5ms

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

When I wait for 6 seconds 6s 24ms

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

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" 21s 562ms

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

Then I wait for 4 seconds 4s 10ms

When I click on the "Psychotropic" item in the side menu 3s 411ms

When I wait for 4 seconds 4s 8ms

When I scroll to the bottom of the screen 672ms

When I wait for 4 seconds 4s 15ms

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

When I wait for 4 seconds 4s 16ms

When I click on element 1s 440ms

When I wait for 3 seconds 3s 14ms

When I click on element 749ms

When I wait for 4 seconds 4s 13ms

When I click on element 719ms

When I wait for 4 seconds 4s 21ms

When I click on element 11s 553ms

When I wait for 4 seconds 4s 14ms

When I wait for 4 seconds 4s 33ms

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

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

When I click on element 4s 267ms

When I wait for 4 seconds 4s 2ms

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

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

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

Then I wait for 4 seconds 4s 14ms

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

When I wait for 4 seconds 4s 10ms

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

When I click on element 3s 610ms

When I wait for 4 seconds 4s 16ms

Given "h2" element with "text" "Approach to managing peritonsillar abscess and cellulitis" 67ms

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

And I feature toggle "ENHANCED_SEARCH" to "true" 22s 486ms

When I wait for 4 seconds 4s 2ms

When I scroll to the bottom of the screen 1s 319ms

When I wait for 4 seconds 4s 10ms

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

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

And I feature toggle "ENHANCED_SEARCH" to "true" 8s 333ms

When I wait for 4 seconds 4s 3ms

When I scroll to the bottom of the screen 1s 66ms

When I wait for 4 seconds 4s 19ms

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

When I click on element 1s 234ms

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

When I click on element 3s 904ms

When I wait for 4 seconds 4s 1ms

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

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=hepatitis%20b#topic" 9s 596ms

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

When I wait for 4 seconds 4s 5ms

When I scroll to the bottom of the screen 803ms

When I wait for 4 seconds 4s 13ms

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

When I click on element 736ms

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

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

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

Then I wait for 4 seconds 4s 6ms

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

When I click on element 6s 174ms

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

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

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

Then I wait for 5 seconds 5s 12ms

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

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

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

Then I click on element 678ms

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

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

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

Then I wait for 5 seconds 5s 6ms

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

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

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

Then I click on element 1s 176ms

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

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

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

Then I wait for 5 seconds 5s 11ms

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

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

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

Then I click on element 1s 27ms

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

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

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

Then I wait for 5 seconds 5s 10ms

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

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

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

Then I click on element 835ms

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

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

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

Then I wait for 5 seconds 5s 13ms

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

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

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

Then I click on element 660ms

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

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

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

Then I wait for 5 seconds 5s 14ms

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

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

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

Then I click on element 1s 93ms

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

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

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

Then I wait for 5 seconds 5s 5ms

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

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

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

Then I click on element 665ms

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

Given I visit "http://localhost:3000/searchAction?appendedinputbuttons=streptococcal%20Tonsillitis" 10s 17ms

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

Then I wait for 6 seconds 6s 4ms

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

When I click on element 4s 597ms

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

Given I visit "http://localhost:3000/#drugIndexModal" 4s 228ms

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

When I wait for 6 seconds 6s 4ms

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

When I click on element 857ms

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

When I click on element 600ms

When I enter "pyridostigmine" 707ms

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

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

When I click on element 1s 237ms

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

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

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

Then I wait for 6 seconds 6s 8ms

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

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

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

Then I click on element 2s 28ms

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

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

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

Then I wait for 5 seconds 5s 8ms

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

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

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

Then I click on element 6s 372ms

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

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

When I wait for 5 seconds 5s 9ms

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

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" 8s 59ms

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

When I wait for 5 seconds 5s 9ms

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

When I click on element 5s 481ms

When I wait for 5 seconds 5s 2ms

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

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

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

When I wait for 5 seconds 5s

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

When I click on element 3s 747ms

When I wait for 5 seconds 5s 5ms

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

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" 5s 86ms

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

When I wait for 8 seconds 8s 8ms

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

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

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

Then I wait for 6 seconds 6s 16ms

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

When I click on element 882ms

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

When I enter "naproxen" in the drug index 873ms

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

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

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

Then I wait for 5 seconds 5s 10ms

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

When I click on element 823ms

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

When I wait for 2 seconds 2s 18ms

When I press enter on enhancedsearch input 514ms

When I wait for 2 seconds 2s 9ms

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

Then I should see "298 results" in the results span 5s 101ms Show Error +
                                            
TimeoutError: Waiting for element to be located By(xpath, //span[normalize-space()="298 results"]) Wait timed out after 5098ms 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

Given I visit TGApp 6s 789ms

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

When I wait for 6 seconds 6s 14ms

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

When I click on element 797ms

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

When I enter "methylprednisolone" in the drug index 916ms

When I wait for 5 seconds 5s 14ms

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

When I wait for 5 seconds 5s 9ms

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

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

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

Then I wait for 6 seconds 6s 12ms

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

When I click on element 886ms

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

When I click on element 761ms

When I wait for 2 seconds 2s 2ms

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

Then "ditatitle" element with "text" "Antidote: digoxin immune Fab" should be visible 4s 706ms

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

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

Then I wait for 6 seconds 6s 3ms

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

When I click on element 785ms

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

When I click on element 741ms

When I wait for 2 seconds 2s 15ms

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

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

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

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

Then I wait for 6 seconds 6s 3ms

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

When I click on element 716ms

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

When I click on element 583ms

When I wait for 2 seconds 2s 2ms

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

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

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

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

Then I wait for 6 seconds 6s 12ms

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

When I click on element 2s 664ms

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

When I click on element 908ms

When I wait for 2 seconds 2s 9ms

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

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

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

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

Then I wait for 6 seconds 6s 9ms

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

When I click on element 1s 650ms

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

When I click on element 636ms

When I wait for 2 seconds 2s 15ms

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

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

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

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

Then I wait for 6 seconds 6s 1ms

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

When I click on element 821ms

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

When I enter "metronidazole - bacterial vaginosis" 4s 27ms

Then I wait for 6 seconds 6s 8ms

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

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 10s 417ms

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

Then I wait for 6 seconds 6s 4ms

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

When I click on element 1s 312ms

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

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

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

When I wait for 5 seconds 5s 13ms

Given "h5" element with "text" "Calcium therapy" 1s 243ms

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" 8s 899ms

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

Then I wait for 6 seconds 6s 12ms

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

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

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

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

Then I wait for 6 seconds 6s 14ms

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

Given I visit TGApp 8s 162ms

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

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

When I click on element 976ms

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

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

When I wait for 2 seconds 2s 4ms

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

When I wait for 2 seconds 2s 6ms

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

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/" 5s 156ms

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

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

When I click on element 1s 225ms

And I enter "amoxicillin" 169ms

When I wait for 2 seconds 2s 14ms

When I press enter on enhancedsearch input 279ms

When I wait for 2 seconds 2s 6ms

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

Then I click on element 2s 31ms

When I wait for 2 seconds 2s 2ms

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

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

Then I click on element 697ms

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

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

When I click on element 3s 822ms

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 2s 542ms

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

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

When I wait for 6 seconds 6s 2ms

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

Then I click on element 788ms

When I wait for 2 seconds 2s 9ms

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

When I wait for 2 seconds 2s 3ms

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

When I wait for 2 seconds 2s 17ms

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

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

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

When I wait for 6 seconds 6s 5ms

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

Then I click on element 642ms

When I wait for 3 seconds 3s 11ms

Given "a" element with "text" "Acute " 1s 93ms

Then I click on element 3s 189ms

When I wait for 3 seconds 3s 22ms

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

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

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

When I wait for 6 seconds 6s 15ms

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

Then I click on element 3s 430ms

When I wait for 3 seconds 3s 5ms

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

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

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

When I wait for 6 seconds 6s 5ms

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

Then I click on element 3s 621ms

When I wait for 2 seconds 2s 2ms

Then "h2" element with "text" "Prevention of frostbite" should be visible 1s 944ms

Then I click on element 2s 163ms

When I wait for 2 seconds 2s 10ms

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

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

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

When I wait for 6 seconds 6s 13ms

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

Then I click on element 748ms

When I wait for 3 seconds 3s 14ms

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

Then I click on element 32s 991ms

When I wait for 2 seconds 2s 2ms

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

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

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

When I wait for 6 seconds 6s 11ms

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

Then I click on element 599ms

When I wait for 3 seconds 3s 2ms

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

Then I click on element 18s 179ms

When I wait for 2 seconds 2s 12ms

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

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

And I feature toggle "ENHANCED_SEARCH" to "true" 20s 339ms

When I wait for 6 seconds 6s 17ms

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

Then I click on element 623ms

When I wait for 3 seconds 3s 2ms

Given "b" element with "text" "cystitis" 30s 379ms Show Error +
                                            
TimeoutError: Waiting element with locator to be visible Wait timed out after 30377ms 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 2 seconds < 1ms

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

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

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

When I wait for 6 seconds 6s 3ms

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

Then I click on element 637ms

When I wait for 3 seconds 3s 9ms

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

Then I click on element 3s 246ms

When I wait for 2 seconds 2s 8ms

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

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

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

When I wait for 6 seconds 6s 1ms

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

Then I click on element 648ms

When I wait for 8 seconds 8s 12ms

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

Then I click on element 3s 908ms

When I wait for 6 seconds 6s 4ms

Then "h4" element with "text" "Overview of management of functional diarrhoea" should be visible 32ms

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

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

When I wait for 6 seconds 6s 12ms

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

Then I click on element 803ms

When I wait for 8 seconds 8s 5ms

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

Then I click on element 5s 72ms

When I wait for 6 seconds 6s 10ms

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

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

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

When I wait for 6 seconds 6s 14ms

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

Then I click on element 667ms

When I wait for 6 seconds 6s 5ms

Then I click on the partial text " in people with developmental disability" 4s 441ms

When I wait for 6 seconds 6s 15ms

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

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

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

When I wait for 6 seconds 6s 15ms

When I scroll to the bottom of the screen 603ms

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

When I click on element 829ms

Then I wait for 6 seconds 6s 2ms

Given "a" element with "text" "Influenza" 34ms

Then I click on element 6s 882ms

When I wait for 6 seconds 6s

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

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

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

When I wait for 6 seconds 6s

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

Then I click on element 818ms

When I wait for 6 seconds 6s 6ms

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

Then I click on element 6s 404ms

When I wait for 6 seconds 6s 2ms

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

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

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

When I wait for 6 seconds 6s 7ms

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

Then I click on element 756ms

When I wait for 3 seconds 3s 5ms

Given "b" element with "text" "infection" 100ms

Then I click on element 4s 482ms

When I wait for 2 seconds 2s 6ms

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

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

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

When I wait for 6 seconds 6s 12ms

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

Then I click on element 981ms

When I wait for 6 seconds 6s 7ms

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

Then I click on element 3s 762ms

When I wait for 6 seconds 6s 2ms

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

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

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

When I wait for 6 seconds 6s 8ms

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

Then I click on element 2s 367ms

When I wait for 6 seconds 6s 3ms

Given "b" element with "text" "Approach" 30ms

Then I click on element 3s 744ms

When I wait for 6 seconds 6s 4ms

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

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

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

When I wait for 6 seconds 6s 1ms

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

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

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

Then I click on element 3s 528ms

Then I should see "79 results" in the results span 62ms

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

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

When I wait for 6 seconds 6s 10ms

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

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

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

Then I click on element 930ms

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

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

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

When I wait for 6 seconds 6s

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

Then I should see "110 results" in the results span 56ms

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

Then I click on element 1s 47ms

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

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

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

When I wait for 6 seconds 6s 12ms

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

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

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

Then I click on element 690ms

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

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

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

When I wait for 6 seconds 6s 4ms

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

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

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

Then I click on element 1s 471ms

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

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

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

When I wait for 6 seconds 6s 15ms

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

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

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

Then I click on element 708ms

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

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

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

Then I wait for 6 seconds 6s 6ms

Then "a" element with "text" " helminths (worms)" 118ms

When I scroll to element 60ms

When I click on element 4s 649ms

Then "h2" element with "text" "Dog hookworm infection" should be visible 1s 467ms

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

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

When I wait for 5 seconds 5s 15ms

When I scroll to the bottom of the screen 667ms

When I wait for 4 seconds 4s 14ms

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

When I click on element 976ms

When I wait for 3 seconds 3s 2ms

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

When I scroll to element 19ms

When I click on element 3s 386ms

Then "h1" element with "text" "Fetal alcohol spectrum disorder" should be visible 3s 228ms

When I click on element 691ms

When I wait for 5 seconds 5s 2ms

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

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

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

When I wait for 6 seconds 6s 2ms

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

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

Then I click on the partial text "in palliative care" 3s 76ms

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

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

When I wait for 6 seconds 6s 5ms

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

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

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

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

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

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

When I wait for 6 seconds 6s 8ms

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

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

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

Then I click on the partial text "in specific age groups" 2s 774ms

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

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

Then I wait for 6 seconds 6s 3ms

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

Then I click on element 4s 110ms

When I wait for 3 seconds 3s 8ms

Given "h4" element with "text" "Treatment" 2s 783ms

When I scroll to element 22ms

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

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/" 8s 952ms

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

Then I wait for 6 seconds 6s 16ms

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

When I click on element 853ms

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

When I click on element 628ms

When I enter "paracetamol - acute pain, severe" 1s 780ms

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

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

When I click on element 1s 843ms

When I wait for 2 seconds 2s 2ms

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

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

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

Then I wait for 6 seconds 6s 11ms

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

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

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

When I wait for 5 seconds 5s 15ms

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

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

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

Then I wait for 6 seconds 6s 5ms

Given "a" element with "title" "Cutaneous drug reactions" 736ms

When I click on element 7s 572ms

When I wait for 6 seconds 6s 8ms

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

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

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

Then I wait for 6 seconds 6s 5ms

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

When I click on element 3s 738ms

When I wait for 6 seconds 6s 1ms

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

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Screening%20and%20management%20of%20people%20at%20risk%20of%20developing#topic" 5s 732ms

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

Then I wait for 8 seconds 8s 7ms

Given "a" element with "title" "Screening and management of people at risk of developing type 2 diabetes" 394ms

When I click on element 5s 350ms

When I wait for 6 seconds 6s 11ms

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

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

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

Then I wait for 6 seconds 6s 12ms

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

When I click on element 2s 334ms

When I wait for 6 seconds 6s 7ms

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

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

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

Then I wait for 6 seconds 6s 10ms

Given "a" element with "title" "Snake bite" 45ms

When I click on element 17s 646ms

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

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

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

Then I wait for 6 seconds 6s 15ms

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

When I wait for 2 seconds 2s 3ms

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

When I click on element 4s 34ms

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

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

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

Then I wait for 6 seconds 6s 7ms

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

When I scroll to element 52ms

When I wait for 2 seconds 2s 1ms

When I click on element 3s 304ms

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

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" 13s 8ms

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

Then I wait for 6 seconds 6s 4ms

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

When I scroll to element 40ms

When I wait for 2 seconds 2s 11ms

When I click on element 904ms

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

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

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

When I wait for 5 seconds 5s 13ms

Given "input" element with "id" "searcher" 354ms

When I enter "Addiction" 208ms

When I wait for 5 seconds 5s 5ms

Then "span" element with "text" "Addiction" should be visible 1s 422ms

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

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

When I wait for 2 seconds 2s 14ms

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

When I click on element 4s 301ms

When I wait for 2 seconds 2s 7ms

Then "h2" element with "text" "Management of distal oesophageal spasm" should be visible 30s 132ms Show Error +
                                            
TimeoutError: Waiting element with locator to be visible Wait timed out after 30132ms 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" < 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" 7s 598ms

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

When I wait for 2 seconds 2s 5ms

Given "a" element with "title" "Pericarditis" 43ms

When I click on element 2s 996ms

When I wait for 2 seconds 2s 3ms

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

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

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

When I wait for 2 seconds 2s 5ms

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

When I click on element 3s 257ms

When I wait for 2 seconds 2s 14ms

Then "h2" element with "text" "Introduction to cardiac rehabilitation programs" should be visible 1s 95ms

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

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

When I wait for 5 seconds 5s 9ms

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

When I click on element 3s 484ms

When I wait for 5 seconds 5s 4ms

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

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

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

When I wait for 5 seconds 5s 1ms

Given "a" element with "title" "Major depression" 1s 230ms

When I scroll to element 331ms

When I scroll up the window for 60px 108ms

Then I wait for 4 seconds 4s 21ms

When I click on element 3s 750ms

Then I wait for 4 seconds 4s 4ms

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

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

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

When I wait for 5 seconds 5s 10ms

Given "a" element with "title" "Depressive episodes in bipolar disorder" 1s 118ms

When I scroll to element 117ms

When I scroll up the window for 60px 14ms

Then I wait for 4 seconds 4s 12ms

When I click on element 2s 993ms

Then I wait for 4 seconds 4s 6ms

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

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=lithium" 5s 878ms

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

When I wait for 5 seconds 5s 6ms

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

When I click on element 7s 386ms

When I wait for 5 seconds 5s 7ms

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

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

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

When I wait for 5 seconds 5s 11ms

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

Then I click on element 675ms

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

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

When I click on element 3s 577ms

When I wait for 5 seconds 5s 2ms

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

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

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

When I wait for 6 seconds 6s 4ms

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

When I wait for 3 seconds 3s 12ms

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

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

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

When I wait for 6 seconds 6s 8ms

Then element with "text" "externa" should be visible 53ms

Then element with "text" "media" should be visible 31ms

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

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

When I wait for 6 seconds 6s 14ms

Then element with "text" "D deficiency" should be visible 91ms

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

And I feature toggle "ENHANCED_SEARCH" to "true" 4s 839ms

When I wait for 6 seconds 6s 14ms

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

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

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

When I wait for 6 seconds 6s 7ms

Given "a" element with "title" "Delayed sleep-wake phase disorder" 283ms

When I click on element 7s 645ms

When I wait for 5 seconds 5s 11ms

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

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

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

When I wait for 6 seconds 6s 8ms

Then "a" element with "title" "Sore throat" should be visible 113ms

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

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

When I wait for 6 seconds 6s 2ms

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

When I click on element 620ms

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

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/" 7s 828ms

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

When I wait for 6 seconds 6s 13ms

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

When I click on element 1s 669ms

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

When I click on element 599ms

When I enter "pyridostigmine" 654ms

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

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

When I click on element 1s 267ms

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

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" 8s 134ms

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

When I wait for 6 seconds 6s 7ms

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

When I click on element 915ms

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

When I click on element 634ms

When I enter "Budesonide" 505ms

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

Then "h2" element with "text" "Management of severe croup" should be visible 2s 701ms

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

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

When I wait for 6 seconds 6s 7ms

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

When I click on element 761ms

And I enter "pneumonia" 220ms

When I wait for 2 seconds 2s 9ms

When I press enter on enhancedsearch input 253ms

When I wait for 2 seconds 2s 3ms

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

Then I click on element 1s 404ms

When I wait for 5 seconds 5s 11ms

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

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

Then I click on element 656ms

When I wait for 3 seconds 3s 6ms

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

When I wait for 2 seconds 2s 14ms

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

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/" 7s 7ms

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

Then I wait for 6 seconds 6s 7ms

And I set browser to offline mode 3ms

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

When I click on element 607ms

And I enter "infectious" 188ms

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

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

When I click on element 604ms

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

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

When I click on element 614ms

And I enter "infectiou" 60ms

And element with "text" "Management of " should be visible 930ms

When I click on element 1s 678ms

Then I wait for 8 seconds 8s 15ms

Then url should contain "ABG_Management-of-infectious-diarrhoea" 584ms

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

And I feature toggle "ENHANCED_SEARCH" to "true" 4s 348ms

Then I wait for 6 seconds 6s 7ms

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

When I click on element 633ms

And I enter "diab" 69ms

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

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

When I click on element 684ms

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

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

When I click on element 600ms

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

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

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

And I enter "diabetes" 92ms

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

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

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

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

When I click on element 796ms

Then url should contain "Diabetes" 314ms

Then I visit "http://localhost:3000/" 1s 540ms

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

Then I wait for 6 seconds 6s 10ms

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

When I click on element 580ms

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

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

Then "span" element with "text" "Principles of management" should be visible 30s 57ms Show Error +
                                            
TimeoutError: Waiting element with locator to be visible Wait timed out after 30057ms 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