NCIOCPL / drug-dictionary-app

NCI Drug Dictionary Application
2 stars 0 forks source link

Allow users to enter CDR ID into the URL to navigate to the term page #25

Closed VictoriaSunNIH closed 4 years ago

VictoriaSunNIH commented 4 years ago

Issue description

For definitions that don't have a pretty URL, users can get to a term page that has the CDR ID in it (/def/CDR ID). Also, the system displays the term page when a user navigates to the CDR ID URL when pretty URLs don't exist.

ESTIMATE 20

What's the expected change?

When a user navigates to a term page with /def/CDR ID, the term page displays

What's the current functionality?

Currently, the page only displays when a pretty URL exists, but for drugs, there are pages that are only accessible through the CDR ID and do not have a pretty URL.

What's the updated acceptance criteria?


Scenario: As a user, I would like to see term information when I am viewing a term page
  Given "dynamicListingPageBase" is set to "https://www.cancer.gov/about-cancer/treatment/clinical-trials/intervention"
     And "nciThesaurusConceptLinkPattern" is set to "https://ncit.nci.nih.gov/ncitbrowser/ConceptReport.jsp?dictionary=NCI%20Thesaurus&code=${CCODE}"
  When the user is viewing the definition with the url /def/795786
  Then the page title is "JAK1 inhibitor AZD4205"
    And the definition text "An orally available inhibitor of Janus-associated kinase 1 (JAK1), with potential antineoplastic activity. Upon oral administration, AZD4205 inhibits JAK-dependent signaling and may lead to an inhibition of cellular proliferation in JAK1-overexpressing tumor cells. The JAK-STAT (signal transducer and activator of transcription) signaling pathway is a major mediator of cytokine activity and is often dysregulated in a variety of tumor cell types. Additionally, JAK1 may be a primary driver of STAT3 phosphorylation and signaling, which plays a role in neoplastic transformation, resistance to apoptosis, tumor angiogenesis, metastasis, immune evasion, and treatment resistance." appears on the page
    And an active clinical trials link to "https://www.cancer.gov/about-cancer/treatment/clinical-trials/intervention/C156774" appears after the definition text 
    And an NCI Thesaurus link to "https://ncit.nci.nih.gov/ncitbrowser/ConceptReport.jsp?dictionary=NCI%20Thesaurus&code=C156774" EVS appears after the clinical trials link     
   And a table of other names, each row being a name type with names appears on the page.
   And the search box and A-Z browse list appears below the table.
Scenario: negative: As a user, I see the definition of term I am viewing and do not see the Patient Information Link when it is not provided
  When the user is viewing the definition with the url /def/801361
  Then the page title is "A2A receptor antagonist EOS100850"
    And the definition text "An orally bioavailable immune checkpoint inhibitor and antagonist of the adenosine A2A receptor (A2AR; ADORA2A), with potential immunomodulating and antineoplastic activities. Upon administration, A2AR antagonist EOS100850 selectively binds to and inhibits A2AR expressed on T-lymphocytes. This prevents tumor-released adenosine from interacting with the A2A receptors, thereby blocking the adenosine/A2AR-mediated inhibition of T-lymphocytes. This results in the proliferation and activation of T-lymphocytes, and stimulates a T-cell-mediated immune response against tumor cells. A2AR, a G protein-coupled receptor, is highly expressed on the cell surfaces of T-cells and, upon activation by adenosine, inhibits their proliferation and activation. Adenosine is often overproduced by cancer cells and plays a key role in immunosuppression. " appears on the page
   And a table of other names, each row being a name type with names appears on the page.
   And the search box and A-Z browse list appears below the table.

Additional details / screenshot

Related Tickets

amydugan commented 4 years ago

Closed as part of term page story