All Scenarios

124

Passed Scenarios

94

Failed Scenarios

2

Skipped Scenarios

28

Execution Time: 40m 17s 505ms

Expand All | Collapse All

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

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

When I wait for 6 seconds 6s 38ms

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

When I click on element 1s 521ms

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

When I click on element 1s 429ms

When I wait for 2 seconds 2s 6ms

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

When I wait for 6 seconds 6s 16ms

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

When I scroll element into center view 1s 33ms

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

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

When I wait for 2 seconds 2s 6ms

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

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

Then I wait for 6 seconds 6s 13ms

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

When I click on element 633ms

And I enter "ibuprofen" 310ms

When I wait for 2 seconds 2s 5ms

When I press enter on enhancedsearch input 363ms

When I wait for 2 seconds 2s 12ms

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

Then I click on element 668ms

When I wait for 2 seconds 2s 13ms

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

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

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

When I wait for 6 seconds 6s 12ms

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

When I click on element 832ms

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

When I wait for 6 seconds 6s 11ms

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

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

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

Then I wait for 4 seconds 4s 8ms

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

When I wait for 4 seconds 4s 13ms

When I scroll to the bottom of the screen 549ms

When I wait for 4 seconds 4s 2ms

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

When I wait for 4 seconds 4s 4ms

When I click on element 1s 76ms

When I wait for 3 seconds 3s 10ms

When I click on element 619ms

When I wait for 4 seconds 4s 13ms

When I click on element 1s 941ms

When I wait for 4 seconds 4s 2ms

When I click on element 4s 520ms

When I wait for 4 seconds 4s 6ms

When I wait for 4 seconds 4s 15ms

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

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

When I click on element 4s 50ms

When I wait for 4 seconds 4s 13ms

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

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

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

Then I wait for 4 seconds 4s 2ms

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

When I wait for 4 seconds 4s 4ms

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

When I click on element 2s 695ms

When I wait for 4 seconds 4s 5ms

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

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

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

When I wait for 4 seconds 4s 8ms

When I scroll to the bottom of the screen 553ms

When I wait for 4 seconds 4s 70ms

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

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

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

When I wait for 4 seconds 4s 14ms

When I scroll to the bottom of the screen 567ms

When I wait for 4 seconds 4s 17ms

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

When I click on element 846ms

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

When I click on element 3s 824ms

When I wait for 4 seconds 4s 2ms

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

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

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

When I wait for 4 seconds 4s 9ms

When I scroll to the bottom of the screen 540ms

When I wait for 4 seconds 4s 15ms

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

When I click on element 932ms

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

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

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

Then I wait for 4 seconds 4s 1ms

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

When I click on element 3s 493ms

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

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

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

Then I wait for 5 seconds 5s 13ms

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

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

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

Then I click on element 671ms

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

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

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

Then I wait for 5 seconds 5s 15ms

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

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

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

Then I click on element 1s 160ms

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

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

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

Then I wait for 5 seconds 5s 2ms

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

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

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

Then I click on element 744ms

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

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

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

Then I wait for 5 seconds 5s 1ms

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

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

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

Then I click on element 7s 358ms

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

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

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

Then I wait for 5 seconds 5s 5ms

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

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

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

Then I click on element 625ms

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

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

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

Then I wait for 5 seconds 5s 10ms

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

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

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

Then I click on element 2s 6ms

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

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

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

Then I wait for 5 seconds 5s 2ms

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

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

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

Then I click on element 643ms

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

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

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

Then I wait for 6 seconds 6s 7ms

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

When I click on element 3s 887ms

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

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

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

When I wait for 6 seconds 6s 11ms

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

When I click on element 857ms

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

When I click on element 714ms

When I enter "pyridostigmine" 690ms

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

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

When I click on element 4s 795ms

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

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" 11s 973ms

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

Then I wait for 6 seconds 6s 2ms

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

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

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

