All Scenarios

334

Passed Scenarios

226

Failed Scenarios

6

Skipped Scenarios

102

Execution Time: 86m 13s 193ms

Expand All | Collapse All

@mobile @appModes
Feature:Drug Page < 1ms 1

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

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

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

Then element with "aria-label" "Drugs" < 1ms

And I click on element < 1ms

Then url should contain "/app/drugLanding" < 1ms

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

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

When I enter "paracetamol" < 1ms

And I press enter on element < 1ms

Then element with "text" "chronic noncancer pain (adults)" should be visible < 1ms

Given element with "aria-label" "Clear Search" < 1ms

When I click on element < 1ms

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

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

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

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

Then element with "aria-label" "Antibiotic" < 1ms

And I click on element < 1ms

Then "span" element with "text" "Septic arthritis of a native joint" should be visible < 1ms

And I click on element < 1ms

Then "h1" element with "text" "Septic arthritis of a native joint" should be visible < 1ms

Then "span" element with "text" "Empirical therapy for native joint septic arthritis" should be visible < 1ms

Then "span" element with "text" "Postprocedural infections of the shoulder" should be visible < 1ms

Then "span" element with "text" "Principles of managing native joint septic arthritis" should be visible < 1ms

And I click on element < 1ms

Then "h1" element with "text" "Principles of managing native joint septic arthritis" should be visible < 1ms

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

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

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

Then element with "aria-label" "Liver Disorders" < 1ms

And I wait for 1 seconds < 1ms

And I scroll to element < 1ms

And I click on element < 1ms

Then "span" element with "text" "Viral hepatitis" < 1ms

And I click on element < 1ms

Given "h1" element with "text" "Viral hepatitis" should be visible < 1ms

Then "span" element with "text" "Overview of viral hepatitis" should be visible < 1ms

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

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

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

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

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

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

And I click on element < 1ms

Then I wait for 6 seconds < 1ms

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

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

Then I wait for 3 seconds < 1ms

Then "h1" element with "text" "Hepatitis C" should be visible < 1ms

Then I wait for 3 seconds < 1ms

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

Then "h3" element with "text" "Resources" should not be visible < 1ms

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

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

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

Then element with "text" "Quick links" should be visible < 1ms

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

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

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

Then "nav" element with "text" "" should not be visible < 1ms

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

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

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

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

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

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

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

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

Then element with "aria-label" "Home" < 1ms

When I click on element < 1ms

Then url should contain "/" < 1ms

Then element with "aria-label" "Search" < 1ms

When I click on element < 1ms

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

Then "h2" element with "text" "Quick Links" should not be visible < 1ms

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

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

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

Then element with "text" "Quick links" should be visible < 1ms

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

When I click on element < 1ms

Then element with "text" "Antibiotic prescribing in primary care - summary table" should be visible < 1ms

And element with "text" "Surgical prophylaxis - summary tables" should be visible < 1ms

And element with "text" "Patient information and useful PDFs" should be visible < 1ms

When I click on element < 1ms

Then I wait for 1 seconds < 1ms

Then element with "text" "Patient information sheets" should be visible < 1ms

Then I go back < 1ms

And element with "text" "Tables and figures" should be visible < 1ms

And I click on element < 1ms

Then "a" element with "text" "Addiction" should be visible < 1ms

Then I go back < 1ms

Then element with "text" "Pregnancy and breastfeeding" should be visible < 1ms

And I click on element < 1ms

Then I wait for 2 seconds < 1ms

Then element with "text" "Drug use in pregnancy" should be visible < 1ms

And element with "aria-label" "Go back" should be visible < 1ms

When I click on element < 1ms

Then I wait for 1 seconds < 1ms

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

And I click on element < 1ms

Then element with "text" "Creatinine clearance calculator for adults" should be visible < 1ms

And element with "text" "Glomerular filtration rate (GFR) calculator for children" should be visible < 1ms

And element with "text" "Body surface area calculator" should be visible < 1ms

And I click on element < 1ms

Then element with "text" "Enter the patient details into the calculator below." should be visible < 1ms

And "h1" element with "text" "Body surface area calculator" should be visible < 1ms

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

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

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

Then I wait for 5 seconds < 1ms

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

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

Then element with "id" "searchBoxEnhanced" < 1ms

When I click on element < 1ms

Then url should contain "/searchLanding" < 1ms

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

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

Then element with "text" "You have no recent searches" should be visible < 1ms

Then "button" element with "text" "Saved" < 1ms

When I click on element < 1ms

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

When I enter "test search" < 1ms

Then "input" element with "value" "test search" should be visible < 1ms

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

When I click on element < 1ms

Then "input" element with "text" "test search" should not be visible < 1ms

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

When I enter "test search" < 1ms

Then element with "aria-label" "Search" < 1ms

When I click on element < 1ms

Then url should contain "/" < 1ms

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

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

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

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

Then I wait for 5 seconds < 1ms

When element with "id" "searchBoxEnhanced" < 1ms

And I click on element < 1ms

Then url should contain "/searchLanding" < 1ms

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

When I enter "paracetamol" < 1ms

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

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

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

When I press enter on element < 1ms

Then I wait for 6 seconds < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Neurology&topicfile=cluster-headache&guidelinename=Neurology&sectionId=toc_d1e47#toc_d1e47" 5s 551ms

When I wait for 3 seconds 3s 25ms

Then "p" element with "text" "For the characteristics of cluster headache, a subtype of trigeminal autonomic cephalgia, see Tables" should be visible 564ms

Given I feature toggle "B2C_DISABLE_AUTH" to "false" 782ms

When I wait for 3 seconds 3s 5ms

Given "ditatitle" element with "text" "Epilepsy and seizures" 105ms

When I click on element 913ms

When I click on element 3s 462ms

Given "ditatitle" element with "text" "Epilepsy classification" 26s 300ms

When I click on element 907ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Neurology&topicfile=cluster-headache&guidelinename=Neurology&sectionId=toc_d1e47#toc_d1e47" < 1ms

When I wait for 3 seconds < 1ms

Then "p" element with "text" "For the characteristics of cluster headache, a subtype of trigeminal autonomic cephalgia, see Tables" should be visible < 1ms

Given I feature toggle "B2C_DISABLE_AUTH" to "false" < 1ms

When I wait for 3 seconds < 1ms

Given "div" element with "class" "slider-arrow show" < 1ms

When I click on element < 1ms

Given "ditatitle" element with "text" "Epilepsy and seizures" < 1ms

When I click on element < 1ms

When I click on element < 1ms

Given I visit "http://localhost:3000/calculator/Amikacin" 7s 177ms

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

When I enter "185" 746ms

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

When I enter "90" 228ms

Given "input" element with "id" "age" 90ms

When I enter "50" 129ms

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

When I enter "110" 192ms

Given "button" element with "text" "Calculate" 42ms

When I click on element 735ms

Then "input" element with "value" "2000 mg" should be visible 263ms

Then "p" element with "text" "The calculated initial dose without rounding is 2025 mg." should be visible 311ms

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

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

When I enter "185" < 1ms

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

When I enter "90" < 1ms

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

When I enter "50" < 1ms

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

When I enter "110" < 1ms

Given "button" element with "text" "Calculate" < 1ms

When I click on element < 1ms

When I click on element < 1ms

Then "input" element with "value" "2000 mg" should be visible < 1ms

Given I visit "http://localhost:3000/calculator/#bsacalc" 4s 704ms

Given "input" element with "id" "heightCM" 88ms

When I enter "180" 341ms

Given "input" element with "id" "weightKG" 142ms

When I enter "75" 610ms

Given "button" element with "id" "calcBSA" 52ms

When I click on element 636ms

Given "input" element with "id" "bsam2" 89ms

Then input should have value "1.94" 101ms

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

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

When I enter "180" < 1ms

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

When I enter "75" < 1ms

Given "button" element with "id" "calcBSA" < 1ms

When I click on element "calcBSA" < 1ms

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

Then input should have value "1.94" < 1ms

Given I visit "http://localhost:3000/calculator/#bsacalc" 5s 308ms

Given "a" element with "text" "Creatinine clearance calculator for adults" 352ms

When I click on element 1s 896ms

Given "input" element with "id" "height" 256ms

When I enter "155" 508ms

Given "input" element with "id" "c2kg" 83ms

When I enter "70" 362ms

Given "input" element with "id" "age" 55ms

When I enter "50" 369ms

Given "input" element with "id" "serumCreatinine" 29ms

When I enter "110" 242ms

Given "button" element with "id" "ccbwcalc_compute" 30ms

When I click on element 619ms

Given "input" element with "id" "c2estimate" 41ms

Then input should have value "60 mL/min" 17ms

Given I visit "http://localhost:3000/calculator/Gentamicin" 5s 217ms

Given "input" element with "id" "height" 85ms

When I enter "185" 286ms

Given "input" element with "id" "actualBodyWeight" 172ms

When I enter "75" 77ms

Given "input" element with "id" "age" 86ms

When I enter "52" 66ms

Given "input" element with "id" "serumCreatinine" 137ms

When I enter "22" 195ms

Given "button" element with "class" "btn-calc" 54ms

When I click on element 622ms

Then "input" element with "value" "420 mg" should be visible 42ms

Then "p" element with "text" "The calculated initial dose without rounding is 426 mg." should be visible 86ms

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

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

When I enter "185" < 1ms

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

When I enter "75" < 1ms

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

When I enter "52" < 1ms

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

When I enter "22" < 1ms

Given "button" element with "class" "btn-calc" < 1ms

When I click on element < 1ms

When I click on element < 1ms

Then "input" element with "value" "420 mg" should be visible < 1ms

Then "p" element with "text" "The calculated initial dose without rounding is 426 mg." should be visible < 1ms

Given I visit "http://localhost:3000/calculator/#ibwcalc" 4s 579ms

Given "a" element with "text" "Glomerular filtration rate (GFR) calculator for children" 58ms

When I click on element 718ms

Given "input" element with "id" "gfrHeight1" 82ms

When I enter "185" 114ms

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

When I enter "150" 65ms

Given "button" element with "id" "gfrcalc_compute" 31ms

When I click on element 583ms

Given "input" element with "id" "gfrEstimate" 46ms

Then input should have value "45" 34ms

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

Given "a" element with "text" "Glomerular filtration rate (GFR) calculator for children" < 1ms

When I click on element < 1ms

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

When I enter "185" < 1ms

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

When I enter "150" < 1ms

Given "button" element with "id" "gfrcalc_compute" < 1ms

When I click on element "gfrcalc_compute" < 1ms

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

Then input should have value "45" < 1ms

Given I visit "http://localhost:3000/calculator/#ibwcalc" 12s 91ms

Given "a" element with "text" "Ideal body weight calculator" 93ms

When I click on element 727ms

Given "input" element with "id" "c3height" 65ms

When I enter "185" 128ms

Given "button" element with "id" "ibwcalc_compute" 36ms

When I click on element 774ms

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

Then input should have value "79.7" 51ms

Given I visit "http://localhost:3000/calculator/lbwcalc" 1s 889ms

Given "a" element with "text" "Lean body weight calculator" 9s 822ms

When I click on element 639ms

When I wait for 5 seconds 5s 10ms

Given "input" element with "id" "lbwHeight" 49ms

When I enter "185" 238ms

Given "input" element with "id" "lbwWeightActual" 44ms

When I enter "65" 152ms

Given "button" element with "id" "lbwcalc_compute" 116ms

When I click on element 643ms

Given "input" element with "id" "leanBodyWeight" 191ms

Then input should have value "56" 40ms

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

Given "a" element with "text" "Lean body weight calculator" < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

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

When I enter "185" < 1ms

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

When I enter "65" < 1ms

When I wait for 5 seconds < 1ms

Given "button" element with "text" "Calculate" < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

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

Then input should have value "56" < 1ms

Given I visit "http://localhost:3000/calculator/Tobramycin" 5s 278ms

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

When I enter "185" 330ms

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

When I enter "75" 181ms

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

When I enter "50" 154ms

Given "input" element with "id" "serumCreatinine" 38ms

When I enter "110" 121ms

Given "button" element with "class" "btn-calc" 43ms

When I click on element 670ms

Then "input" element with "value" "420 mg" should be visible 151ms

Then "p" element with "text" "The calculated initial dose without rounding is 426 mg." should be visible 44ms

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

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

When I enter "185" < 1ms

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

When I enter "75" < 1ms

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

When I enter "50" < 1ms

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

When I enter "110" < 1ms

Given "button" element with "class" "btn-calc" < 1ms

When I click on element < 1ms

When I click on element < 1ms

Then "input" element with "value" "420 mg" should be visible < 1ms

Then "p" element with "text" "The calculated initial dose without rounding is 426 mg." should be visible < 1ms

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

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

Then I wait for 6 seconds 6s 8ms

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

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

Then I wait for 6 seconds 6s 12ms

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

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

Then I wait for 6 seconds 6s 12ms

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

When I wait for 6 seconds 6s 9ms

When I scroll to the bottom of the screen 512ms

When I wait for 6 seconds 6s 7ms

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

When I wait for 6 seconds 6s 3ms

When I click on element 16s 572ms

When I wait for 6 seconds 6s 11ms

When I click on element 850ms

When I wait for 6 seconds 6s 11ms

When I click on element 743ms

When I wait for 6 seconds 6s 10ms

When I click on element 822ms

When I wait for 6 seconds 6s 6ms

When I wait for 6 seconds 6s 11ms

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

When I click on element 4s 64ms

When I wait for 6 seconds 6s 14ms

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

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

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

Then I wait for 6 seconds 6s 3ms

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

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

Then I wait for 6 seconds 6s 7ms

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

When I wait for 6 seconds 6s 12ms

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

When I click on element 17s 564ms

When I wait for 6 seconds 6s 6ms

Given "h2" element with "text" "Approach to managing peritonsillar abscess and cellulitis" 8s 278ms

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

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

When I wait for 8 seconds 8s 7ms

When I scroll to the bottom of the screen 547ms

When I wait for 6 seconds 6s 18ms

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

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

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

When I wait for 6 seconds 6s 8ms

When I scroll to the bottom of the screen 515ms

When I wait for 6 seconds 6s 5ms

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

When I click on element 1s 398ms

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

When I click on element 2s 812ms

When I wait for 6 seconds 6s 1ms

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

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

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

When I wait for 6 seconds 6s 12ms

When I scroll to the bottom of the screen 755ms

When I wait for 6 seconds 6s 10ms

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

When I click on element 1s 168ms

Given "a" element with "title" "Approach to suspected inflammatory arthritis in adults" 1s 233ms

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

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

When I wait for 6 seconds 6s 32ms

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

When I click on element 816ms

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

When I click on element 870ms

When I wait for 2 seconds 2s 3ms

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

When I wait for 6 seconds 6s

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

