NCIOCPL / drug-dictionary-app

NCI Drug Dictionary Application
2 stars 0 forks source link

Drug Dictionary Marks Definitions as Do Not Index #107

Closed bryanpizzillo closed 3 years ago

bryanpizzillo commented 3 years ago

Issue description

While the code was implemented to match the acceptance criteria, the criteria was very wrong. The definitions should most definitely be indexed by Google, and we noticed a sharp drop off in traffic to our site.

ESTIMATE TBD

What's the expected change?

What's the current functionality?

Inspecting the page shows the <head> element containing the robots metatag.

What's the updated acceptance criteria?

(Remove | robots | noindex | from "Term page metadata" scenario.

    Scenario: Term page metadata
        Given the user navigates to "def/bevacizumab"
        Then the title tag should be "Definition of bevacizumab - NCI Drug Dictionary - National Cancer Institute"
        And the page contains meta tags with the following properties
            | property | content                               |
            | og:title | NCI Drug Dictionary                   |
            | og:url   | http://localhost:3000/def/bevacizumab |
        And there is a canonical link with the href "https://www.cancer.gov/def/bevacizumab"

Related Tickets