Then I click on element 618ms

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

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

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

Then I wait for 5 seconds 5s 2ms

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

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

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

Then I click on element 727ms

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

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

When I wait for 5 seconds 5s 1ms

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

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" 11s 932ms

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

When I wait for 5 seconds 5s 8ms

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

When I click on element 2s 959ms

When I wait for 5 seconds 5s 12ms

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

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

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

When I wait for 5 seconds 5s 15ms

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

When I click on element 4s 59ms

When I wait for 5 seconds 5s 8ms

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

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" 11s 919ms

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

When I wait for 8 seconds 8s 16ms

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

Given I visit "http://localhost:3000/" 1s 689ms

And I feature toggle "ENHANCED_SEARCH" to "true" 3s 675ms

Then I wait for 6 seconds 6s 4ms

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

When I click on element 1s 373ms

Given "input" element with "id" "drugnamepopup" 1s 215ms

When I enter "naproxen" in the drug index 3s 375ms

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

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 5s 287ms

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

Then I wait for 5 seconds 5s 14ms

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

When I click on element 647ms

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

When I wait for 2 seconds 2s 8ms

When I press enter on enhancedsearch input 451ms

When I wait for 2 seconds 2s 5ms

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

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

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

When I wait for 6 seconds 6s 7ms

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

When I click on element 898ms

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

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

When I wait for 5 seconds 5s 13ms

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

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

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

And I feature toggle "ENHANCED_SEARCH" to "true" 3s 893ms

Then I wait for 6 seconds 6s 4ms

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

When I click on element 936ms

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

When I click on element 886ms

When I wait for 2 seconds 2s 7ms

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

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

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

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

Then I wait for 6 seconds 6s 3ms

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

When I click on element 1s 605ms

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

When I click on element 1s 191ms

When I wait for 2 seconds 2s 4ms

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

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

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

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

Then I wait for 6 seconds 6s 14ms

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

When I click on element 660ms

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

When I click on element 611ms

When I wait for 2 seconds 2s 7ms

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

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

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

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

Then I wait for 6 seconds 6s 5ms

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

When I click on element 2s 739ms

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

When I click on element 1s 824ms

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

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

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

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

Then I wait for 6 seconds 6s 3ms

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

When I click on element 705ms

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

When I click on element 749ms

When I wait for 2 seconds 2s 19ms

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

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

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

And I feature toggle "ENHANCED_SEARCH" to "true" 3s 479ms

Then I wait for 6 seconds 6s 13ms

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

When I click on element 1s 263ms

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

When I enter "metronidazole - bacterial vaginosis" 3s 556ms

Then I wait for 6 seconds 6s 13ms

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

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 5s 472ms

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

Then I wait for 6 seconds 6s 2ms

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

When I click on element 873ms

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

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

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

When I wait for 5 seconds 5s 5ms

Given "h5" element with "text" "Calcium therapy" 733ms

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

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

Then I wait for 6 seconds 6s 3ms

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

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

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

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

Then I wait for 6 seconds 6s 5ms

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

Given I visit TGApp 16s 795ms

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

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

When I click on element 1s 25ms

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

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

When I wait for 2 seconds 2s 9ms

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

When I wait for 2 seconds 2s 7ms

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

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

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

Then element with "id" "searchBoxEnhanced" should be visible 1s 808ms

When I click on element 1s 213ms

And I enter "amoxicillin" 193ms

When I wait for 2 seconds 2s 3ms

When I press enter on enhancedsearch input 2s 712ms

When I wait for 2 seconds 2s 6ms

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

Then I click on element 743ms

When I wait for 2 seconds 2s 12ms

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

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

Then I click on element 597ms

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

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

When I click on element 3s 547ms

Then I wait for 2 seconds 2s 14ms

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

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

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

When I wait for 6 seconds 6s 3ms

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

Then I click on element 1s 363ms

When I wait for 2 seconds 2s 12ms

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

