Skip to content

Commit

Permalink
fixing collection_detail test
Browse files Browse the repository at this point in the history
  • Loading branch information
acruzgon committed Jan 8, 2025
1 parent 2fe2beb commit dfa275c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/cypress/e2e/collections/collection_detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,10 @@ describe('Collection detail', () => {
cy.get('.body').contains('License');
cy.get('.body').contains('Installation');
cy.get('[data-cy="toggle-signature-button"]').scrollIntoView();
cy.get('.body')
.contains(
`a[href="${uiPrefix}repo/staging/collection_detail_test_namespace/collection_detail_test_collection/docs/"]`,
'Go to documentation',
)
.scrollIntoView();
cy.contains(
`a[href="${uiPrefix}repo/staging/collection_detail_test_namespace/collection_detail_test_collection/docs/"]`,
'Go to documentation',
);

/*
* This test needs some external library and custom command to test if the download had started.
Expand Down

0 comments on commit dfa275c

Please sign in to comment.