When I scroll element into center view 1s 34ms

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

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

When I wait for 2 seconds 2s 10ms

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

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

Then I wait for 6 seconds 6s 3ms

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

When I click on element 859ms

And I enter "ibuprofen" 142ms

When I wait for 2 seconds 2s 9ms

When I press enter on enhancedsearch input 426ms

When I wait for 2 seconds 2s 12ms

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

Then I click on element 618ms

When I wait for 2 seconds 2s 1ms

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

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

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

When I wait for 6 seconds 6s 19ms

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

When I click on element 2s 438ms

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

When I wait for 6 seconds 6s 1ms

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

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" 14s 850ms

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

Then I wait for 4 seconds 4s 25ms

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

When I wait for 4 seconds 4s 13ms

When I scroll to the bottom of the screen 930ms

When I wait for 4 seconds 4s 21ms

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

When I wait for 4 seconds 4s 9ms

When I click on element 655ms

When I wait for 3 seconds 3s 5ms

When I click on element 712ms

When I wait for 4 seconds 4s 23ms

When I click on element 1s 633ms

When I wait for 4 seconds 4s 4ms

When I click on element 664ms

When I wait for 4 seconds 4s 13ms

When I wait for 4 seconds 4s 14ms

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

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

When I click on element 3s 522ms

When I wait for 4 seconds 4s 6ms

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

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

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

Then I wait for 4 seconds 4s 2ms

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

When I wait for 4 seconds 4s 4ms

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

When I click on element 2s 757ms

When I wait for 4 seconds 4s 2ms

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

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

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

When I wait for 4 seconds 4s 1ms

When I scroll to the bottom of the screen 528ms

When I wait for 4 seconds 4s 14ms

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

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

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

When I wait for 4 seconds 4s 13ms

When I scroll to the bottom of the screen 558ms

When I wait for 4 seconds 4s 220ms

Given "a" element with "class" "jp-next" 1s 608ms

When I click on element 3s 489ms

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

When I click on element 4s 726ms

When I wait for 4 seconds 4s 14ms

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

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

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

When I wait for 4 seconds 4s 8ms

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

When I wait for 4 seconds 4s 1ms

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

When I click on element 640ms

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

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

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

Then I wait for 4 seconds 4s 2ms

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

When I click on element 9s 635ms

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

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

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

Then I wait for 5 seconds 5s 6ms

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

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

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

Then I click on element 624ms

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

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

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

Then I wait for 5 seconds 5s 13ms

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

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

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

Then I click on element 1s 922ms

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

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

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

Then I wait for 5 seconds 5s 13ms

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

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

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

Then I click on element 706ms

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

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

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

Then I wait for 5 seconds 5s 10ms

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

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

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

Then I click on element 1s 77ms

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

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

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

Then I wait for 5 seconds 5s 2ms

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

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

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

Then I click on element 853ms

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

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

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

Then I wait for 5 seconds 5s 1ms

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

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

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

Then I click on element 717ms

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

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

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

Then I wait for 5 seconds 5s 4ms

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

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

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

Then I click on element 627ms

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

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

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

Then I wait for 6 seconds 6s 6ms

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

When I click on element 4s 597ms

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

Given I visit "http://localhost:3000/#drugIndexModal" 8s 158ms

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

When I wait for 6 seconds 6s 9ms

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

When I click on element 751ms

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

When I click on element 588ms

When I enter "pyridostigmine" 744ms

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

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

When I click on element 1s 728ms

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

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" 2s 737ms

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

Then I wait for 6 seconds 6s 4ms

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

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

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

Then I click on element 1s 733ms

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

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

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

Then I wait for 5 seconds 5s 11ms

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

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

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

Then I click on element 836ms

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

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" 2s 442ms

When I wait for 5 seconds 5s 8ms

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

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

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

When I wait for 5 seconds 5s 14ms

Given "a" element with "title" "Gout" 1s 369ms

When I click on element 5s 316ms

When I wait for 5 seconds 5s 7ms

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

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

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

When I wait for 5 seconds 5s 15ms

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

When I click on element 3s 346ms

When I wait for 5 seconds 5s 16ms

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

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

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

When I wait for 8 seconds 8s 15ms

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

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

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

Then I wait for 6 seconds 6s 19ms

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

When I click on element 909ms

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

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

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

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

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

Then I wait for 5 seconds 5s 2ms

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

When I click on element 727ms

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

When I wait for 2 seconds 2s 8ms

When I press enter on enhancedsearch input 623ms

When I wait for 2 seconds 2s 9ms

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

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

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

When I wait for 6 seconds 6s 9ms

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

When I click on element 1s 166ms

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

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

When I wait for 5 seconds 5s 6ms

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

When I wait for 5 seconds 5s 6ms

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

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

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

Then I wait for 6 seconds 6s 7ms

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

When I click on element 792ms

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

When I click on element 618ms

When I wait for 2 seconds 2s 4ms

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

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

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

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

Then I wait for 6 seconds 6s 2ms

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

When I click on element 782ms

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

When I click on element 1s 934ms

When I wait for 2 seconds 2s 2ms

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

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

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

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

Then I wait for 6 seconds 6s 7ms

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

When I click on element 884ms

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

When I click on element 597ms

When I wait for 2 seconds 2s 11ms

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

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

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

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

Then I wait for 6 seconds 6s 2ms

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

When I click on element 767ms

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

When I click on element 803ms

When I wait for 2 seconds 2s 14ms

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

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

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

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

Then I wait for 6 seconds 6s 13ms

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

When I click on element 825ms

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

When I click on element 1s 147ms

When I wait for 2 seconds 2s 9ms

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

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

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

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

Then I wait for 6 seconds 6s 10ms

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

When I click on element 642ms

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

When I enter "metronidazole - bacterial vaginosis" 2s 885ms

Then I wait for 6 seconds 6s 16ms

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

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 9s 227ms

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

Then I wait for 6 seconds 6s 14ms

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

When I click on element 1s 272ms

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

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

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

When I wait for 5 seconds 5s 7ms

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

Given I visit TGApp < 1ms

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

Then I wait for 6 seconds < 1ms

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

When I click on element < 1ms

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

When I click on element < 1ms

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

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

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

When I wait for 5 seconds < 1ms

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

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

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

Then I wait for 6 seconds 6s 4ms

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

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

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

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

Then I wait for 6 seconds 6s 6ms

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

Given I visit TGApp 2s 85ms

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

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

When I click on element 713ms

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

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

When I wait for 2 seconds 2s 6ms

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

When I wait for 2 seconds 2s 4ms

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

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

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

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

When I click on element 1s 286ms

And I enter "amoxicillin" 380ms

When I wait for 2 seconds 2s 10ms

When I press enter on enhancedsearch input 557ms

When I wait for 2 seconds 2s 4ms

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

Then I click on element 1s 40ms

When I wait for 2 seconds 2s 5ms

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

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

Then I click on element 1s 345ms

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

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

When I click on element 6s 694ms

Then I wait for 2 seconds 2s 1ms

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

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

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

When I wait for 6 seconds 6s 2ms

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

Then I click on element 743ms

When I wait for 2 seconds 2s 5ms

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

When I wait for 2 seconds 2s 3ms

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

When I wait for 2 seconds 2s 12ms

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

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

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

When I wait for 6 seconds 6s 14ms

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

Then I click on element 749ms

When I wait for 3 seconds 3s 12ms

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

Then I click on element 10s 136ms

When I wait for 3 seconds 3s

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

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

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

When I wait for 6 seconds 6s 7ms

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

Then I click on element 2s 415ms

When I wait for 3 seconds 3s 15ms

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

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

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

When I wait for 6 seconds 6s 3ms

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

Then I click on element 3s 452ms

When I wait for 2 seconds 2s 2ms

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

Then I click on element 905ms

When I wait for 2 seconds 2s 6ms

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

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

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

When I wait for 6 seconds 6s 22ms

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

Then I click on element 1s 68ms

When I wait for 3 seconds 3s 14ms

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

Then I click on element 6s 186ms

When I wait for 2 seconds 2s 13ms

Then "h2" element with "text" "Introduction to acne" should be visible 1s 332ms

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

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

When I wait for 6 seconds 6s 15ms

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

Then I click on element 762ms

When I wait for 3 seconds 3s 3ms

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

Then I click on element 3s 612ms

When I wait for 2 seconds 2s 9ms

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

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

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

When I wait for 6 seconds 6s 3ms

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

Then I click on element 631ms

When I wait for 3 seconds 3s 13ms

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

Then I click on element 10s 677ms

When I wait for 2 seconds 2s 9ms

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

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

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

When I wait for 6 seconds 6s 5ms

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

Then I click on element 823ms

When I wait for 3 seconds 3s 3ms

Given "b" element with "text" "cystitis" 30s 382ms Show Error +
                                            
TimeoutError: Waiting element with locator to be visible Wait timed out after 30380ms 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" "Assessing acute cystitis in children" should be visible < 1ms

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

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

When I wait for 6 seconds 6s 11ms

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

Then I click on element 618ms

When I wait for 8 seconds 8s 6ms

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

Then I click on element 3s 469ms

When I wait for 6 seconds 6s 9ms

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

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

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

When I wait for 6 seconds 6s 10ms

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

Then I click on element 1s 356ms

When I wait for 8 seconds 8s 16ms

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

Then I click on element 3s 725ms

When I wait for 6 seconds 6s 18ms

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

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

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

When I wait for 6 seconds 6s 9ms

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

Then I click on element 2s 717ms

When I wait for 6 seconds 6s 9ms

Then I click on the partial text " in people with developmental disability" 3s 154ms

When I wait for 6 seconds 6s 11ms

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

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

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

When I wait for 6 seconds 6s 10ms

When I scroll to the bottom of the screen 564ms

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

When I click on element 782ms

Then I wait for 6 seconds 6s 15ms

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

Then I click on element 4s 225ms

When I wait for 6 seconds 6s 15ms

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

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

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

When I wait for 6 seconds 6s 12ms

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

Then I click on element 1s 675ms

When I wait for 6 seconds 6s 8ms

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

Then I click on element 2s 563ms

When I wait for 6 seconds 6s 1ms

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

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

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

When I wait for 6 seconds 6s 15ms

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

Then I click on element 597ms

When I wait for 3 seconds 3s 7ms

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

Then I click on element 3s 949ms

When I wait for 2 seconds 2s 5ms

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

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

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

When I wait for 6 seconds 6s 14ms

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

Then I click on element 606ms

When I wait for 6 seconds 6s 10ms

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

Then I click on element 5s 184ms

When I wait for 6 seconds 6s 8ms

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

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

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

When I wait for 6 seconds 6s 2ms

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

Then I click on element 1s 663ms

When I wait for 6 seconds 6s 15ms

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

Then I click on element 3s 509ms

When I wait for 6 seconds 6s 13ms

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

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

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

When I wait for 6 seconds 6s 8ms

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

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

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

Then I click on element 1s 345ms

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

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

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

When I wait for 6 seconds 6s 5ms

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

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

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

Then I click on element 1s 115ms

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

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

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

When I wait for 6 seconds 6s 16ms

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

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

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

Then I click on element 1s 804ms

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

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

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

When I wait for 6 seconds 6s 12ms

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

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

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

Then I click on element 1s 70ms

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

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

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

When I wait for 6 seconds 6s 13ms

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

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

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

Then I click on element 708ms

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

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

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

When I wait for 6 seconds 6s 8ms

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

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

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

Then I click on element 1s 247ms

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

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

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

Then I wait for 6 seconds 6s 8ms

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

When I scroll to element 33ms

When I click on element 5s 634ms

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

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

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

When I wait for 5 seconds 5s 1ms

When I scroll to the bottom of the screen 550ms

When I wait for 4 seconds 4s 55ms

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

When I click on element 2s 20ms

When I wait for 3 seconds 3s 12ms

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

When I scroll to element 574ms

When I click on element 3s 871ms

Then "h1" element with "text" "Fetal alcohol spectrum disorder" should be visible 2s 842ms

When I click on element 1s 533ms

When I wait for 5 seconds 5s 7ms

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

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

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

When I wait for 6 seconds 6s 4ms

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

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

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

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

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

When I wait for 6 seconds 6s 3ms

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

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

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

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

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

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

When I wait for 6 seconds 6s 10ms

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

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

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

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

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

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

Then I wait for 6 seconds 6s 2ms

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

Then I click on element 2s 580ms

When I wait for 3 seconds 3s 13ms

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

When I scroll to element 21ms

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

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

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

Then I wait for 6 seconds 6s 32ms

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

When I click on element 1s 302ms

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

When I click on element 1s 876ms

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

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

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

When I click on element 1s 777ms

When I wait for 2 seconds 2s 12ms

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

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" 2s 209ms

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

Then I wait for 6 seconds 6s 13ms

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

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

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

When I wait for 5 seconds 5s 8ms

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

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

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

Then I wait for 6 seconds 6s 9ms

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

When I click on element 9s 516ms

When I wait for 6 seconds 6s 4ms

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

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

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

Then I wait for 6 seconds 6s 7ms

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

When I click on element 3s 618ms

When I wait for 6 seconds 6s 13ms

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

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

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

Then I wait for 8 seconds 8s 14ms

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

When I click on element 4s 868ms

When I wait for 6 seconds 6s 4ms

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

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

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

Then I wait for 6 seconds 6s 13ms

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

When I click on element 3s 888ms

When I wait for 6 seconds 6s 3ms

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

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

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

Then I wait for 6 seconds 6s 4ms

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

When I click on element 7s 962ms

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

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

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

Then I wait for 6 seconds 6s 18ms

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

When I wait for 2 seconds 2s 2ms

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

When I click on element 3s 672ms

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

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

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

Then I wait for 6 seconds 6s 8ms

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

When I scroll to element 20ms

When I wait for 2 seconds 2s 7ms

When I click on element 3s 518ms

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

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" 4s 907ms

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

Then I wait for 6 seconds 6s 11ms

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

When I scroll to element 32ms

When I wait for 2 seconds 2s 3ms

When I click on element 2s 22ms

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

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

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

When I wait for 5 seconds 5s 5ms

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

When I enter "Addiction" 109ms

When I wait for 5 seconds 5s 1ms

Then "span" element with "text" "Addiction" should be visible 767ms

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

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

When I wait for 2 seconds 2s 4ms

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

When I click on element 4s 209ms

When I wait for 2 seconds 2s 4ms

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

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

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

When I wait for 2 seconds 2s 12ms

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

When I click on element 3s 684ms

When I wait for 2 seconds 2s 11ms

Then "h2" element with "text" "Diagnosis of pericarditis" should be visible 2s 184ms

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

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

When I wait for 2 seconds 2s 8ms

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

When I click on element 4s 585ms

When I wait for 2 seconds 2s 15ms

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

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

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

