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?
There should no longer be the following meta tag when inspecting a definition page:
<meta name="robots" content="noindex" data-react-helmet="true">
What's the current functionality?
Inspecting the page shows the <head> element containing the robots metatag.
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"
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.
What's the expected change?
<meta name="robots" content="noindex" data-react-helmet="true">
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.Related Tickets