Skip to content

Commit

Permalink
updated failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
egauzens committed Oct 1, 2024
1 parent 2ba6da3 commit 7bdd7a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cypress/e2e/homepage.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('Homepage', { testIsolation: false }, function () {

it('SPARC by the numbers', function () {
// Check for content title
cy.get('.container.p-32 > .heading2').should('exist').and('contain', 'SPARC by the numbers')
cy.get('.container.p-24 > .heading2').should('exist').and('contain', 'SPARC by the numbers')

// Check for consortia
cy.get('.container.p-32 > .body1 > b > .heading2').first().should('exist').then(($el) => {
Expand Down Expand Up @@ -93,7 +93,7 @@ describe('Homepage', { testIsolation: false }, function () {

it('Resources and datasets', function () {
// Check for content title
cy.get('.section-container.py-32 > .heading2').should('contain', 'Resources & Datasets')
cy.get('.section-container.py-24 > .heading2').should('contain', 'Resources & Datasets')

// Check for card description
cy.get('.row > :nth-child(1) > .mb-16').should('contain', 'Here is a resource you might be interested in:')
Expand Down

0 comments on commit 7bdd7a6

Please sign in to comment.