When I wait for 5 seconds 5s

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

When I click on element 3s 584ms

When I wait for 5 seconds 5s 12ms

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

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

And I feature toggle "ENHANCED_SEARCH" to "true" 16s 293ms

When I wait for 5 seconds 5s 14ms

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

When I scroll to element 190ms

When I scroll up the window for 60px 19ms

Then I wait for 4 seconds 4s 16ms

When I click on element 3s 150ms

Then I wait for 4 seconds 4s 5ms

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

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

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

When I wait for 5 seconds 5s 7ms

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

When I scroll to element 375ms

When I scroll up the window for 60px 246ms

Then I wait for 4 seconds 4s 4ms

When I click on element 3s 488ms

Then I wait for 4 seconds 4s 8ms

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

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

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

When I wait for 5 seconds 5s 14ms

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

When I click on element 3s 572ms

When I wait for 5 seconds 5s 12ms

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

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

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

When I wait for 5 seconds 5s 6ms

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

Then I click on element 903ms

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

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

When I click on element 2s 711ms

When I wait for 5 seconds 5s 12ms

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

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

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

When I wait for 6 seconds 6s 4ms

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

When I wait for 3 seconds 3s 1ms

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

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

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

When I wait for 6 seconds 6s 5ms

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

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

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

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

When I wait for 6 seconds 6s 9ms

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

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

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

When I wait for 6 seconds 6s 12ms

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

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

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

When I wait for 6 seconds 6s 14ms

Given "a" element with "title" "Delayed sleep-wake phase disorder" 1s 473ms

When I click on element 4s 910ms

When I wait for 5 seconds 5s 5ms

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

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

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

When I wait for 6 seconds 6s 6ms

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

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

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

When I wait for 6 seconds 6s 4ms

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

When I click on element 1s 212ms

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

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

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

When I wait for 6 seconds 6s 6ms

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

When I click on element 789ms

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

When I click on element 625ms

When I enter "pyridostigmine" 692ms

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

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

When I click on element 1s 360ms

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

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" 2s 750ms

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

When I wait for 6 seconds 6s 6ms

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

When I click on element 676ms

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

When I click on element 594ms

When I enter "Budesonide" 668ms

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

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

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 8s 644ms

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

When I wait for 6 seconds 6s 7ms

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

When I click on element 914ms

And I enter "pneumonia" 228ms

When I wait for 2 seconds 2s 1ms

When I press enter on enhancedsearch input 1s 190ms

When I wait for 2 seconds 2s 8ms

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

Then I click on element 2s 6ms

When I wait for 5 seconds 5s 2ms

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

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

Then I click on element 727ms

When I wait for 3 seconds 3s 3ms

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

When I wait for 2 seconds 2s 8ms

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

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

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

Then I wait for 6 seconds 6s 15ms

And I set browser to offline mode 2ms

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

When I click on element 758ms

And I enter "infectious" 223ms

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

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

When I click on element 607ms

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

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

When I click on element 594ms

And I enter "infectiou" 69ms

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

When I click on element 945ms

Then I wait for 8 seconds 8s 3ms

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

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

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

Then I wait for 6 seconds 6s 14ms

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

When I click on element 764ms

And I enter "diab" 83ms

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

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

When I click on element 1s 633ms

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

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

When I click on element 1s 598ms

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

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

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

And I enter "diabetes" 319ms

And "span" element with "text" "Type 1" should be visible 30s 177ms Show Error +
                                            
TimeoutError: Waiting element with locator to be visible Wait timed out after 30177ms 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)

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" "Principles of management" should be visible < 1ms

When I click on element < 1ms

Then url should contain "Diabetes" < 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 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

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

Then I wait for 6 seconds 6s 11ms

Given element with "href" "section-c_AMG_What-is-covered-in-the-Addiction-guidelines_topic_2" and "class" "favourite dartfav" 101ms

Then I should see element has background image "tg_favouritestar_empty" 9ms

When I click on element 631ms

Then I wait for 5 seconds 5s 13ms

Then popup should say "Your favourite is added." 3ms

When I confirm popup 11ms

Then I should see element has background image "tg_favouritestar_filled" 160ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=bartonella-infections&guidelinename=Antibiotic&sectionId=toc_d1e49#toc_d1e49" 189ms

Then I wait for 5 seconds 5s 22ms

Given element with "class" "favourite dartfav" 997ms

Then I should see element has background image "tg_favouritestar_empty" 8ms

Given element with "class" "favourite dartfav" 60ms

When I click on element 3s 103ms Show Error +
                                            
Error: Max retries reached for clicking at World.(anonymous) (C:\agent\_work\20\s\features\step_definitions\bstack-steps.js:653:11)

Then I wait for 5 seconds < 1ms

Then popup should say "Your favourite is added." < 1ms

When I confirm popup < 1ms

Given element with "text" "Favourites" < 1ms

When I scroll to element < 1ms

Given element with "text" "Favourites" < 1ms

And I click on element < 1ms

Then "a" element with "text" "What is covered in the Addiction guidelines?" should be visible < 1ms

And "a" element with "text" "Bartonella infections" should be visible < 1ms

Given element with "class" "favDelete" < 1ms

When I click on element < 1ms

Then I wait for 5 seconds < 1ms

Then popup should say "Are you sure you want to delete?" < 1ms

When I confirm popup < 1ms

Given element with "class" "favDelete" < 1ms

When I click on element < 1ms

Then I wait for 5 seconds < 1ms

Then popup should say "Are you sure you want to delete?" < 1ms

When I confirm popup < 1ms

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

Given "a" element with "text" "Conditions of use and disclaimer" 76ms

When I click on element 5s 156ms

When I wait for 5 seconds 5s 4ms

Then url should contain "https://www.tg.org.au/condition-use/" 29ms

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

Given "a" element with "text" "Privacy policy" 76ms

When I click on element 6s 652ms

When I wait for 5 seconds 5s 9ms

Then url should contain "https://www.tg.org.au/privacy-policy/" 2s 948ms

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

Given "a" element with "text" "Licence agreement" 131ms

When I click on element 6s 368ms

When I wait for 5 seconds 5s 3ms

Then url should contain "https://www.tg.org.au/licence-agreement/" 394ms

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

Given "a" element with "text" "Copyright permission" 442ms

When I click on element 4s 540ms

When I wait for 5 seconds 5s 7ms

Then url should contain "https://www.tg.org.au/copyright-permissions/" 534ms

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

Given "a" element with "text" "Support and FAQ" 92ms

When I click on element 4s 617ms

When I wait for 5 seconds 5s 13ms

Then url should contain "https://www.tg.org.au/about-us/faqs/" 11ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" 5s 984ms

When I wait for 5 seconds 5s 15ms

Then element with "text" "Amikacin initial dose calculator" should be visible 92ms

When I click on element 1s 547ms

When I wait for 5 seconds 5s 5ms

Then element with "text" "Amikacin initial dose calculator for adults" should be visible 265ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" 2s 309ms

When I wait for 5 seconds 5s

Then element with "text" "Gentamicin initial dose calculator" should be visible 1s 468ms

When I click on element 2s 327ms

When I wait for 5 seconds 5s 1ms

Then element with "text" "Gentamicin initial dose calculator for adults" should be visible 66ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" 3s 119ms

When I wait for 5 seconds 5s 9ms

Then element with "text" "Tobramycin initial dose calculator" should be visible 530ms

When I click on element 1s 578ms

When I wait for 5 seconds 5s 10ms

Then element with "text" "Tobramycin initial dose calculator for adults" should be visible 142ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Amikacin initial dose calculator" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then element with "text" "Amikacin initial dose calculator for adults" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Gentamicin initial dose calculator" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then element with "text" "Gentamicin initial dose calculator for adults" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Tobramycin initial dose calculator" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then element with "text" "Tobramycin initial dose calculator for adults" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=surgical-antibiotic-prophylaxis-procedures&guidelinename=Antibiotic&sectionId=toc_d1e2434#toc_d1e2434" 9s 365ms

When I wait for 5 seconds 5s 11ms

Then "fn" element with "text" "Note 50: If the patient is obese (body mass index 30 kg/m" should be visible 3s 981ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" 9s 71ms

When I wait for 5 seconds 5s 8ms

Given "ditatitle" element with "text" "Kidney impairment and antimicrobial dosing" 176ms

When I click on element 1s 51ms

When I wait for 5 seconds 5s 3ms

Given "ditatitle" element with "text" "Antimicrobial dosage modification in kidney impairment" 92ms

When I scroll to element 52ms

When I click on element 1s 140ms

When I wait for 5 seconds 5s 11ms

Given "ditatitle" element with "text" "Antimicrobial dosages for adults with impaired kidney function" 416ms

When I scroll to element 270ms

When I click on element 1s 851ms

When I wait for 5 seconds 5s 10ms

Given "ditatitle" element with "text" "Antimicrobial dosages for adults with impaired kidney function: B" 82ms

When I click on element 7s 253ms

When I wait for 5 seconds 5s 9ms

Then "ditatitle" element with "text" "Table 2.123 Antimicrobial dosages for adults with impaired kidney function: B" should be visible 71ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Kidney impairment and antimicrobial dosing" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Antimicrobial dosage modification in kidney impairment" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Antimicrobial dosages for adults with impaired kidney function" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Antimicrobial dosages for adults with impaired kidney function: B" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then "ditatitle" element with "text" "Table 2.123 Antimicrobial dosages for adults with impaired kidney function: B" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Liver%20Disorders&etgAccess=true#" 8s 67ms

When I wait for 6 seconds 6s 7ms

Given "ditatitle" element with "text" "Viral hepatitis" 6s 412ms

When I click on element 1s 194ms

When I wait for 5 seconds 5s 7ms

Given "ditatitle" element with "text" "Hepatitis B" 178ms

When I click on element 914ms

When I wait for 5 seconds 5s 8ms

Given "ditatitle" element with "text" "Management of chronic hepatitis B: Approach to treatment" 450ms

When I click on element 951ms

When I wait for 5 seconds 5s 6ms

Given "ditatitle" element with "text" "Indications for antiviral therapy" 54ms

When I click on element 1s 947ms

When I wait for 5 seconds 5s 8ms

Given "a" element with "text" "[Note 4]" 60ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Toxicology%20and%20Toxinology&etgAccess=true#" 6s 72ms

When I wait for 5 seconds 5s 10ms

Given "ditatitle" element with "text" "Paracetamol poisoning" 71ms

When I click on element 854ms

When I wait for 5 seconds 5s 3ms

Given "ditatitle" element with "text" "Paracetamol poisoning: immediate-release preparations" 29ms

When I scroll element into center view 1s 36ms

When I click on element 732ms

When I wait for 5 seconds 5s 16ms

Given "ditatitle" element with "text" "Treatment for immediate-release paracetamol poisoning" 57ms

When I scroll element into center view 1s 13ms

When I click on element 1s 183ms

When I wait for 5 seconds 5s 17ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Toxicology%20and%20Toxinology&etgAccess=true#" < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Paracetamol poisoning" < 1ms

When I scroll element into center view < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Paracetamol poisoning: immediate-release preparations" < 1ms

When I scroll element into center view < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Treatment for immediate-release paracetamol poisoning" < 1ms

When I scroll element into center view < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Antidote: acetylcysteine" < 1ms

When I scroll element into center view < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Indications for acetylcysteine therapy" < 1ms

When I scroll element into center view < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=lyme-disease" 7s 343ms

Then element with "text" "(Amended March 2025)" should be visible 3s 562ms

Given I visit "http://localhost:3000/topicTeaser?guidelinePage=Diabetes&etgAccess=true" 5s 546ms

When I wait for 5 seconds 5s 3ms

Then element with "text" "Classifying and diagnosing diabetes" should be visible 905ms

Then element with "text" "Screening and management of people at risk of developing type 2 diabetes" should be visible 736ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Dermatology&topicfile=c_DMG_Considerations-in-the-use-of-topical-corticosteroids_topic_1&guidelinename=auto&sectionId=c_DMG_Melanoma_topic_2#c_DMG_Melanoma_topic_2" 8s 389ms

When I wait for 6 seconds 6s 7ms

Then element with "text" "Melanomas are malignant tumours" should be visible 48ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Fatigue&topicfile=c_FTG_Fatigue-overviewtopic_1&guidelinename=auto&sectionId=r_FTG_Fatigue-overviewtopic_3#r_FTG_Fatigue-overviewtopic_3" 1s 458ms

When I wait for 5 seconds 5s 17ms

Then "h2" element with "text" "Fatigue: overview" should be visible 81ms

Given "ditatitle" element with "text" "Fatigue: diagnostic process" 36ms

When I click on element 2s 53ms

When I wait for 5 seconds 5s 14ms

Then "h2" element with "text" "Overview of the diagnostic process for fatigue" should be visible 172ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Fatigue&topicfile=c_FTG_Fatigue-overviewtopic_1&guidelinename=auto&sectionId=r_FTG_Fatigue-overviewtopic_3#r_FTG_Fatigue-overviewtopic_3" < 1ms

When I wait for 5 seconds < 1ms

Then "h2" element with "text" "Fatigue: overview" should be visible < 1ms

Given "div" element with "class" "slider-arrow show" < 1ms

When I click on element < 1ms

Given "ditatitle" element with "text" "Fatigue: diagnostic process" < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then "h2" element with "text" "Overview of the diagnostic process for fatigue" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Diabetes&topicfile=other-types-of-diabetes&guidelinename=auto&sectionId=c_DBG_Insulin-treatment-for-adults-with-type-2-diabetes_topic_2#c_DBG_Insulin-treatment-for-adults-with-type-2-diabetes_topic_2" 5s 66ms

Given element with "text" "(Amended August 2022)" 1s 933ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=arthroplasty-device-infections&guidelinename=Antibiotic&sectionId=toc_d1e67#toc_d1e67" 20s 529ms

When I wait for 5 seconds 5s 1ms

Then "h2" element with "text" "Approach to managing arthroplasty device infections" should be visible 127ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Neurology&topicfile=cluster-headache" 7s 989ms

When I wait for 6 seconds 6s 7ms

Then "h2" element with "text" "Diagnosing cluster headache" should be visible 5s 105ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Liver%20Disorders&etgAccess=true#" 6s 426ms

When I wait for 4 seconds 4s 6ms

Given "ditatitle" element with "text" "Viral hepatitis" 293ms

When I click on element 1s 58ms

When I wait for 4 seconds 4s 15ms

Given "ditatitle" element with "text" "Hepatitis B" 127ms

When I click on element 867ms

When I wait for 4 seconds 4s 14ms

Given "ditatitle" element with "text" "Management of chronic hepatitis B: Antiviral therapy and monitoring" 46ms

When I click on element 654ms

Then I wait for 4 seconds 4s 15ms

