Skip to content

Commit

Permalink
Merge branch 'maps-qc' into e2e-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ddjnw1yu committed Nov 22, 2023
2 parents f4b32f2 + 6330053 commit 5f2eabf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/cypress/e2e/mapviewer.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ describe('Maps Viewer', { testIsolation: false }, function () {

// Check for search result and the tag 'Scaffold'
cy.get(':nth-child(1) > .dataset-card-container > .dataset-card > :nth-child(2)', { timeout: 30000 }).within(() => {
cy.get('.card-left > .full-size > .gallery > .gallery-strip > .card-line > .key-image-span > .el-card > .el-card__body > :nth-child(1) > .details > .el-button > span').contains(datasetId).should('exist')
cy.get('.card-right > .badges-container > .container').contains(/Scaffold/i).should('exist')
cy.get('.card-left > .full-size > .gallery > .gallery-strip > .card-line > .key-image-span > .el-card > .el-card__body > :nth-child(1) > .details > .el-button > span', { timeout: 30000 }).contains(datasetId).should('exist')
cy.get('.card-right > .badges-container > .container', { timeout: 30000 }).contains(/Scaffold/i).should('exist')
cy.get('.card-right > .badges-container > .container').contains(/Scaffold/i).click()
cy.get('.card-left > .full-size > .gallery > .gallery-strip > .card-line > .key-image-span > .el-card > .el-card__body > :nth-child(1) > .details > .el-button > span').contains(/View Scaffold/i).should('exist')
cy.get('.card-left > .full-size > .gallery > .gallery-strip > .card-line > .key-image-span > .el-card > .el-card__body > :nth-child(1) > .details > .el-button > span', { timeout: 30000 }).contains(/View Scaffold/i).should('exist')
})
}
})
Expand Down

0 comments on commit 5f2eabf

Please sign in to comment.