Skip to content

Commit

Permalink
trying to correct a some of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ignapas committed Aug 16, 2024
1 parent 6aa035a commit 6e1c52b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/cypress/e2e/datasets.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,9 @@ datasetIds.forEach(datasetId => {
cy.get('.active.style1.tab2.tab-link.p-16').should('contain', 'Files');

// Check for content
cy.get('[style=""] > .heading2.mb-8').should('have.text', 'Download Dataset');
cy.get('.left-column > :nth-child(1) > div > .label4').should('have.text', 'Option 1 - Direct download: ');
cy.get('.aws-download-column > :nth-child(1) > .label4').should('have.text', 'Option 2 - AWS download: ');
cy.get('#datasetDetailsTabsContainer > div > div:nth-child(4) > div.heading2.mb-8').should('have.text', 'Download Dataset');
cy.get('#datasetDetailsTabsContainer .left-column > div > div:nth-child(1) > span:nth-child(1)').should('have.text', 'Option 1 - Direct download: ');
cy.get('.aws-download-column > :nth-child(1) > .label4').should('have.text', 'Option 2 - AWS S3:');

// Check for download full dataset button
cy.get('.left-column .el-button').contains('Download Full Dataset').should('be.visible');
Expand Down

0 comments on commit 6e1c52b

Please sign in to comment.