Given "ditatitle" element with "text" "Monitoring antiviral therapy" 278ms

When I click on element 653ms

Then I wait for 4 seconds 4s 5ms

When I scroll down the window for 60px 37ms

Then "ditatitle" element with "text" "Table 21.5 Duration of antiviral therapy for chronic hepatitis B" should be visible 265ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Liver%20Disorders&etgAccess=true#" 9s 525ms

When I wait for 4 seconds 4s 6ms

Given "ditatitle" element with "text" "Tables and figures" 170ms

When I click on element 737ms

Then I wait for 5 seconds 5s 14ms

Given "h2" element with "text" "Tables" 379ms

When I click on element 767ms

When I scroll down the window for 60px 333ms

Given "ditatitle" element with "text" "Table 21.1 Examples of noninvasive tests for liver fibrosis using serum markers" 146ms

When I click on element 704ms

When I scroll down the window for 60px 154ms

Then "ditatitle" element with "text" "Table 21.1 Examples of noninvasive tests for liver fibrosis using serum markers" should be visible 269ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Liver%20Disorders&etgAccess=true#" < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Viral hepatitis" < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Hepatitis B" < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Management of chronic hepatitis B: Antiviral therapy and monitoring" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Monitoring antiviral therapy" < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Wilderness%20Medicine&topicfile=c_WMG_Alititude_illness_topic_1&guidelinename=auto&sectionId=c_WMG_Alititude_illness_topic_1#c_WMG_Alititude_illness_topic_1" 5s 799ms

When I wait for 5 seconds 5s 12ms

Then "h2" element with "text" "Pathophysiology of altitude illness" should be visible 199ms

Given I visit "http://localhost:3000/topicTeaser?etgAccess=true&guidelinePage=Dermatology&topicfile=c_DMG_Considerations-in-the-use-of-topical-corticosteroids_topic_1&guidelinename=auto&sectionId=c_DMG_Cutaneous-drug-reactions_topic_2#c_DMG_Cutaneous-drug-reactions_topic_2" 4s 623ms

Then I wait for 5 seconds 5s 7ms

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

Given I visit "http://localhost:3000/topicTeaser?etgAccess=true&guidelinePage=Dermatology&topicfile=c_DMG_Advice-on-infected-skin-in-Therapeutic-Guidelines_topic_1&guidelinename=auto&sectionId=c_DMG_Advice-on-infected-skin-in-Therapeutic-Guidelines_topic_1#c_DMG_Advice-on-infected-skin-in-Therapeutic-Guidelines_topic_1" 1s 797ms

Then I wait for 5 seconds 5s 5ms

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

Given I visit "http://localhost:3000/topicTeaser?etgAccess=true&guidelinePage=Dermatology&topicfile=c_DMG_Introduction-to-cutaneous-manifestations-of-systemic-disease_topic_1&guidelinename=auto&sectionId=c_DMG_Introduction-to-cutaneous-manifestations-of-systemic-disease_topic_1#c_DMG_Introduction-to-cutaneous-manifestations-of-systemic-disease_topic_1" 3s 114ms

Then I wait for 5 seconds 5s 5ms

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

Given I visit "http://localhost:3000/topicTeaser?etgAccess=true&guidelinePage=Dermatology&topicfile=c_DMG_Pathogenesis-and-presentation-of-insect-and-mite-bites_topic_1&guidelinename=auto&sectionId=c_DMG_Pathogenesis-and-presentation-of-insect-and-mite-bites_topic_1#c_DMG_Pathogenesis-and-presentation-of-insect-and-mite-bites_topic_1" 1s 909ms

Then I wait for 5 seconds 5s 2ms

Then "h2" element with "text" "Pathogenesis and presentation of insects and mite bites" should be visible 77ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=bartonella-infections&guidelinename=auto&sectionId=c_ABG_Hospital-acquired-sepsis-or-septic-shock-of-unknown-source-in-children-2-months-or-older_topic_5#c_ABG_Hospital-acquired-sepsis-or-septic-shock-of-unknown-source-in-children-2-months-or-older_topic_5" 12s 547ms

When I wait for 5 seconds 5s 1ms

Then "a" element with "text" "[Note 15]" should be visible 1s 518ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=bartonella-infections&guidelinename=auto&sectionId=c_ABG17_Principles-of-managing-osteomyelitis_topic_2#c_ABG17_Principles-of-managing-osteomyelitis_topic_2" 6s 251ms

When I wait for 5 seconds 5s 3ms

Then "h1" element with "text" "Principles of managing osteomyelitis" should be visible 539ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Addiction%20Medicine&etgAccess=true#" 5s 18ms

When I wait for 5 seconds 5s 2ms

Given "link" element with "text" "Acknowledgements" 84ms

When I click on element 740ms

When I wait for 5 seconds 5s 9ms

Then element with "text" "Shalini" should be visible 154ms

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

Then element with "text" "Susan" should be visible 158ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Addiction%20Medicine&etgAccess=true#" < 1ms

When I wait for 5 seconds < 1ms

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

When I click on element < 1ms

When I wait for 3 seconds < 1ms

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

When I click on element < 1ms

When I wait for 5 seconds < 1ms

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

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

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

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Addiction%20Medicine&etgAccess=true#" 5s 868ms

When I wait for 5 seconds 5s 3ms

Given "ditatitle" element with "text" "Tables and figures" 83ms

When I click on element 1s 204ms

When I wait for 5 seconds 5s 13ms

Given "ditatitle" element with "text" "Figures" 141ms

When I click on element 1s 657ms

When I wait for 5 seconds 5s 14ms

Then "ditatitle" element with "text" "Figure 22.1 ICD-11 classifications of" should be visible 46ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Addiction%20Medicine&etgAccess=true#" < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Tables and figures" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Figures" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then "ditatitle" element with "text" "Figure 22.1 ICD-11 classifications of" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Dermatology&etgAccess=true#" 6s 440ms

When I wait for 5 seconds 5s 6ms

Then tab title should contain "Dermatology" 44ms

Given I visit "http://localhost:3000/topicTeaser?etgAccess=true&guidelinePage=Wilderness%20Medicine&topicfile=c_WMG_Bites_stings_and_rashes_in_the_wilderness_topic_1&guidelinename=auto&sectionId=c_WMG_Bites_stings_and_rashes_in_the_wilderness_topic_1#c_WMG_Bites_stings_and_rashes_in_the_wilderness_topic_1" 5s 139ms

Then "h2" element with "text" "Introduction to bites, stings and rashes in the wilderness" should be visible 1s 424ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=quicklinks&topicfile=pbf&guidelinename=auto&sectionId=c_tgl-5a58359-s1#c_tgl-5a58359-s1" 4s 649ms

When "h2" element with "text" "General information on drug use in pregnancy" should be visible 6s 153ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=quicklinks&topicfile=pbf&guidelinename=auto&sectionId=c_tgl-5a57cf7-s1#c_tgl-5a57cf7-s1" 6s 282ms

Given "input" element with "id" "searcher" 1s 677ms

When "h2" element with "text" "General information on drug use in breastfeeding" should be visible 37ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Palliative%20Care&topicfile=palliative-care-overview&guidelinename=Palliative%20Care&sectionId=toc_d1e47#toc_d1e47" 7s 243ms

When I wait for 5 seconds 5s 7ms

Given "a" element with "class" "print active" 326ms

When I click on element 819ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Palliative%20Care&topicfile=palliative-care-overview&guidelinename=Palliative%20Care&sectionId=toc_d1e47#toc_d1e47" < 1ms

When I wait for 5 seconds < 1ms

Given "a" element with "class" "print active" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Addiction%20Medicine&etgAccess=true#" 4s 819ms

When I wait for 5 seconds 5s 11ms

Given "a" element with "text" "Guidelines" 999ms

When I wait for 5 seconds 5s 7ms

When I click on element 1s 418ms

Given "a" element with "text" "Dermatology" 30ms

When I click on element 949ms

When I wait for 5 seconds 5s 5ms

Then element with "text" "Dermatology" and "href" "#" should be visible 949ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Cardiovascular&topicfile=cardiovascular-disease-risk-stratification&guidelinename=auto&sectionId=c_CVG_Overview-of-modifiable-lifestyle-risk-factors-for-atherosclerotic-cardiovascular-diseasetopic_2#c_CVG_Overview-of-modifiable-lifestyle-risk-factors-for-atherosclerotic-cardiovascular-diseasetopic_2" 1s 923ms

When I wait for 5 seconds 5s 64ms

Then element with "text" "The majority of patients" should be visible 727ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Liver%20Disorders&etgAccess=true#" 2s 521ms

When I wait for 5 seconds 5s 6ms

Given "ditatitle" element with "text" "Cirrhosis and its complications" 52ms

When I click on element 705ms

Then "ditatitle" element with "text" "Prevention of decompensation in patients with compensated cirrhosis" should be visible 111ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Liver%20Disorders&etgAccess=true#" < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Cirrhosis and its complications" < 1ms

When I click on element < 1ms

Then "ditatitle" element with "text" "Prevention of decompensation in patients with compensated cirrhosis" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Diabetes&topicfile=other-types-of-diabetes&guidelinename=auto&sectionId=r_dbg1-c20-ref1#r_dbg1-c20-ref1" 5s 719ms

Then "ditatitle" element with "text" "Key references: Management of diabetic retinopathy" should be visible 1s 899ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Sexual%20and%20Reproductive%20Health&topicfile=sexual-and-reproductive-health-tables-boxes-figures" 9s 202ms

When I wait for 5 seconds 5s 4ms

Given "h2" element with "text" "Figures" 42ms

When I click on element 1s 291ms

Given "ditatitle" element with "text" "Figure 20.13 Approach to starting therapy for menopause" 628ms

When I click on element 986ms

When I wait for 5 seconds 5s 7ms

Then "img" element with "href" "../../images/SRG2-MHT-v4.png" should be visible 123ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Sexual%20and%20Reproductive%20Health&topicfile=sexual-and-reproductive-health-tables-boxes-figures" < 1ms

When I wait for 5 seconds < 1ms

Given "h2" element with "text" "Figures" < 1ms

When I click on element < 1ms

When I wait for 2 seconds < 1ms

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

When I wait for 2 seconds < 1ms

Given "ditatitle" element with "text" "Figure 20.13 Approach to starting therapy for menopause" < 1ms

When I scroll element into center view < 1ms

When I scroll element into center view < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then "img" element with "href" "../../images/SRG2-MHT-v4.png" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" 5s 723ms

When I wait for 5 seconds 5s 9ms

Given "ditatitle" element with "text" "Tables and figures" 43ms

When I click on element 903ms

When I wait for 5 seconds 5s 12ms

Given "h2" element with "text" "Tables" 1s 164ms

When I click on element 1s 136ms

When I wait for 5 seconds 5s 6ms

Given "ditatitle" element with "text" "Table 2.122 Antimicrobial dosages for adults with impaired kidney function: A" 40ms

When I click on element 3s 917ms

When I wait for 5 seconds 5s

Then "ditatitle" element with "text" "Table 2.122 Antimicrobial dosages for adults with impaired kidney function: A" should be visible 88ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Tables and figures" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

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

When I click on element < 1ms

Given "h2" element with "text" "Tables" < 1ms

When I click on element < 1ms

Given "ditatitle" element with "text" "Table 2.122 Antimicrobial dosages for adults with impaired kidney function: A" < 1ms

When I scroll to element < 1ms

When I scroll element into center view < 1ms

When I scroll element into center view < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then "ditatitle" element with "text" "Table 2.122 Antimicrobial dosages for adults with impaired kidney function: A" should be visible < 1ms

Given I visit TGApp 5s 181ms

When I wait for 5 seconds 5s 1ms

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

When I click on element 5s 58ms

When I wait for 5 seconds 5s 2ms

Given "ditatitle" element with "text" "Q fever" 37ms

When I click on element 1s 847ms

When I wait for 5 seconds 5s 15ms

Then "div" element with "text" "Published April 2019 (Amended March 2025)" should be visible 206ms

Given I visit TGApp < 1ms

When I wait for 5 seconds < 1ms

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

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Q fever" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then "div" element with "text" "Published April 2019 (Amended March 2025)" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=surgical-antibiotic-prophylaxis-procedures&guidelinename=Antibiotic&sectionId=toc_d1e2434#toc_d1e2434" < 1ms

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

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

When I wait for 2 seconds < 1ms

Then "fn" element with "text" "If the patient is obese (for adults, body mass index 30 kg/m" should be visible < 1ms

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

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

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

When I wait for 5 seconds < 1ms

Given "span" element with "text" "Kidney impairment and antimicrobial dosing" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "span" element with "text" "Antimicrobial dosage modification in kidney impairment" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "h2" element with "text" "Antimicrobial dosages for adults with impaired kidney function" < 1ms

When I scroll to element < 1ms

When I wait for 5 seconds < 1ms

Given "xref" element with "text" "Antimicrobial dosages for adults with impaired kidney function: B" < 1ms

When I scroll to element in AppMode < 1ms

When I click on element < 1ms

When I wait for 6 seconds < 1ms

Then "ditatitle" element with "text" "Table 2.123 Antimicrobial dosages for adults with impaired kidney function: B" should be visible < 1ms

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

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

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

When I wait for 6 seconds < 1ms

Given "span" element with "text" "Viral hepatitis" < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "span" element with "text" "Hepatitis B" < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "xref" element with "text" "Indications for antiviral therapy" < 1ms

When I scroll to element in AppMode < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "a" element with "text" "[Note 4]" < 1ms

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

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

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

When I wait for 5 seconds < 1ms

Given "span" element with "text" "Paracetamol poisoning" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "span" element with "text" "Paracetamol poisoning: immediate-release preparations" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "h2" element with "text" "Treatment for immediate-release paracetamol poisoning" < 1ms

When I scroll to element < 1ms

Given "h4" element with "text" "Antidote: acetylcysteine" < 1ms

When I scroll to element < 1ms

Given "h5" element with "text" "Indications for acetylcysteine therapy" < 1ms

When I scroll to element < 1ms

Then "ditatitle" element with "text" "Table 11.30 Initial 20-hour acetylcysteine therapy following a single ingestion of 10 grams (or 200 mg/kg in patients under 50 kg) or more of immediate-release paracetamol" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=lyme-disease" < 1ms

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

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

Then element with "text" "(Amended March 2025)" should be visible < 1ms

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

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

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

When I wait for 5 seconds < 1ms

Then element with "text" "Classifying and diagnosing diabetes" should be visible < 1ms

Then element with "text" "Screening and management of people at risk of developing type 2 diabetes" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Dermatology&topicfile=c_DMG_Considerations-in-the-use-of-topical-corticosteroids_topic_1&guidelinename=auto&sectionId=c_DMG_Melanoma_topic_2#c_DMG_Melanoma_topic_2" < 1ms

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

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

