Skip to content

Commit

Permalink
Lint formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
radical-ube committed Jun 14, 2024
1 parent e82927d commit a66fa71
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cypress/e2e/feeder-episode-planner.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ describe("Feeder Episode Planner", () => {
Cypress.config({ baseUrl: `https://${Cypress.env("FEEDER_HOST")}` });
});

it ("builds episode drafts in bulk", () => {
it("builds episode drafts in bulk", () => {
const now = new Date().toISOString();
const canary = `Acceptance Test: ${now}`;

Expand All @@ -20,8 +20,8 @@ describe("Feeder Episode Planner", () => {

// plan episodes
cy.contains("a", "Plan Episodes").click();
cy.get("#selected_days").select(["Sunday", "Monday"], {force: true});
cy.get("#selected_weeks").select("First Week", {force: true});
cy.get("#selected_days").select(["Sunday", "Monday"], { force: true });
cy.get("#selected_weeks").select("First Week", { force: true });
cy.get("#ad_breaks").type("1");
cy.contains("Create 10 Drafts").click();
cy.contains("Episode drafts generated");
Expand All @@ -31,8 +31,8 @@ describe("Feeder Episode Planner", () => {
cy.get(".prx-badge-incomplete").should("have.length", 10);
cy.contains("a", "Plan Episodes").click();
cy.get("td[class*='bg-warning']").should("have.length", 10);
cy.get("#selected_days").select("Sunday", {force: true});
cy.get("#selected_weeks").select("First Week", {force: true});
cy.get("#selected_days").select("Sunday", { force: true });
cy.get("#selected_weeks").select("First Week", { force: true });
cy.get("td[class*='bg-danger']").should("have.length", 5);

// go back to podcast settings and delete
Expand All @@ -44,4 +44,4 @@ describe("Feeder Episode Planner", () => {
cy.contains(".btn", "Delete").click();
cy.contains("Podcast deleted");
});
})
});

0 comments on commit a66fa71

Please sign in to comment.