From 58b155b04c816fed36f00b901bd2c57a704696b3 Mon Sep 17 00:00:00 2001 From: Eric Gauzens Date: Sun, 16 Jun 2024 11:50:16 -0400 Subject: [PATCH] updated test --- tests/cypress/e2e/homepage.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cypress/e2e/homepage.cy.js b/tests/cypress/e2e/homepage.cy.js index 7582259f..e50b2418 100644 --- a/tests/cypress/e2e/homepage.cy.js +++ b/tests/cypress/e2e/homepage.cy.js @@ -12,7 +12,7 @@ describe('Homepage', { testIsolation: false }, function () { it('Navigation Bar', function () { // Check for navigation bar - cy.get('.mobile-navigation > :nth-child(1) > :nth-child(1) > a').should('contain', 'Data & Models').and('have.attr', 'href', '/data') + cy.get('.mobile-navigation > :nth-child(1) > :nth-child(1) > a').should('contain', 'Data & Models').and('have.attr', 'href', '/data?type=dataset') cy.get('.mobile-navigation > :nth-child(1) > :nth-child(2) > a').should('contain', 'SPARC Apps').and('have.attr', 'href', '/apps') cy.get('.mobile-navigation > :nth-child(1) > :nth-child(3) > a').should('contain', 'Tools & Resources').and('have.attr', 'href', '/tools-and-resources') cy.get('.mobile-navigation > :nth-child(1) > :nth-child(4) > a').should('contain', 'News & Events').and('have.attr', 'href', '/news-and-events')