When I wait for 5 seconds < 1ms

Then element with "text" "Melanomas are malignant tumours" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Diabetes&topicfile=other-types-of-diabetes&guidelinename=auto&sectionId=c_DBG_Insulin-treatment-for-adults-with-type-2-diabetes_topic_2#c_DBG_Insulin-treatment-for-adults-with-type-2-diabetes_topic_2" < 1ms

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

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

Given element with "text" "(Amended August 2022)" < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=arthroplasty-device-infections&guidelinename=Antibiotic&sectionId=toc_d1e67#toc_d1e67" < 1ms

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

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

When I wait for 5 seconds < 1ms

Then "h2" element with "text" "Approach to managing arthroplasty device infections" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Neurology&topicfile=cluster-headache" < 1ms

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

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

When I wait for 3 seconds < 1ms

Then element with "text" "Cluster headache" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Liver%20Disorders&etgAccess=true#" < 1ms

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

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

When I wait for 4 seconds < 1ms

Given "span" element with "text" "Liver Disorders" < 1ms

When I click on element < 1ms

When I wait for 6 seconds < 1ms

Given "span" element with "text" "Viral hepatitis" < 1ms

When I click on element < 1ms

When I wait for 6 seconds < 1ms

Given "span" element with "text" "Hepatitis B" < 1ms

When I click on element < 1ms

When I wait for 6 seconds < 1ms

Given "h2" element with "text" "Management of chronic hepatitis B: Antiviral therapy and monitoring" < 1ms

When I wait for 4 seconds < 1ms

Given "h4" element with "text" "Monitoring antiviral therapy" < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Wilderness%20Medicine&topicfile=c_WMG_Alititude_illness_topic_1&guidelinename=auto&sectionId=c_WMG_Alititude_illness_topic_1#c_WMG_Alititude_illness_topic_1" < 1ms

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

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

When I wait for 5 seconds < 1ms

Then "h2" element with "text" "Pathophysiology of altitude illness" should be visible < 1ms

@mobile @appModes @wip
Feature:Guidelinesapp < 1ms 1

Given I visit "http://localhost:3000/topicTeaser?etgAccess=true&guidelinePage=Dermatology&topicfile=c_DMG_Considerations-in-the-use-of-topical-corticosteroids_topic_1&guidelinename=auto&sectionId=c_DMG_Cutaneous-drug-reactions_topic_2#c_DMG_Cutaneous-drug-reactions_topic_2" < 1ms

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

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

Then I wait for 5 seconds < 1ms

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

Given I visit "http://localhost:3000/topicTeaser?etgAccess=true&guidelinePage=Dermatology&topicfile=c_DMG_Advice-on-infected-skin-in-Therapeutic-Guidelines_topic_1&guidelinename=auto&sectionId=c_DMG_Advice-on-infected-skin-in-Therapeutic-Guidelines_topic_1#c_DMG_Advice-on-infected-skin-in-Therapeutic-Guidelines_topic_1" < 1ms

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

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

Then I wait for 5 seconds < 1ms

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

Given I visit "http://localhost:3000/topicTeaser?etgAccess=true&guidelinePage=Dermatology&topicfile=c_DMG_Introduction-to-cutaneous-manifestations-of-systemic-disease_topic_1&guidelinename=auto&sectionId=c_DMG_Introduction-to-cutaneous-manifestations-of-systemic-disease_topic_1#c_DMG_Introduction-to-cutaneous-manifestations-of-systemic-disease_topic_1" < 1ms

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

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

Then I wait for 5 seconds < 1ms

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

Given I visit "http://localhost:3000/topicTeaser?etgAccess=true&guidelinePage=Dermatology&topicfile=c_DMG_Pathogenesis-and-presentation-of-insect-and-mite-bites_topic_1&guidelinename=auto&sectionId=c_DMG_Pathogenesis-and-presentation-of-insect-and-mite-bites_topic_1#c_DMG_Pathogenesis-and-presentation-of-insect-and-mite-bites_topic_1" < 1ms

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

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

Then I wait for 5 seconds < 1ms

Then "h2" element with "text" "Pathogenesis and presentation of insects and mite bites" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=bartonella-infections&guidelinename=auto&sectionId=c_ABG_Hospital-acquired-sepsis-or-septic-shock-of-unknown-source-in-children-2-months-or-older_topic_5#c_ABG_Hospital-acquired-sepsis-or-septic-shock-of-unknown-source-in-children-2-months-or-older_topic_5" < 1ms

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

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

When I wait for 5 seconds < 1ms

Then "a" element with "text" "[Note 15]" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=bartonella-infections&guidelinename=auto&sectionId=c_ABG17_Principles-of-managing-osteomyelitis_topic_2#c_ABG17_Principles-of-managing-osteomyelitis_topic_2" < 1ms

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

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

When I wait for 5 seconds < 1ms

Then "h1" element with "text" "Principles of managing osteomyelitis" should be visible < 1ms

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

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

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

When I wait for 5 seconds < 1ms

Then tab title should contain "Dermatology" < 1ms

@mobile @appModes @wip
Feature:Guidelinesapp < 1ms 1

Given I visit "http://localhost:3000/topicTeaser?etgAccess=true&guidelinePage=Wilderness%20Medicine&topicfile=c_WMG_Bites_stings_and_rashes_in_the_wilderness_topic_1&guidelinename=auto&sectionId=c_WMG_Bites_stings_and_rashes_in_the_wilderness_topic_1#c_WMG_Bites_stings_and_rashes_in_the_wilderness_topic_1" < 1ms

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

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

Then "h2" element with "text" "Introduction to bites, stings and rashes in the wilderness" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=quicklinks&topicfile=pbf&guidelinename=auto&sectionId=c_tgl-5a58359-s1#c_tgl-5a58359-s1" < 1ms

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

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

Given element with "aria-label" "Find in page" < 1ms

When "h2" element with "text" "General information on drug use in pregnancy" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=quicklinks&topicfile=pbf&guidelinename=auto&sectionId=c_tgl-5a57cf7-s1#c_tgl-5a57cf7-s1" < 1ms

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

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

Given element with "aria-label" "Find in page" < 1ms

When "h2" element with "text" "General information on drug use in breastfeeding" should be visible < 1ms

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

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

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

When I wait for 5 seconds < 1ms

Given "i" element with "class" "tg-icons-LeftArrow" < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

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

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then "h1" element with "text" "Dermatology" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Cardiovascular&topicfile=cardiovascular-disease-risk-stratification&guidelinename=auto&sectionId=c_CVG_Overview-of-modifiable-lifestyle-risk-factors-for-atherosclerotic-cardiovascular-diseasetopic_2#c_CVG_Overview-of-modifiable-lifestyle-risk-factors-for-atherosclerotic-cardiovascular-diseasetopic_2" < 1ms

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

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

When I wait for 5 seconds < 1ms

Then element with "text" "The majority of patients" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Diabetes&topicfile=other-types-of-diabetes&guidelinename=auto&sectionId=r_dbg1-c20-ref1#r_dbg1-c20-ref1" < 1ms

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

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

Then "ditatitle" element with "text" "Key references: Management of diabetic retinopathy" should be visible < 1ms

Given I visit "http://localhost:3000/topicTeaser?guidelinePage=Gastrointestinal&etgAccess=true" 993ms

When I wait for 5 seconds 5s 8ms

Then "ditatitle" element with "text" "Pancreatic disorders" should be visible 779ms

Given I visit "https://test.app.tg.org.au/viewTopic?etgAccess=true&guidelinePage=Fatigue&topicfile=c_FTG_Fatigue-overviewtopic_1&guidelinename=auto&sectionId=r_FTG_Fatigue-overviewtopic_3#r_FTG_Fatigue-overviewtopic_3" 9s 910ms

When I wait for 5 seconds 5s 3ms

Given "xref" element with "text" "https://www.ncbi.nlm.nih.gov/pubmed/20722821" 96ms

Then element should have css "background-image" "url(\"data:image/gif;base64,R0lGODlhPAATAMQAAMzM/8z//2aZzGZmZmaZmZmZzMzMzDMzM////5nMzDMzmTNmmZmZmQAAADMzZgAAZgAzZmZmmQAzmQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAA8ABMAAAX/ICKOZGmexqmubOsOA5O6dG0jRxMDd++TudgMYOD9jqwggxEgLJ4LgRFJFSkZAqhWSi0IvoLEKkGYja5Qp3ZRoJGnIoJi4VS0TwWFGKhbPhMBUAAAC3oueXsjAoYJTwiDIpAJdgYJRmgLPIsCCIELewkFBVMACQlZiSKLYpNSCpwIjo1aYpiRCzNZKWpPKbNQqQhZdE+DryKydgizOA0Hfpw8KSl5BnlthJlPAcKGJFmjRoSwyXtOADl9bMI8AAQIBp9ZYE8FUSKIJaskAMexC8u8bTuQbkCmWJyycJNnJ0CAQfHeIchHQk6qbLwCstnUCQGDAwYDxIvSCwEBS0++PeAyqYBAFm8j7JkRQYaAF06nhgUzcIDOF17A4A3jEmBegTJVVoQcAcBe0KRUDMwUUfQP1Ksm4gXDehXSjRAAOw==\")" 70ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Gastrointestinal&topicfile=c_GIG_Fat-soluble-vitamin-deficienciestopic_1&guidelinename=auto&sectionId=c_GIG_Fat-soluble-vitamin-deficienciestopic_1#c_GIG_Fat-soluble-vitamin-deficienciestopic_1" 7s 108ms

When I wait for 5 seconds 5s

Given "ditatitle" element with "text" "Vitamin A supplementation in adults" 382ms

When I click on element 794ms

When I wait for 5 seconds 5s 13ms

Then "h2" element with "text" "Vitamin A supplementation in adults" should be visible 280ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Gastrointestinal&topicfile=c_GIG_Fat-soluble-vitamin-deficienciestopic_1&guidelinename=auto&sectionId=c_GIG_Fat-soluble-vitamin-deficienciestopic_1#c_GIG_Fat-soluble-vitamin-deficienciestopic_1" < 1ms

When I wait for 5 seconds < 1ms

Given "div" element with "class" "slider-arrow show" < 1ms

When I click on element < 1ms

Given "ditatitle" element with "text" "Vitamin A supplementation in adults" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then "h2" element with "text" "Vitamin A supplementation in adults" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" 6s 635ms

When I wait for 4 seconds 4s 2ms

Given "ditatitle" element with "text" "Prevention of infection" 61ms

When I click on element 1s 470ms

When I wait for 4 seconds 4s 14ms

Given "ditatitle" element with "text" "Primary prophylaxis in immunocompromised adults without HIV infection" 255ms

When I click on element 1s 114ms

When I wait for 4 seconds 4s 5ms

Then "h1" element with "text" "Primary prophylaxis in immunocompromised adults without HIV infection" should be visible 2s 507ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" 12s 114ms

When I wait for 4 seconds 4s 5ms

Given "ditatitle" element with "text" "Infectious diarrhoea" 110ms

When I click on element 1s 34ms

When I wait for 4 seconds 4s 13ms

Given "ditatitle" element with "text" "Travellers’ diarrhoea" 186ms

When I click on element 915ms

When I wait for 4 seconds 4s 5ms

Given "ditatitle" element with "text" "Introduction to travellers' diarrhoea" 1s 431ms

When I click on element 1s 298ms

When I wait for 6 seconds 6s 14ms

Then "h1" element with "text" "Travellers’ diarrhoea" should be visible 73ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Travellers%E2%80%99%20diarrhoea#topic" 10s 250ms

When I wait for 8 seconds 8s 8ms

Given "a" element with "title" "Travellers’ diarrhoea" 187ms

When I click on element 1s 552ms

When I wait for 4 seconds 4s 14ms

Then "h1" element with "text" "Travellers’ diarrhoea" should be visible 191ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" < 1ms

When I wait for 4 seconds < 1ms

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

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

Given "ditatitle" element with "text" "Prevention of infection" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 6 seconds < 1ms

Given "ditatitle" element with "text" "Primary prophylaxis in immunocompromised adults without HIV infection" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 6 seconds < 1ms

Then "h1" element with "text" "Primary prophylaxis in immunocompromised adults without HIV infection" should be visible < 1ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Travellers%E2%80%99%20diarrhoea#topic" < 1ms

When I wait for 8 seconds < 1ms

Given "a" element with "title" "Travellers’ diarrhoea" < 1ms

When I click on element < 1ms

When I wait for 8 seconds < 1ms

Given "ditatitle" element with "text" "Introduction to travellers' diarrhoea" < 1ms

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

When I wait for 8 seconds < 1ms

When I click on element < 1ms

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

When I click on element < 1ms

When I wait for 6 seconds < 1ms

Then "h2" element with "text" "Introduction to travellers' diarrhoea" should be visible < 1ms

Given I visit "Antibiotic" topic 6s 422ms

Then I wait for 8 seconds 8s 13ms

Then "h1" element with "text" "Antibiotic" should be visible 280ms

Given "ditatitle" element with "text" "Osteomyelitis" 139ms

When I click on element 1s 917ms

Then I wait for 5 seconds 5s 1ms

Given "ditatitle" element with "text" "Principles of managing osteomyelitis" 51ms

When I click on element 1s 56ms

Then I wait for 5 seconds 5s 11ms

Given "ditatitle" element with "text" "Introduction to osteomyelitis" 46ms

When I click on element 908ms

Then I wait for 5 seconds 5s 9ms

Then "h2" element with "text" "Introduction to osteomyelitis" should be visible 118ms

Given I visit "Bone and Metabolism" topic 10s 851ms

When I wait for 8 seconds 8s 12ms

Then "h1" element with "text" "Bone and Metabolism" should be visible 46ms

Given "ditatitle" element with "text" "Thyroid disorders" 53ms

When I click on element 692ms

When I wait for 5 seconds 5s 8ms

Given "ditatitle" element with "text" "Thyroid disorders: overview" 62ms

When I click on element 629ms

When I wait for 5 seconds 5s 6ms

Given "ditatitle" element with "text" "Classification of thyroid disorders" 216ms

When I click on element 881ms

When I wait for 5 seconds 5s 2ms

Then "p" element with "text" "Thyroid disorders are classified as:" should be visible 705ms

Given I visit "Cardiovascular" topic 6s 973ms

Then I wait for 8 seconds 8s 2ms

Then "h1" element with "text" "Cardiovascular" should be visible 712ms

Then I wait for 5 seconds 5s 2ms

Given "ditatitle" element with "text" "Atherosclerotic cardiovascular disease risk estimation" 31ms

When I click on element 1s 131ms

Then I wait for 5 seconds 5s 4ms

Given "ditatitle" element with "text" "Overview of atherosclerotic cardiovascular disease risk estimation" 75ms

When I click on element 1s 254ms

