Skip to content

Commit

Permalink
Update Navbar component test
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanaem committed Feb 26, 2024
1 parent 45dc8fd commit c312006
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cypress/component/Navbar.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ describe('Navbar', () => {
it('Displays a MUI Toolbar with logo, title, subtitle, documentation link, and GitHub link', () => {
cy.mount(<Navbar />);
cy.get("[data-cy='navbar']").should('be.visible');
cy.get("[data-cy='navbar'] img").should(
'have.attr',
'src',
'https://raw.githubusercontent.com/neurobagel/documentation/main/docs/imgs/logo/neurobagel_logo.png'
);
cy.get("[data-cy='navbar'] img").should('exist');
cy.get("[data-cy='navbar'] h5").should('contain', 'Neurobagel Query');
cy.get("[data-cy='navbar'] p").should(
'contain',
Expand Down

0 comments on commit c312006

Please sign in to comment.