When I wait for 2 seconds 2s 7ms

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

When I wait for 2 seconds 2s 4ms

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

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

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

When I wait for 6 seconds 6s 13ms

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

Then I click on element 636ms

When I wait for 3 seconds 3s 8ms

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

Then I click on element 10s 475ms

When I wait for 3 seconds 3s 9ms

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

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

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

When I wait for 6 seconds 6s 15ms

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

Then I click on element 3s 298ms

When I wait for 3 seconds 3s 12ms

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

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

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

When I wait for 6 seconds 6s 11ms

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

Then I click on element 6s 451ms

When I wait for 2 seconds 2s 5ms

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

Then I click on element 716ms

When I wait for 2 seconds 2s 3ms

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

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

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

When I wait for 6 seconds 6s 1ms

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

Then I click on element 1s 304ms

When I wait for 3 seconds 3s 11ms

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

Then I click on element 6s 772ms

When I wait for 2 seconds 2s 1ms

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

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

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

When I wait for 6 seconds 6s 6ms

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

Then I click on element 907ms

When I wait for 3 seconds 3s 4ms

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

Then I click on element 3s 696ms

When I wait for 2 seconds 2s 9ms

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

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

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

When I wait for 6 seconds 6s 3ms

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

Then I click on element 649ms

When I wait for 3 seconds 3s 14ms

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

Then I click on element 5s 954ms

When I wait for 2 seconds 2s 13ms

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

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

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

When I wait for 6 seconds 6s 11ms

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

Then I click on element 727ms

When I wait for 3 seconds 3s 2ms

Given "b" element with "text" "cystitis" 1s 406ms

Then I click on element 5s 351ms

When I wait for 2 seconds 2s 14ms

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

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

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

When I wait for 6 seconds 6s 9ms

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

Then I click on element 587ms

When I wait for 8 seconds 8s 4ms

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

Then I click on element 4s 306ms

When I wait for 6 seconds 6s 3ms

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

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

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

When I wait for 6 seconds 6s 7ms

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

Then I click on element 607ms

When I wait for 8 seconds 8s 13ms

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

Then I click on element 5s 260ms

When I wait for 6 seconds 6s 11ms

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

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

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

When I wait for 6 seconds 6s 5ms

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

Then I click on element 851ms

When I wait for 6 seconds 6s 7ms

Then I click on the partial text " in people with developmental disability" 2s 673ms

When I wait for 6 seconds 6s 1ms

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

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

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

When I wait for 6 seconds 6s 2ms

When I scroll to the bottom of the screen 641ms

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

When I click on element 733ms

Then I wait for 6 seconds 6s 5ms

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

Then I click on element 3s 791ms

When I wait for 6 seconds 6s 5ms

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

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

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

When I wait for 6 seconds 6s 19ms

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

Then I click on element 923ms

When I wait for 6 seconds 6s 3ms

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

Then I click on element 3s 653ms

When I wait for 6 seconds 6s 13ms

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

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

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

When I wait for 6 seconds 6s 7ms

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

Then I click on element 669ms

When I wait for 3 seconds 3s 3ms

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

Then I click on element 6s 387ms

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

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

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

When I wait for 6 seconds 6s 10ms

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

Then I click on element 658ms

When I wait for 6 seconds 6s 3ms

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

Then I click on element 5s 698ms

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

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

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

When I wait for 6 seconds 6s 2ms

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

Then I click on element 809ms

When I wait for 6 seconds 6s 6ms

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

Then I click on element 3s 948ms

When I wait for 6 seconds 6s 12ms

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

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

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

When I wait for 6 seconds 6s 11ms

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

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

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

Then I click on element 827ms

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

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

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

When I wait for 6 seconds 6s 10ms

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

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

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

Then I click on element 769ms

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

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

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

When I wait for 6 seconds 6s 15ms

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

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

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

Then I click on element 3s 783ms

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

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

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