Then I wait for 5 seconds 5s 11ms

Then "p" element with "text" "Cardiovascular disease (CVD) is a broad term encompassing all diseases" should be visible 67ms

Given I visit "Diabetes" topic 7s 144ms

Then I wait for 8 seconds 8s 4ms

Then "h1" element with "text" "Diabetes" should be visible 44ms

Given "ditatitle" element with "text" "Classifying and diagnosing diabetes" 35ms

When I click on element 734ms

Then I wait for 5 seconds 5s 1ms

Given "ditatitle" element with "text" "Classifying diabetes" 70ms

When I click on element 667ms

Then I wait for 5 seconds 5s 15ms

Then "p" element with "text" "Diabetes mellitus is a chronic condition caused by relative" should be visible 45ms

Given I visit "Gastrointestinal" topic 1s 859ms

Then I wait for 8 seconds 8s 16ms

Then "h1" element with "text" "Gastrointestinal" should be visible 118ms

Given "ditatitle" element with "text" "Oesophageal disorders" 47ms

When I click on element 768ms

Then I wait for 5 seconds 5s 3ms

Given "ditatitle" element with "text" "Gastro-oesophageal reflux in adults" 73ms

When I click on element 1s 333ms

Then I wait for 5 seconds 5s 13ms

Given "ditatitle" element with "text" "Symptoms of gastro-oesophageal reflux in adults" 110ms

When I click on element 736ms

Then I wait for 5 seconds 5s 3ms

Then "p" element with "text" "A degree of postprandial reflux of gastric contents" should be visible 65ms

Given I visit "Liver Disorders" topic 2s 448ms

When I wait for 8 seconds 8s 1ms

Then "h1" element with "text" "Liver Disorders" should be visible 131ms

Given "ditatitle" element with "text" "Noninvasive assessment of liver fibrosis" 57ms

When I click on element 783ms

Then I wait for 5 seconds 5s 11ms

Given "ditatitle" element with "text" "Overview of noninvasive assessment of liver fibrosis" 42ms

When I click on element 696ms

Then I wait for 5 seconds 5s 11ms

Then "p" element with "text" "Noninvasive tests for liver fibrosis are now routinely used" should be visible 26ms

Given I visit "Neurology" topic 1s 835ms

When I wait for 8 seconds 8s 5ms

Then "h1" element with "text" "Neurology" should be visible 50ms

When I wait for 2 seconds 2s 15ms

Given "ditatitle" element with "text" "Acute management of seizures and status epilepticus" 55ms

When I click on element 842ms

When I wait for 5 seconds 5s 9ms

Given "ditatitle" element with "text" "Approach to managing acute seizures and status epilepticus" 173ms

When I click on element 1s 223ms

When I wait for 5 seconds 5s 8ms

Then "p" element with "text" "Most seizures are brief and end within 1 to 3 minutes without drug treatment." should be visible 718ms

Given I visit "Oral and Dental" topic 7s 58ms

Then I wait for 8 seconds 8s 15ms

Then "h1" element with "text" "Oral and Dental" should be visible 89ms

Given "ditatitle" element with "text" "Principles of diagnosis and management in dental practice" 30ms

When I click on element 814ms

Then I wait for 5 seconds 5s 22ms

Given "ditatitle" element with "text" "Dental practice: overview of diagnosis and management" 165ms

When I click on element 2s 526ms

Then I wait for 5 seconds 5s 6ms

Then "p" element with "text" "The information included in this topic is appropriate for dental practice" should be visible 186ms

Given I visit "Pain and Analgesia" topic 6s 364ms

When I wait for 8 seconds 8s

Given "ditatitle" element with "text" "Understanding pain" 43ms

When I click on element 782ms

When I wait for 6 seconds 6s 9ms

Given "ditatitle" element with "text" "What is pain?" 162ms

When I click on element 710ms

When I wait for 5 seconds 5s 7ms

Then "p" element with "text" "Pain is ‘an unpleasant sensory and emotional experience associated with," should be visible 58ms

Given I visit "Palliative Care" topic 6s 692ms

When I wait for 8 seconds 8s 6ms

Then "h1" element with "text" "Palliative Care" should be visible 42ms

Given "ditatitle" element with "text" "Overview of palliative care" 53ms

When I click on element 1s 479ms

When I wait for 5 seconds 5s 15ms

Given "ditatitle" element with "text" "What is palliative care?" 227ms

When I click on element 1s 226ms

When I wait for 5 seconds 5s 8ms

Then "h2" element with "text" "What is palliative care?" should be visible 149ms

Given I visit "Psychotropic" topic 7s 935ms

When I wait for 8 seconds 8s 5ms

Then "h1" element with "text" "Psychotropic" should be visible 77ms

When I wait for 2 seconds 2s 4ms

Given "ditatitle" element with "text" "Informed consent and shared decision making for a person with a psychiatric disorder" 548ms

When I click on element 1s 249ms

When I wait for 5 seconds 5s 2ms

Given "ditatitle" element with "text" "Informed consent for a person with a psychiatric disorder" 36ms

When I click on element 715ms

When I wait for 5 seconds 5s 12ms

Then "p" element with "text" "Seek consent from the person before starting treatment for a psychiatric disorder." should be visible 25ms

Given I visit "Rheumatology" topic 6s 153ms

When I wait for 8 seconds 8s 9ms

Then "h1" element with "text" "Rheumatology" should be visible 44ms

When I wait for 2 seconds 2s 7ms

Given "ditatitle" element with "text" "Assessment and initial management of musculoskeletal symptoms" 22ms

When I click on element 940ms

Given "ditatitle" element with "text" "Clinical assessment of musculoskeletal symptoms in adults" 527ms

When I click on element 1s 101ms

Given "ditatitle" element with "text" "Overview of the clinical assessment of musculoskeletal symptoms in adults" 502ms

When I click on element 731ms

Then "p" element with "text" "Musculoskeletal symptoms are very common in primary care" should be visible 665ms

Given I visit "Ulcer and Wound Management" topic 6s 671ms

When I wait for 8 seconds 8s 22ms

Then "h1" element with "text" "Ulcer and Wound Management" should be visible 5s 526ms

When I wait for 2 seconds 2s 2ms

Given "ditatitle" element with "text" "Assessing patients with an ulcer or wound" 132ms

When I click on element 1s 674ms

When I wait for 5 seconds 5s 5ms

Given "ditatitle" element with "text" "Introduction to assessing patients with an ulcer or wound" 42ms

When I click on element 1s 252ms

When I wait for 5 seconds 5s 5ms

Then "p" element with "text" "Assess the wound and the limb or local area, within the clinical context of the patient." should be visible 78ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Sexual%20and%20Reproductive%20Health&topicfile=contraceptive-choice&guidelinename=Sexual%20and%20Reproductive%20Health&sectionId=toc_d1e47#toc_d1e47" 12s 974ms

When I wait for 5 seconds 5s 12ms

Then "h1" element with "text" "Choice of contraceptive method" should be visible 181ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Sexual%20and%20Reproductive%20Health&topicfile=contraceptive-choice&guidelinename=Sexual%20and%20Reproductive%20Health&sectionId=toc_d1e47#toc_d1e47" < 1ms

When I wait for 8 seconds < 1ms

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

Then "h1" element with "text" "Choice of contraceptive method" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Sexual%20and%20Reproductive%20Health&topicfile=sterilisation&guidelinename=auto&sectionId=contraception#contraception" < 1ms

When I wait for 8 seconds < 1ms

Given "div" element with "class" "slider-arrow show" < 1ms

When I click on element < 1ms

When I wait for 6 seconds < 1ms

Given "ditatitle" element with "text" "Choice of contraceptive method" < 1ms

When I click on element < 1ms

Then "h1" element with "text" "Choice of contraceptive method" should be visible < 1ms

Given "ditatitle" element with "text" "Classification of contraceptive methods" < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then "h2" element with "text" "Classification of contraceptive methods" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Addiction%20Medicine&topicfile=alcohol-drug-problems&guidelinename=auto&sectionId=c_AMG_Key-resources-for-substance-use-and-addictive-behaviours_topic_2#c_AMG_Key-resources-for-substance-use-and-addictive-behaviours_topic_2" 1s 664ms

When I wait for 5 seconds 5s 24ms

Given "xref" element with "text" "Printable table" 837ms

When I click on element 1s 251ms

When I wait for 5 seconds 5s 13ms

Then "iframe" element with "src" "https://ccmsfiles.tg.org.au/s8/PDFs/AMG2_Drug-and-alcohol-services_v2.pdf" should be visible 134ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=c_ABG_Infectious-keratitis_topic_1&guidelinename=auto&sectionId=c_ABG_Infectious-keratitis_topic_1#c_ABG_Infectious-keratitis_topic_1" 5s 213ms

When I wait for 5 seconds 5s 16ms

Then element with "text" "Assessment of infectious keratitis" should be visible 193ms

When I click on element 1s 45ms

Given "a" element with "title" "Print section" 446ms

When I click on element 655ms

When I wait for 5 seconds 5s 11ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Fatigue&topicfile=c_FTG_Fatigue-overviewtopic_1&guidelinename=auto&sectionId=r_FTG_Fatigue-in-specific-age-groupstopic_6#r_FTG_Fatigue-in-specific-age-groupstopic_6" 6s 182ms

When I wait for 5 seconds 5s 1ms

Given "xref" element with "text" "https://www.health.gov.au/resources/pregnancy-care-guidelines/part-f-routine-maternal-health-tests/anaemia" 524ms

When I click on element 787ms

When I wait for 5 seconds 5s 5ms

Then element with "text" "Anaemia" should be visible 3s 378ms

When I close current tab 238ms

When I wait for 5 seconds 5s 7ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Gastrointestinal&topicfile=c_GIG_Gastro-oesophageal-reflux-in-adultstopic_1&guidelinename=auto&sectionId=c_GIG_Overview-of-iron-deficiencytopic_2#c_GIG_Overview-of-iron-deficiencytopic_2" 6s 525ms

When I wait for 5 seconds 5s 5ms

Then "h2" element with "text" "Causes and symptoms of iron deficiency" should be visible 223ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Gastrointestinal&topicfile=c_GIG_Gastro-oesophageal-reflux-in-adultstopic_1&guidelinename=auto&sectionId=c_GIG_Preparation-for-gastrointestinal-procedures-in-adultstopic_2#c_GIG_Preparation-for-gastrointestinal-procedures-in-adultstopic_2" 1s 621ms

When I wait for 5 seconds 5s 14ms

Then "h2" element with "text" "Overview of preparation for gastrointestinal procedures in adults" should be visible 444ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Dermatology&topicfile=acne&guidelinename=auto&sectionId=c_DMG_Genital-dermatitis_topic_2#c_DMG_Genital-dermatitis_topic_2" 5s 200ms

When I wait for 5 seconds 5s 2ms

Then "h2" element with "text" "genital dermatitis" should be visible 435ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Dermatology&topicfile=c_DMG_Considerations-in-the-use-of-topical-corticosteroids_topic_1&guidelinename=auto&sectionId=c_DMG_Herpes-simplex-virus-infections_topic_2#c_DMG_Herpes-simplex-virus-infections_topic_2" 5s 864ms

When I wait for 5 seconds 5s 3ms

Then "h2" element with "text" "Advice on herpes simplex virus infections in Therapeutic Guidelines" should be visible 79ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Psychotropic&topicfile=delirium&guidelinename=Psychotropic&sectionId=toc_d1e117#toc_d1e117" 1s 606ms

When I wait for 5 seconds 5s 13ms

Then element with "text" "Risk factors for delirium in adults" should be visible 2s 274ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Fatigue&etgAccess=true#" 8s 56ms

When I wait for 3 seconds 3s 7ms

Given "a" element with "data-target" "#expertgroup" 210ms

When I click on element 658ms

Then "ditatitle" element with "text" "Expert Group for Fatigue, version 2" should be visible 594ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Fatigue&etgAccess=true#" < 1ms

When I wait for 3 seconds < 1ms

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

When I click on element < 1ms

Given "a" element with "data-target" "#expertgroup" < 1ms

When I click on element < 1ms

Then "ditatitle" element with "text" "Expert Group for Fatigue, version 2" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=bartonella-infections&guidelinename=auto&sectionId=c_ABG_Acute_rheumatic_fever_topic_11#c_ABG_Acute_rheumatic_fever_topic_11" 1s 231ms

When I wait for 5 seconds 5s 18ms

Then "xref" element with "text" "Figure 2.13" should be visible 3s 519ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=neonatal-herpes-simplex&guidelinename=Antibiotic&sectionId=toc_d1e47#toc_d1e47" 13s 150ms

Then I wait for 5 seconds 5s 13ms

When I scroll down the window for 60px 23ms

Given "xref" element with "text" "Management of Perinatal Infections" 79ms

Given "xref" element with "href" "https://asid.net.au/publications" 64ms

When I scroll element into center view 1s 19ms

When I click on element 2s 602ms

Then url should contain "https://asid.net.au/publications" 5s 278ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=neonatal-herpes-simplex&guidelinename=Antibiotic&sectionId=toc_d1e47#toc_d1e47" < 1ms

Then I wait for 5 seconds < 1ms

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

Given "xref" element with "text" "Management of Perinatal Infections" < 1ms

Given "xref" element with "href" "https://asid.net.au/publications" < 1ms

When I scroll element into center view < 1ms

When I click on element < 1ms

Then I wait for 5 seconds < 1ms

Then url should contain "https://asid.net.au/publications" < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Wilderness%20Medicine&topicfile=altitude-illness&guidelinename=auto&sectionId=c_WMG_Alititude_illness_topic_5#c_WMG_Alititude_illness_topic_5" 6s 925ms

When I wait for 3 seconds 3s 1ms

Then "xref" element with "text" "hypothermia" should be visible 965ms

Then "xref" element with "text" "migraine" should be visible 28ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Dermatology&topicfile=c_DMG_Considerations-in-the-use-of-topical-corticosteroids_topic_1&guidelinename=auto&sectionId=c_DMG_Considerations-in-the-use-of-topical-corticosteroids_topic_2#c_DMG_Considerations-in-the-use-of-topical-corticosteroids_topic_2" 48s 637ms

When I wait for 5 seconds 5s 1ms

Given "xref" element with "text" "Printable PDF" 354ms

When I get parent element 240ms

Then element should have css "color" "rgba(65, 64, 66, 1)" 20ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Liver%20Disorders&topicfile=gastro-oesophageal-varices&guidelinename=Liver%20Disorders&sectionId=toc_d1e183#toc_d1e183" 50s 647ms

When I wait for 5 seconds 5s 12ms

Given "xref" element with "text" "Bleeding peptic ulcers" 147ms

When I click on element 684ms

When I wait for 5 seconds 5s 12ms

