Skip to content

Commit

Permalink
Release v2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Arce, Paul (NIH/NCI) [C] committed Jun 21, 2023
2 parents 2ab2212 + 5b4cb45 commit 60e3469
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/TrialDescriptionPage/Accordion.feature
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Feature: As a user, I want to be able to get even more details about the trial v
| Primary ID |
| Secondary IDs |
| ClinicalTrials.gov ID |
And "NCT02201992" link has a href "http://clinicaltrials.gov/show/NCT02201992"
And "NCT02201992" link has a href "http://clinicaltrials.gov/study/NCT02201992"

Scenario: user is able to see trial's location that is near searched zipcode
Given the user navigates to "/v?id=NCI-2014-01507&loc=1&rl=1&z=22182"
Expand Down Expand Up @@ -225,7 +225,7 @@ Feature: As a user, I want to be able to get even more details about the trial v
And trial description accordion is displayed
When user clicks on "Locations & Contacts" section of accordion
Then text "See trial information on ClinicalTrials.gov for a list of participating sites." is displayed
And "ClinicalTrials.gov" link has a href "https://www.clinicaltrials.gov/show/NCT00596999"
And "ClinicalTrials.gov" link has a href "https://www.clinicaltrials.gov/study/NCT00596999"

Scenario: as a user I will not see locations if I searched for a trial in a country that does not exist/host that trial
Given the user navigates to "/v?id=NCI-2018-01903&lcnty=zimbabue&loc=2&rl=2"
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nciocpl/clinical-trials-search-app",
"version": "2.2.0",
"version": "2.2.1",
"author": "National Cancer Institute",
"license": "ISC",
"main": "build/static/js/main.js",
Expand Down
2 changes: 1 addition & 1 deletion src/views/ResultsPage/ResultsListItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const ResultsListItem = ({
<>
See{' '}
<a
href={`https://www.clinicaltrials.gov/show/${item.nct_id}`}
href={`https://www.clinicaltrials.gov/study/${item.nct_id}`}
target="_blank"
rel="noopener noreferrer">
ClinicalTrials.gov
Expand Down
4 changes: 2 additions & 2 deletions src/views/TrialDescriptionPage/TrialDescriptionPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ const TrialDescriptionPage = () => {
<p>
See trial information on{' '}
<a
href={`https://www.clinicaltrials.gov/show/${trialDescription.nct_id}`}
href={`https://www.clinicaltrials.gov/study/${trialDescription.nct_id}`}
target="_blank"
rel="noopener noreferrer">
ClinicalTrials.gov
Expand Down Expand Up @@ -721,7 +721,7 @@ const TrialDescriptionPage = () => {
ClinicalTrials.gov ID
</strong>
<a
href={`http://clinicaltrials.gov/show/${trialDescription.nct_id}`}
href={`http://clinicaltrials.gov/study/${trialDescription.nct_id}`}
target="_blank"
rel="noopener noreferrer">
{trialDescription.nct_id}
Expand Down

0 comments on commit 60e3469

Please sign in to comment.