diff --git a/cypress/e2e/home.spec.ts b/cypress/e2e/home.spec.ts index 80707adab..d3cd44a43 100644 --- a/cypress/e2e/home.spec.ts +++ b/cypress/e2e/home.spec.ts @@ -1,8 +1,8 @@ /// import { MockProvider } from "@rsksmart/mock-web3-provider"; -describe("Landing page", () => { - it("Loads projects", () => { +describe("landing page", () => { + it("displays correctly projects", () => { cy.intercept( { pathname: "/v1/projects/*" }, { fixture: "projectInfo.json" }, diff --git a/cypress/e2e/projectCommits.spec.ts b/cypress/e2e/projectCommits.spec.ts index 83cfa46b9..ee806e122 100644 --- a/cypress/e2e/projectCommits.spec.ts +++ b/cypress/e2e/projectCommits.spec.ts @@ -51,7 +51,7 @@ const groupedCommits = [ }, ]; -describe("Project commits", () => { +describe("project commits", () => { beforeEach(() => { cy.intercept("/", { fixture: "projectHome.json", @@ -84,7 +84,7 @@ describe("Project commits", () => { ).as("seedCommit"); }); - it("Commit group & commit trailer", () => { + it("display commit groups and commit trailers", () => { cy.visit( "/seeds/willow.radicle.garden/rad:git:hnrk8mbpirp7ua7sy66o4t9soasbq4y8uwgoy/history", { @@ -144,7 +144,7 @@ describe("Project commits", () => { cy.get(".commit").last().click(); }); - it("Commit detail view", () => { + it("display commit details", () => { cy.location().should(location => { expect(location.pathname).to.eq( "/seeds/willow.radicle.garden/rad:git:hnrk8mbpirp7ua7sy66o4t9soasbq4y8uwgoy/commits/cbf5df499ab4f4a908f1756fbe2c236a4530516a", diff --git a/cypress/e2e/projectHeader.spec.ts b/cypress/e2e/projectHeader.spec.ts index 60ec7b428..87eac9d0a 100644 --- a/cypress/e2e/projectHeader.spec.ts +++ b/cypress/e2e/projectHeader.spec.ts @@ -2,7 +2,7 @@ /// import { MockProvider } from "@rsksmart/mock-web3-provider"; -describe("Project header", () => { +describe("project header", () => { beforeEach(() => { cy.intercept("/", { fixture: "projectHome.json", @@ -91,7 +91,7 @@ describe("Project header", () => { cy.get("div.clone-button").click(); }); - it("Peer Selector", () => { + it("lets user change peer", () => { cy.get("div.selector").click(); cy.get("div.dropdown-item") .contains( @@ -119,7 +119,7 @@ describe("Project header", () => { cy.get("div.stat.peer span.badge").should("have.text", "delegate"); }); - it("Branch selector", () => { + it("lets user on a specific peer change branches", () => { cy.get("div.commit div.stat.branch").click(); cy.get("div.dropdown-item") .first() @@ -137,7 +137,7 @@ describe("Project header", () => { cy.get("div.hash.desktop").should("have.text", "cbf5df4"); }); - it("Commits button", () => { + it("navigate to commit history", () => { cy.get("div.stat.commit-count").should("not.have.class", "active").click(); cy.wait(["@projectTreecbf5df4", "@projectCommits"]); cy.location().should(location => { @@ -148,7 +148,7 @@ describe("Project header", () => { cy.get("div.stat.commit-count").should("have.class", "active"); }); - it("Issues button", () => { + it("navigate to issues listing", () => { cy.get("div.stat.issue-count").click(); cy.wait(["@projectTreecbf5df4", "@projectIssues"]); cy.location().should(location => { @@ -159,7 +159,7 @@ describe("Project header", () => { cy.get("div.stat.issue-count").should("have.class", "active"); }); - it("Patches button", () => { + it("navigate to patches listing", () => { cy.get("div.stat.patch-count").click(); cy.wait(["@projectTree56e4e02", "@projectPatches"]); cy.location().should(location => { diff --git a/cypress/e2e/projectRoot.spec.ts b/cypress/e2e/projectRoot.spec.ts index b5c3938f5..960176866 100644 --- a/cypress/e2e/projectRoot.spec.ts +++ b/cypress/e2e/projectRoot.spec.ts @@ -2,8 +2,8 @@ /// import { MockProvider } from "@rsksmart/mock-web3-provider"; -describe("Root", () => { - it("Meta", () => { +describe("project meta", () => { + it("displays the correct project information", () => { cy.intercept("https://willow.radicle.garden:8777/", { fixture: "projectHome.json", }).as("projectHome");