Then "h2" element with "text" "Bleeding peptic ulcers" should be visible 305ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Liver%20Disorders&topicfile=gastro-oesophageal-varices&guidelinename=Liver%20Disorders&sectionId=toc_d1e183#toc_d1e183" < 1ms

When I wait for 5 seconds < 1ms

Given "xref" element with "text" "Bleeding peptic ulcers" < 1ms

When I scroll to element < 1ms

Given "xref" element with "text" "Bleeding peptic ulcers" < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then "h2" element with "text" "Bleeding peptic ulcers" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Dermatology&etgAccess=true#" 1s 867ms

When I wait for 4 seconds 4s 21ms

Given "ditatitle" element with "text" "Infected skin" 330ms

When I click on element 860ms

When I wait for 4 seconds 4s 9ms

Given "ditatitle" element with "text" "Tinea" 35ms

When I click on element 834ms

When I wait for 4 seconds 4s 10ms

Then "h2" element with "text" "Presentation of tinea" should be visible 258ms

Given "ditatitle" element with "text" "Pregnancy-specific dermatoses" 42ms

When I click on element 780ms

When I wait for 4 seconds 4s 3ms

Given "ditatitle" element with "text" "Skin changes in pregnancy" 43ms

When I click on element 964ms

When I wait for 4 seconds 4s 9ms

Then "h2" element with "text" "Skin changes in pregnancy" should be visible 261ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Dermatology&topicfile=c_DMG_Psoriasis_topic_1&guidelinename=auto&sectionId=c_DMG_Psoriasis_topic_1#c_DMG_Psoriasis_topic_1" 7s 127ms

When I wait for 8 seconds 8s 10ms

Then "h2" element with "text" "Presentation of psoriasis" should be visible 205ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Dermatology&etgAccess=true#" < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Infected skin" < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Tinea" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Then "h2" element with "text" "Presentation of tinea" should be visible < 1ms

Given "ditatitle" element with "text" "Pregnancy-specific dermatoses" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Skin changes in pregnancy" < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Then "h2" element with "text" "Skin changes in pregnancy" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Gastrointestinal&topicfile=c_GIG_Gastro-oesophageal-reflux-in-adultstopic_1&guidelinename=auto&sectionId=c_GIG_Antiemetic-drugs-in-adultstopic_2#c_GIG_Antiemetic-drugs-in-adultstopic_2" 1s 327ms

When I wait for 3 seconds 3s 20ms

Given "xref" element with "text" "Practitioner information sheet" 4s 485ms

When I click on element 703ms

When I wait for 5 seconds 5s 4ms

Then "iframe" element with "src" "https://ccmsfiles.tg.org.au/s8/PDFs/GIG7-Antiemetics-v8.pdf" should be visible 53ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Gastrointestinal&topicfile=c_GIG_Gastro-oesophageal-reflux-in-adultstopic_1&guidelinename=auto&sectionId=c_GIG_Enteral-nutrition-support-in-adultstopic_9#c_GIG_Enteral-nutrition-support-in-adultstopic_9" 1s 918ms

When I wait for 3 seconds 3s 12ms

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

When I click on element < 1ms

Then "iframe" element with "src" "https://ccmsfiles.tg.org.au/s8/PDFs/GIG7-Feeding-tube-problems-v8.pdf" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Psychotropic&topicfile=dementia&guidelinename=Psychotropic&sectionId=toc_d1e58#toc_d1e58" 9s 410ms

When I wait for 5 seconds 5s 5ms

Given "xref" element with "text" "Practice good sleep hygiene" 60ms

When I click on element 2s 521ms

When I wait for 5 seconds 5s 6ms

Then "ditatitle" element with "text" "Figure 8.41 Good sleep practices for adults" should be visible 91ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Psychotropic&topicfile=dementia&guidelinename=Psychotropic&sectionId=toc_d1e58#toc_d1e58" < 1ms

When I wait for 5 seconds < 1ms

Given "xref" element with "text" "Practice good sleep hygiene" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Then "ditatitle" element with "text" "Figure 8.41 Good sleep practices for adults" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Rheumatology&topicfile=gout&guidelinename=auto&sectionId=c_RHG_Overview-of-thoracic-spine_topic_2#c_RHG_Overview-of-thoracic-spine_topic_2" 6s 785ms

When I wait for 5 seconds 5s 7ms

Then "h2" element with "text" "Overview of thoracic spine (upper back) pain" should be visible 78ms

Given I visit "http://localhost:3000/searchAction/?appendedinputbuttons=Thoracic%20spine#topic" 1s 436ms

When I wait for 5 seconds 5s 17ms

Given "a" element with "title" "Overview of thoracic spine (upper back) pain" 733ms

When I click on element 787ms

When I wait for 5 seconds 5s 4ms

Then "h1" element with "text" "Overview of thoracic spine (upper back) pain" should be visible 1s 36ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Oral%20and%20Dental&topicfile=dental-caries&guidelinename=auto&sectionId=r_dtg3-c20-ref1#r_dtg3-c20-ref1" 12s 197ms

When I wait for 6 seconds 6s 8ms

Then "h2" element with "text" "Dental practice: overview of diagnosis and management" should be visible 96ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Developmental%20Disability&topicfile=assessing-dev-delay-and-disability&guidelinename=Developmental%20Disability&sectionId=toc_d1e485#toc_d1e482" 1s 578ms

When I wait for 4 seconds 4s 23ms

Given "xref" element with "text" "developmental history" 4s 101ms

When I click on element 3s 690ms

When I wait for 4 seconds 4s 3ms

Given "xref" element with "text" "specialist assessment and diagnosis" 176ms

When I click on element 881ms

When I wait for 4 seconds 4s 15ms

Then "h3" element with "text" "Specialist assessment and diagnosis" should be visible 51ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Developmental%20Disability&etgAccess=true#" 9s 911ms

When I wait for 4 seconds 4s 14ms

Given "ditatitle" element with "text" "Assessing developmental delay and disability" 95ms

When I click on element 1s 101ms

When I wait for 4 seconds 4s 3ms

Given "ditatitle" element with "text" "Assessment of developmental delay and disability" 44ms

When I click on element 1s 530ms

When I wait for 4 seconds 4s 6ms

Given "ditatitle" element with "text" "Physical examination" 90ms

When I click on element 704ms

When I wait for 4 seconds 4s 7ms

Then "h3" element with "text" "Physical examination" should be visible 198ms

Given "xref" element with "text" "Support for carers and family of people with developmental disability" 51ms

When I click on element 773ms

When I wait for 4 seconds 4s 12ms

Given "h2" element with "text" "Support for carers and family of people with developmental disability" should be visible 106ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Developmental%20Disability&topicfile=assessing-dev-delay-and-disability&guidelinename=Developmental%20Disability&sectionId=toc_d1e485#toc_d1e482" < 1ms

When I wait for 4 seconds < 1ms

Given "xref" element with "text" "developmental history" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "xref" element with "text" "specialist assessment and diagnosis" < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Then "h3" element with "text" "Specialist assessment and diagnosis" should be visible < 1ms

Given "xref" element with "text" "Support for carers and family of people with developmental disability" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "h2" element with "text" "Support for carers and family of people with developmental disability" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Developmental%20Disability&etgAccess=true#" < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Assessing developmental delay and disability" < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Assessment of developmental delay and disability" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Physical examination" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Then "h3" element with "text" "Physical examination" should be visible < 1ms

Given I visit "http://localhost:3000/topicTeaser?guidelinePage=Diabetes&etgAccess=true" 5s 512ms

When I wait for 3 seconds 3s 4ms

Given "ditatitle" element with "text" "Type 2 diabetes in adults" 295ms

When I get parent element 16ms

When I get parent element 9ms

Then "ditatitle" element with "text" "Complications of diabetes" should be visible 208ms

Given "ditatitle" element with "text" "Pregnancy in women with pre-existing diabetes" 35ms

When I get parent element 8ms

When I get parent element 11ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Wilderness%20Medicine&topicfile=altitude-illness&guidelinename=auto&sectionId=c_WMG_Alititude_illness_topic_6#c_WMG_Alititude_illness_topic_6" 6s 438ms

When I wait for 3 seconds 3s 15ms

Then "h3" element with "text" "Individual risk factors for altitude illness" should be visible 276ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Respiratory&etgAccess=true#" 8s 28ms

When I wait for 5 seconds 5s 10ms

Given "ditatitle" element with "text" "Asthma" 91ms

When I click on element 1s 164ms

When I wait for 5 seconds 5s 16ms

Given "ditatitle" element with "text" "Asthma diagnosis: children 6 years and older, adolescents and adults" 765ms

When I click on element 1s 319ms

When I wait for 5 seconds 5s 1ms

Given "ditatitle" element with "text" "Approach to diagnosis of asthma" 60ms

When I click on element 710ms

When I wait for 5 seconds 5s 13ms

Then "h2" element with "text" "Approach to diagnosis of asthma" should be visible 178ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=c_ABG_Sore_throat_topic_1&guidelinename=auto&sectionId=c_ABG_Sore_throat_topic_1#c_ABG_Sore_throat_topic_1" 5s 730ms

When I wait for 6 seconds 6s 4ms

Then "h2" element with "text" "Algorithm for assessing and managing acute sore throat" should be visible 204ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Addiction%20Medicine&etgAccess=true#" 5s 881ms

Then "a" element with "text" "Therapeutic Guidelines" should be visible 235ms

Then "a" element with "text" "Addiction" should be visible 86ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" 11s 67ms

Then "a" element with "text" "Therapeutic Guidelines" should be visible 654ms

Then "a" element with "text" "Antibiotic" should be visible 152ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Bone%20and%20Metabolism&etgAccess=true#" 7s 482ms

Then "a" element with "text" "Therapeutic Guidelines" should be visible 123ms

Then "a" element with "text" "Bone and Metabolism" should be visible 365ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Cardiovascular&etgAccess=true#" 9s 600ms

Then "a" element with "text" "Therapeutic Guidelines" should be visible 514ms

Then "a" element with "text" "Cardiovascular" should be visible 299ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Dermatology&etgAccess=true#" 10s 657ms

Then "a" element with "text" "Therapeutic Guidelines" should be visible 82ms

Then "a" element with "text" "Dermatology" should be visible 47ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Developmental%20Disability&etgAccess=true#" 1s 921ms

Then "a" element with "text" "Therapeutic Guidelines" should be visible 4s 559ms

Then "a" element with "text" "Developmental Disability" should be visible 131ms

Given I visit TGApp 7s 731ms

When I wait for 5 seconds 5s 12ms

Given "a" element with "text" "Addiction" 231ms

When I click on element 6s 419ms

When I wait for 5 seconds 5s 3ms

Given "ditatitle" element with "text" "Overview of substance use and addictive behaviours" 127ms

When I click on element 820ms

When I wait for 5 seconds 5s 9ms

Given "ditatitle" element with "text" "Screening for and assessment of substance use and addictive behaviours" 137ms

When I click on element 816ms

When I wait for 5 seconds 5s

Given "xref" element with "text" "potential harms of gaming" 42ms

When I click on element 781ms

When I wait for 5 seconds 5s 3ms

Then "h2" element with "text" "Overview of gaming" should be visible 1s 814ms

Given I visit TGApp < 1ms

When I wait for 5 seconds < 1ms

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

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Overview of substance use and addictive behaviours" < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Screening for and assessment of substance use and addictive behaviours" < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

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

When I click on element < 1ms

Given "xref" element with "text" "potential harms of gaming" < 1ms

When I scroll to element < 1ms

When I scroll element into center view < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

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

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Addiction%20Medicine&etgAccess=true#" 9s 537ms

When I wait for 5 seconds 5s 8ms

Given "ditatitle" element with "text" "Overview of substance use and addictive behaviours" 44ms

When I click on element 825ms

When I wait for 5 seconds 5s 14ms

Then "h1" element with "text" "Overview of substance use and addictive behaviours" should be visible 50ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true" 2s 640ms

When I wait for 4 seconds 4s 38ms

Given "ditatitle" element with "text" "Respiratory tract infections other than pneumonia" 3s 643ms

When I click on element 1s 2ms

When I wait for 4 seconds 4s 16ms

Given "ditatitle" element with "text" "Tuberculosis" 61ms

When I click on element 1s 29ms

When I wait for 4 seconds 4s

Given "ditatitle" element with "text" "Standard short-course therapy for tuberculosis" 146ms

When I click on element 1s 360ms

When I wait for 4 seconds 4s 5ms

Given "ditatitle" element with "text" "Daily treatment regimen" 430ms

When I click on element 1s 33ms

When I wait for 4 seconds 4s 10ms

Given "xref" element with "text" "children" 795ms

When I click on element 923ms

When I wait for 4 seconds 4s 12ms

Then "ditatitle" element with "text" "Table 2.83 Practical doses for tuberculosis therapy—Daily oral regimen: Children younger than 14 years" should be visible 171ms

Given "xref" element with "text" "Figure 2.68" 44ms

When I click on element 889ms

When I wait for 4 seconds 4s 6ms

Then "ditatitle" element with "text" "Figure 2.68 Tuberculosis drug preparations available in Australia" should be visible 1s 395ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true" 7s 179ms

When I wait for 4 seconds 4s 7ms

Given "ditatitle" element with "text" "Respiratory tract infections other than pneumonia" 52ms

When I click on element 1s 12ms

When I wait for 4 seconds 4s 9ms

Given "ditatitle" element with "text" "Tuberculosis" 107ms

When I click on element 881ms

When I wait for 4 seconds 4s 11ms

Given "ditatitle" element with "text" "Standard short-course therapy for tuberculosis" 89ms

When I click on element 1s

When I wait for 4 seconds 4s 4ms

Given "ditatitle" element with "text" "Intermittent (three-times-weekly) treatment regimen" 1s 278ms

When I click on element 1s 675ms

When I wait for 5 seconds 5s 9ms

Given "xref" element with "text" "Table 2.84" 41ms

When I click on element 935ms

When I wait for 5 seconds 5s 1ms

Then "ditatitle" element with "text" "Table 2.84 Practical doses for tuberculosis therapy—Intermittent oral regimen (three-times-weekly): Adults" should be visible 1s 257ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Pain%20and%20Analgesia&topicfile=biliary-colic&guidelinename=Pain%20and%20Analgesia&sectionId=toc_d1e170#toc_d1e170" 9s 331ms

When I wait for 8 seconds 8s 2ms

Given "xref" element with "text" "Figure 1.3" 79ms

When I click on element 704ms

When I wait for 4 seconds 4s 6ms

Then "ditatitle" element with "text" "Figure 1.3 Features of mild, moderate and severe acute pain" should be visible 108ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true" < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Respiratory tract infections other than pneumonia" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Tuberculosis" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Standard short-course therapy for tuberculosis" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Daily treatment regimen" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "xref" element with "text" "children" < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Then "ditatitle" element with "text" "Table 2.83 Practical doses for tuberculosis therapy—Daily oral regimen: Children younger than 14 years" should be visible < 1ms

