Skip to content

Commit

Permalink
remove contains and existing
Browse files Browse the repository at this point in the history
  • Loading branch information
reachaadrika committed Aug 16, 2023
1 parent 6ec817e commit b334678
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cypress/test/campaignTests/AnnouncementHero.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ describe('AnnouncementHero Component', () => {

it('should display the correct event information', () => {
// Assert the event details
cy.get('[data-testid="AnnouncementHero-main-div"]').contains('AsyncAPI Conf on Tour 2023').should('exist');
cy.get('[data-testid="AnnouncementHero-main-div"]').contains('London Edition').should('exist');
cy.get('[data-testid="AnnouncementHero-main-div"]').contains('20th of September, 2023 | London, UK').should('exist');
cy.contains('Submit a session').should('exist');
cy.get('[data-testid="AnnouncementHero-main-div"]').should('exist');
cy.get('[data-testid="AnnouncementHero-main-div"]').should('exist');
cy.get('[data-testid="AnnouncementHero-main-div"]').should('exist');

});

it('should have a link to submit a session', () => {
Expand Down

0 comments on commit b334678

Please sign in to comment.