When I wait for 6 seconds 6s 2ms

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

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

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

Then I click on element 857ms

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

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

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

When I wait for 6 seconds 6s 7ms

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

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

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

Then I click on element 769ms

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

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

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

When I wait for 6 seconds 6s 5ms

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

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

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

Then I click on element 1s 148ms

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

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

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

Then I wait for 6 seconds 6s 10ms

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

When I scroll to element 185ms

When I click on element 2s 444ms

Then "h2" element with "text" "Dog hookworm infection" should be visible 2s 709ms

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

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

When I wait for 5 seconds 5s 6ms

When I scroll to the bottom of the screen 578ms

When I wait for 4 seconds 4s 5ms

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

When I click on element 666ms

When I wait for 3 seconds 3s 1ms

Given "a" element with "text" "Fetal " 1s 247ms

When I scroll to element 64ms

When I click on element 2s 934ms

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

When I click on element 4s 483ms

When I wait for 5 seconds 5s 10ms

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

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

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

When I wait for 6 seconds 6s 9ms

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

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

Then I click on the partial text "in palliative care" 2s 576ms

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

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

When I wait for 6 seconds 6s 15ms

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

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

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

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

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

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

When I wait for 6 seconds 6s 1ms

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

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

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

Then I click on the partial text "in specific age groups" 4s 22ms

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

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

Then I wait for 6 seconds 6s 9ms

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

Then I click on element 3s 956ms

When I wait for 3 seconds 3s 14ms

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

When I scroll to element 101ms

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

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

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

Then I wait for 6 seconds 6s 9ms

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

When I click on element 1s 933ms

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

When I click on element 1s 853ms

When I enter "paracetamol - acute pain, severe" 12s 772ms

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

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

When I click on element 1s 523ms

When I wait for 2 seconds 2s 13ms

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

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

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

Then I wait for 6 seconds 6s 13ms

Given "a" element with "title" "Epididymo-orchitis" 8s 596ms

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

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

When I wait for 5 seconds 5s 12ms

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

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

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

Then I wait for 6 seconds 6s 7ms

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

When I click on element 9s 903ms

When I wait for 6 seconds 6s 8ms

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

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

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

Then I wait for 6 seconds 6s 7ms

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

When I click on element 3s 242ms

When I wait for 6 seconds 6s 5ms

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

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

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

Then I wait for 8 seconds 8s 2ms

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

When I click on element 5s 115ms

When I wait for 6 seconds 6s 14ms

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

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

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

Then I wait for 6 seconds 6s 6ms

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

When I click on element 2s 645ms

When I wait for 6 seconds 6s

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

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

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

Then I wait for 6 seconds 6s 13ms

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

When I click on element 6s 872ms

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

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

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

Then I wait for 6 seconds 6s 7ms

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

When I wait for 2 seconds 2s 1ms

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

When I click on element 6s 327ms

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

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

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

Then I wait for 6 seconds 6s 10ms

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

When I scroll to element 17ms

When I wait for 2 seconds 2s 13ms

When I click on element 3s 147ms

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

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

And I feature toggle "ENHANCED_SEARCH" to "true" 9s 459ms

Then I wait for 6 seconds 6s 30ms

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

When I scroll to element 97ms

When I wait for 2 seconds 2s 8ms

When I click on element 650ms

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

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

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

When I wait for 5 seconds 5s 7ms

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

When I enter "Addiction" 137ms

When I wait for 5 seconds 5s 27ms

Then "span" element with "text" "Addiction" should be visible 2s 208ms

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

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

When I wait for 2 seconds 2s 13ms

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

When I click on element 3s 653ms

When I wait for 2 seconds 2s 3ms

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

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

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

When I wait for 2 seconds 2s 7ms

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

When I click on element 5s 274ms

When I wait for 2 seconds 2s 13ms

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

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

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

When I wait for 2 seconds 2s 15ms

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