Given "xref" element with "text" "Figure 2.68" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Then "ditatitle" element with "text" "Figure 2.68 Tuberculosis drug preparations available in Australia" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true" < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Respiratory tract infections other than pneumonia" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Tuberculosis" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Standard short-course therapy for tuberculosis" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "ditatitle" element with "text" "Intermittent (three-times-weekly) treatment regimen" < 1ms

When I scroll to element < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Given "xref" element with "text" "Table 2.84" < 1ms

When I scroll to element < 1ms

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

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Then "ditatitle" element with "text" "Table 2.84 Practical doses for tuberculosis therapy—Intermittent oral regimen (three-times-weekly): Adults" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Pain%20and%20Analgesia&topicfile=biliary-colic&guidelinename=Pain%20and%20Analgesia&sectionId=toc_d1e170#toc_d1e170" < 1ms

When I wait for 8 seconds < 1ms

Given "xref" element with "text" "Figure 1.3" < 1ms

When I scroll element into center view < 1ms

When I click on element < 1ms

When I wait for 4 seconds < 1ms

Then "ditatitle" element with "text" "Figure 1.3 Features of mild, moderate and severe acute pain" should be visible < 1ms

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

And I feature toggle "WEB_MODERNISATION" to "true" 168ms

Then element with "text" "Creatinine clearance calculator for adults" should be visible 181ms

And element with "data-testid" "expand-button" should be visible 140ms

And "span" element with "text" "Guidelines" should not be visible 12ms

And "span" element with "text" "Calculators" should not be visible 16ms

And "span" element with "text" "Resources" should not be visible 67ms

And "span" element with "text" "Favourites" should not be visible 39ms

When I click on element 626ms

Then "span" element with "text" "Guidelines" should be visible 67ms

And "span" element with "text" "Calculators" should be visible 32ms

And "span" element with "text" "Resources" should be visible 35ms

And "span" element with "text" "Favourites" should be visible 83ms

And element with "title" "Guidelines" should be visible 59ms

When I click on element 672ms

Then "a" element with "text" "Addiction Medicine" should be visible 78ms

Then "a" element with "text" "Dermatology" should be visible 27ms

And element with "title" "Resources" should be visible 26ms

When I click on element 649ms

Then "a" element with "text" "Antibiotic prescribing in primary care - summary table" should be visible 53ms

Then "a" element with "text" "Surgical prophylaxis - summary tables" should be visible 29ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=bartonella-infections&guidelinename=auto&sectionId=c_ABG17_Acute-appendicitis_topic_6#c_ABG17_Acute-appendicitis_topic_6" 4s 755ms

When I wait for 4 seconds 4s 14ms

Given "term" element with "keyref" "p_gentamicin" 88ms

When I scroll element into center view 1s 20ms

When I click on element 697ms

When I wait for 8 seconds 8s 10ms

Then "a" element with "text" "TGA pregnancy category D (but used for serious infections in pregnancy)" should be visible 142ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Dermatology&topicfile=nail-disorders&guidelinename=Dermatology&sectionId=toc_d1e382#toc_d1e379" 6s 563ms

When I wait for 4 seconds 4s 2ms

Given "term" element with "keyref" "p_clindamycin" 57ms

When I scroll element into center view 1s 10ms

When I click on element 889ms

When I click on element 4s 526ms Show Error +
                                            
Error: Max retries reached for clicking at World.(anonymous) (C:\agent\_work\20\s\features\step_definitions\bstack-steps.js:653:11)

When I wait for 8 seconds < 1ms

Then "a" element with "text" "systemic use: TGA pregnancy category A" should be visible < 1ms

Then "a" element with "text" "topical use: TGA pregnancy category A" should be visible < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=quicklinks&topicfile=pbf&guidelinename=auto&sectionId=c_tgl-5a57ea5-s1#c_tgl-5a57ea5-s1" 6s 618ms

When I wait for 4 seconds 4s 1ms

Given "li" element with "text" "overdose" 470ms

Then element should have css "margin-bottom" "20px" 27ms

Given "xref" element with "text" "Category A" 72ms

When I wait for 4 seconds 4s 13ms

Then element should have css "height" "auto" 582ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=quicklinks&topicfile=pbf&guidelinename=auto&sectionId=Classification_of_drug_use_while_breastfeeding_#Classification_of_drug_use_while_breastfeeding_" 6s 37ms

Then "h2" element with "text" "Definitions for compatibility with breastfeeding" should be visible 2s 41ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=quicklinks&topicfile=pbf&guidelinename=auto&sectionId=c_drug_use_in_pregnancy_#c_drug_use_in_pregnancy_" 6s 217ms

When I wait for 5 seconds 5s 9ms

Given "h2" element with "filepath" "c_australian_categorisation_of_drugs_in_pregnancy.dita" 51ms

When I click on element 1s 472ms

When I wait for 5 seconds 5s 1ms

Then "h3" element with "text" "TGA pregnancy category B3" should be visible 55ms

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

When I wait for 3 seconds 3s 13ms

Given "xref" element with "text" "Information for patients with acne" 387ms

When I click on element 637ms

Then "iframe" element with "src" "https://ccmsfiles.tg.org.au/s8/PDFs/DMG5-Information-for-patients-with-acne-v3.pdf" should be visible 1s 135ms

Given I visit TGApp 2s 560ms

And I am on the page before opening a new tab 30ms

Given element with "text" "Quick links" 5s 847ms

When I scroll element into center view 1s 127ms

When I click on element 994ms

Given element with "text" "Antibiotic prescribing in primary care - summary table" 284ms

And I click on element 2s 54ms

Then I wait for 3 seconds 3s 15ms

And tab should display pdf file 61ms

When I close current tab 53ms

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

Given "a" element with "text" "Antibiotic prescribing in primary care - summary table" 6s 598ms

When I scroll element into center view 1s 34ms

When I click on element 2s 165ms

When I wait for 5 seconds 5s 8ms

Then url should contain "Antibiotic-Summary-table.pdf" 70ms

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

Given "a" element with "text" "Patient information and useful PDFs" 94ms

When I scroll element into center view 1s 20ms

When I click on element 1s 64ms

Then url should contain "patientInfo" 1s 496ms

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

Given "a" element with "text" "Pregnancy and breastfeeding" 4s 558ms

When I scroll element into center view 1s 20ms

When I click on element 1s 602ms

Then "h1" element with "text" "Pregnancy and breastfeeding" should be visible 3s 144ms

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

Given "a" element with "text" "Calculators" 122ms

When I scroll element into center view 1s 15ms

When I click on element 2s 266ms

Then "h4" element with "text" "Creatinine clearance calculator for adults" should be visible 185ms

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

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

When I scroll element into center view < 1ms

When I click on element < 1ms

Then "h4" element with "text" "Creatinine clearance calculator for adults" should be visible < 1ms

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

Given "a" element with "text" "Tables and figures" 142ms

When I scroll element into center view 1s 35ms

When I click on element 1s 161ms

Then "h4" element with "text" "List of Tables and Figures - Guidelines" should be visible 139ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Diabetes&topicfile=type-1-diabetes-in-adults&guidelinename=Diabetes&sectionId=toc_d1e143#toc_d1e143" 6s 101ms

When I wait for 5 seconds 5s 8ms

Given "p" element with "text" "detemir 100" 111ms

Given distance of element from "left" 8ms

Given "p" element with "id" "p_insulin-detemir_type-1-diabetes-in-adults" 32ms

Given distance of element from "left" 11ms

Then distance should be within 10px 1ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" 6s 190ms

When I wait for 2 seconds 2s 12ms

Given "ditatitle" element with "text" "Bartonella infections" 57ms

When I click on element 1s 21ms

When I wait for 6 seconds 6s 21ms

Given "h2" element with "text" "Bartonella infections" 239ms

When I click on element 923ms

When I wait for 6 seconds 6s 2ms

Given "term" element with "keyref" "p_azithromycin" 33ms

When I scroll element into center view 1s 15ms

When I click on element 868ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" 8s 553ms

When I wait for 2 seconds 2s 6ms

Given "ditatitle" element with "text" "Bartonella infections" 194ms

When I click on element 1s 972ms

When I wait for 6 seconds 6s 12ms

Given "h2" element with "text" "Bartonella infections" 106ms

When I click on element 753ms

When I wait for 6 seconds 6s 7ms

Given "term" element with "keyref" "b_azithromycin" 450ms

When I scroll element into center view 1s 47ms

When I click on element 797ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=bartonella-infections&guidelinename=Antibiotic&sectionId=toc_d1e49#toc_d1e49" < 1ms

When I wait for 5 seconds < 1ms

Given "h2" element with "text" "Bartonella infections" < 1ms

Given "term" element with "keyref" "p_azithromycin" < 1ms

When I scroll element into center view < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

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

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=bartonella-infections&guidelinename=Antibiotic&sectionId=toc_d1e49#toc_d1e49" < 1ms

When I wait for 5 seconds < 1ms

Given "h2" element with "text" "Bartonella infections" < 1ms

Given "term" element with "keyref" "b_azithromycin" < 1ms

When I scroll element into center view < 1ms

When I click on element < 1ms

When I wait for 6 seconds < 1ms

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

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Diabetes&topicfile=hyperglycaemia-in-pregnancy&guidelinename=Diabetes&sectionId=toc_d1e513#toc_d1e513" 5s 639ms

When I wait for 5 seconds 5s 2ms

Given "xref" element with "href" "https://www.ncbi.nlm.nih.gov/pubmed/18463376" 90ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Dermatology&etgAccess=true#" 4s 698ms

When I wait for 5 seconds 5s 6ms

Given "ditatitle" element with "text" "Dermatitis" 210ms

When I click on element 1s 109ms

When I wait for 5 seconds 5s 12ms

Given "ditatitle" element with "text" "Atopic dermatitis" 313ms

When I click on element 785ms

When I wait for 5 seconds 5s 14ms

Given "ditatitle" element with "text" "Modified dressings for inflammatory dermatoses" 63ms

When I scroll element into center view 1s 18ms

When I click on element 725ms

When I wait for 5 seconds 5s 16ms

Given "xref" element with "text" "Printable PDF" 219ms

When I get parent element 15ms

Then element should have css "line-height" "20px" 10ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Dermatology&etgAccess=true#" < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Dermatitis" < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Atopic dermatitis" < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "ditatitle" element with "text" "Modified dressings for inflammatory dermatoses" < 1ms

When I scroll to element < 1ms

When I wait for 5 seconds < 1ms

When I click on element < 1ms

When I wait for 5 seconds < 1ms

Given "xref" element with "text" "Printable PDF" < 1ms

When I get parent element < 1ms

Then element should have css "line-height" "20px" < 1ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Diabetes&topicfile=type-2-diabetes-in-children-and-adolescents&guidelinename=Diabetes&sectionId=toc_d1e60#toc_d1e60" 5s 630ms

When I wait for 8 seconds 8s 7ms

Given "div" element with "outputclass" "tgl_blueBox" 172ms

Then element should have css "background-color" "rgba(217, 241, 243, 1)" 12ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Neurology&topicfile=stroke-and-transient-ischaemic-attack&guidelinename=Neurology&sectionId=toc_d1e47#toc_d1e47" 1s 503ms

When I wait for 5 seconds 5s 31ms

Given "sl" element with "class" "- topic/sl" 950ms

Then element should have css "margin-left" "16px" 16ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=bartonella-infections&guidelinename=auto&sectionId=c_ABG_Antibiotic-management-of-chronic-obstructive-pulmonary-disease-COPD-exacerbations_topic_3#c_ABG_Antibiotic-management-of-chronic-obstructive-pulmonary-disease-COPD-exacerbations_topic_3" 6s 842ms

When I wait for 3 seconds 3s 3ms

Given "note" element with "text" "Antibiotic therapy is not routinely recommended for COPD exacerbations." 3s 148ms

Then element should have css "background-color" "rgba(245, 224, 219, 1)" 90ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=bartonella-infections&guidelinename=auto§ionId=c_ABG_Acute_rheumatic_fever_topic_6#c_ABG_Acute_rheumatic_fever_topic_6" 12s 120ms

And element with "text" "High-risk individuals [NB1]" 2s 965ms

Then element should have css "font-size" "14px" 10ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=bartonella-infections&guidelinename=auto&sectionId=c_ABG_Postexposure-prophylaxis-against-STIs_topic_2#c_ABG_Postexposure-prophylaxis-against-STIs_topic_2" 5s 690ms

When I wait for 3 seconds 3s 12ms

Given "ditatitle" element with "text" "Postexposure prophylaxis against STIs" 425ms

Then element should have css "padding-left" "15px" 20ms

Given I visit "http://localhost:3000/viewTopic?etgAccess=true&guidelinePage=Antibiotic&topicfile=bartonella-infections&guidelinename=auto&sectionId=c_ABG_Postexposure-prophylaxis-against-STIs_topic_2#c_ABG_Postexposure-prophylaxis-against-STIs_topic_2" < 1ms

When I wait for 3 seconds < 1ms

Given element with "class" "slider-arrow show" < 1ms

When I click on element < 1ms

Given "ditatitle" element with "text" "Postexposure prophylaxis against STIs" < 1ms

Then element should have css "padding-left" "70px" < 1ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Antibiotic&etgAccess=true#" 4s 670ms

Then I wait for 5 seconds 5s 11ms

Given "ditatitle" element with "text" "Eye infections" 72ms

When I click on element 1s 236ms

Then I wait for 5 seconds 5s 5ms

Given "ditatitle" element with "text" "Blepharitis" 35ms

When I click on element 1s 121ms

Then I wait for 5 seconds 5s 14ms

Given "ditatitle" element with "text" "Assessment of blepharitis" 53ms

When I click on element 844ms

Then I wait for 5 seconds 5s 8ms

Given "img" element with "href" "../../images/ABG17-Primary-Care-Diagram-of-the-eye.png" 29ms

Then element should have css "width" "543px" 7ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Addiction%20Medicine&etgAccess=true#" 7s 776ms

Given "div" element with "class" "col-md-12 mobileContainer" 257ms

Given distance of element from "left" 18ms

Given "a" element with "text" "Conditions of use and disclaimer" 157ms

Given distance of element from "left" 113ms

Then distance should be within 5px 1ms

Given I visit "http://localhost:3000/viewTopic/?guidelinePage=Addiction%20Medicine&etgAccess=true#" < 1ms

Then I wait for 5 seconds < 1ms

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

When I click on element < 1ms

Given "div" element with "class" "col-md-12 mobileContainer" < 1ms

Given distance of element from "left" < 1ms

Given "a" element with "text" "Privacy policy" < 1ms

Given distance of element from "left" < 1ms

Then distance should be within 29px < 1ms