Skip to content

Commit

Permalink
adding one test case to trigger workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaileshParmar11 committed Aug 20, 2022
1 parent cf296bd commit ceb4420
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cypress/e2e/homePage.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,21 @@ describe("Test home page", () => {
cy.visit("/");
});

it("Header component should render properly", () => {
it.only("Header component should render properly", () => {
cy.get('[data-testid="app-header"]').should("be.visible");
cy.get('[data-testid="app-logo"]').should("be.visible");
cy.get('[data-testid="plays-search-box-container"]').should("not.exist");
cy.get('[data-testid="header-links-container"]').should("be.visible");
cy.get('[data-testid="browse-btn"]').should("be.visible");
cy.get('[data-testid="browse-btn"]').should("be.visible").as("browseBtn");
cy.get('[data-testid="create-btn"]').should("be.visible");
cy.get('[data-testid="ideas-btn"]').should("be.visible");
cy.get('[data-testid="github-btn"]').should("be.visible");
cy.get('[data-testid="twitter-btn"]').should("be.visible");
cy.get('[data-testid="share-btn"]').should("be.visible");

cy.get("@browseBtn").click();
cy.get('[data-testid="plays-search-box-container"]').should("be.visible");

});

it("Tweet section should render with all tweets", () => {
Expand Down

0 comments on commit ceb4420

Please sign in to comment.