When I click on element 2s 803ms

When I wait for 2 seconds 2s 2ms

Then "h2" element with "text" "Introduction to cardiac rehabilitation programs" should be visible 545ms

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

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

When I wait for 5 seconds 5s 13ms

Given "a" element with "title" "Panic attack" 1s 234ms

When I click on element 2s 557ms

When I wait for 5 seconds 5s 7ms

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

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

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

When I wait for 5 seconds 5s 8ms

Given "a" element with "title" "Major depression" 41ms

When I scroll to element 28ms

When I scroll up the window for 60px 6ms

Then I wait for 4 seconds 4s 11ms

When I click on element 7s 256ms

Then I wait for 4 seconds 4s

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

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

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

When I wait for 5 seconds 5s 3ms

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

When I scroll to element 475ms

When I scroll up the window for 60px 68ms

Then I wait for 4 seconds 4s 1ms

When I click on element 6s 144ms

Then I wait for 4 seconds 4s 2ms

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

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

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

When I wait for 5 seconds 5s 12ms

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

When I click on element 2s 427ms

When I wait for 5 seconds 5s 5ms

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

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

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

When I wait for 5 seconds 5s 12ms

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

Then I click on element 681ms

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

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

When I click on element 7s 749ms

When I wait for 5 seconds 5s 13ms

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

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

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

When I wait for 6 seconds 6s 30ms

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

When I wait for 3 seconds 3s 3ms

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

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

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

When I wait for 6 seconds 6s 12ms

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

Then element with "text" "media" should be visible 1s 124ms

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

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

When I wait for 6 seconds 6s 7ms

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

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

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

When I wait for 6 seconds 6s 1ms

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

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

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

When I wait for 6 seconds 6s 3ms

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

When I click on element 5s 43ms

When I wait for 5 seconds 5s 8ms

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

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

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

When I wait for 6 seconds 6s 15ms

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

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

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

When I wait for 6 seconds 6s 15ms

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

When I click on element 676ms

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

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

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

When I wait for 6 seconds 6s 12ms

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

When I click on element 1s 348ms

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

When I click on element 669ms

When I enter "pyridostigmine" 877ms

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

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

When I click on element 1s 315ms

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

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

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

When I wait for 6 seconds 6s 4ms

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

When I click on element 857ms

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

When I click on element 623ms

When I enter "Budesonide" 707ms

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

Then "h2" element with "text" "Management of severe croup" should be visible 4s 417ms

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

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

When I wait for 6 seconds 6s 13ms

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

When I click on element 738ms

And I enter "pneumonia" 198ms

When I wait for 2 seconds 2s 12ms

When I press enter on enhancedsearch input 993ms

When I wait for 2 seconds 2s 3ms

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

Then I click on element 1s 440ms

When I wait for 5 seconds 5s 2ms

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

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

Then I click on element 639ms

When I wait for 3 seconds 3s 12ms

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

When I wait for 2 seconds 2s 15ms

Then "a" element with "title" "Pneumonia in palliative care" should be visible 2s 483ms

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

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

Then I wait for 6 seconds 6s 15ms

And I set browser to offline mode 18ms

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

When I click on element 629ms

And I enter "infectious" 282ms

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

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

When I click on element 609ms

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

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

When I click on element 601ms

And I enter "infectiou" 89ms

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

When I click on element 886ms

Then I wait for 8 seconds 8s 11ms

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

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

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

Then I wait for 6 seconds 6s 4ms

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

When I click on element 818ms

And I enter "diab" 249ms

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

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

When I click on element 593ms

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

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

When I click on element 594ms

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

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

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

And I enter "diabetes" 67ms

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

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

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

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

When I click on element 927ms

Then url should contain "Diabetes" 447ms

Then I visit "http://localhost:3000/" 2s 335ms

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

Then I wait for 6 seconds 6s 6ms

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

When I click on element 591ms

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

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

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