From 63eff9e2571f1b8ca97349870599ac7021418f1e Mon Sep 17 00:00:00 2001 From: nehemiah-abuga Date: Wed, 6 Sep 2023 18:35:56 +0000 Subject: [PATCH] [MegaLinter] Apply linters fixes --- cypress/e2e/ui/accordions.cy.js | 2 +- cypress/e2e/ui/footer.cy.js | 2 +- cypress/e2e/ui/header.cy.js | 2 +- cypress/e2e/ui/links.cy.js | 2 +- cypress/e2e/ui/open-all-close-all-button.cy.js | 4 ++-- cypress/e2e/ui/print-selections.cy.js | 2 +- cypress/e2e/ui/sort-benefits-list.cy.js | 2 +- cypress/e2e/ui/ui-render-content.cy.js | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cypress/e2e/ui/accordions.cy.js b/cypress/e2e/ui/accordions.cy.js index 2fd341a159..bcf2be78a2 100644 --- a/cypress/e2e/ui/accordions.cy.js +++ b/cypress/e2e/ui/accordions.cy.js @@ -10,7 +10,7 @@ import * as ES_BENEFITS_SSA_RETIREMENT_BENEFITS_CHILD_DISABLED from "../../../lo import * as EN_LIFE_EVENTS_DISABILITY from "../../../locales/en/life-events/disability.json" import * as EN_LIFE_EVENTS_RETIREMENT from "../../../locales/en/life-events/retirement.json" -describe("Validate opening and closing of accordion cards", { browser: '!webkit' }, () => { +describe("Validate opening and closing of accordion cards", { browser: "!webkit" }, () => { beforeEach(() => { cy.visit("/") }) diff --git a/cypress/e2e/ui/footer.cy.js b/cypress/e2e/ui/footer.cy.js index 790de8ffd6..1af0085aa7 100644 --- a/cypress/e2e/ui/footer.cy.js +++ b/cypress/e2e/ui/footer.cy.js @@ -11,7 +11,7 @@ const footerContentES = ES_DATA.footer const footerContentEN = EN_DATA.footer const sitePages = SITE_PAGES_DATA.sitePages -describe("Footer Tests", { browser: '!webkit' }, () => { +describe("Footer Tests", { browser: "!webkit" }, () => { sitePages.forEach((sitePage) => { it(`Validate footer content mapping in ${sitePage.name}`, () => { cy.visit({ url: sitePage.route }) diff --git a/cypress/e2e/ui/header.cy.js b/cypress/e2e/ui/header.cy.js index 282e01010a..28237261d4 100644 --- a/cypress/e2e/ui/header.cy.js +++ b/cypress/e2e/ui/header.cy.js @@ -2,7 +2,7 @@ import { pages } from "../../support/page-objects/pages.js" -describe("Header Tests", { browser: '!webkit' }, () => { +describe("Header Tests", { browser: "!webkit" }, () => { beforeEach(() => { cy.visit("/") }) diff --git a/cypress/e2e/ui/links.cy.js b/cypress/e2e/ui/links.cy.js index ba99337ea2..7e474f3259 100644 --- a/cypress/e2e/ui/links.cy.js +++ b/cypress/e2e/ui/links.cy.js @@ -4,7 +4,7 @@ import * as SITE_PAGES_DATA from "../../fixtures/site-pages.json" const sitePages = SITE_PAGES_DATA.sitePages -describe("Verify correct status code when user navigates links", { browser: '!webkit' }, () => { +describe("Verify correct status code when user navigates links", { browser: "!webkit" }, () => { sitePages.forEach((sitePage) => { it(`Verify success status code response for links in ${sitePage.name} `, () => { cy.visit({ url: sitePage.route }) diff --git a/cypress/e2e/ui/open-all-close-all-button.cy.js b/cypress/e2e/ui/open-all-close-all-button.cy.js index a6f8d00500..654948500e 100644 --- a/cypress/e2e/ui/open-all-close-all-button.cy.js +++ b/cypress/e2e/ui/open-all-close-all-button.cy.js @@ -5,7 +5,7 @@ import * as SITE_PAGES_DATA from "../../fixtures/site-pages.json" const sitePages = SITE_PAGES_DATA.sitePages -describe("Validate Open All button functionality", { browser: '!webkit' }, () => { +describe("Validate Open All button functionality", { browser: "!webkit" }, () => { sitePages.forEach((sitePage) => { it(`Verify Open All button should open all accordion cards in ${sitePage.name}`, () => { cy.visit({ url: sitePage.route }) @@ -17,7 +17,7 @@ describe("Validate Open All button functionality", { browser: '!webkit' }, () => }) }) -describe("Validate Close All button functionality", { browser: '!webkit' }, () => { +describe("Validate Close All button functionality", { browser: "!webkit" }, () => { sitePages.forEach((sitePage) => { it(`Verify Close All button should close all accordion cards in ${sitePage.name}`, () => { cy.visit({ url: sitePage.route }) diff --git a/cypress/e2e/ui/print-selections.cy.js b/cypress/e2e/ui/print-selections.cy.js index 29c0c8dc9c..8be771b77f 100644 --- a/cypress/e2e/ui/print-selections.cy.js +++ b/cypress/e2e/ui/print-selections.cy.js @@ -3,7 +3,7 @@ import { pages } from "../../support/page-objects/pages.js" import * as EN_CRITERIA from "../../../locales/en/criteria.json" -describe("Select criteria and print selections", { browser: '!webkit' }, () => { +describe("Select criteria and print selections", { browser: "!webkit" }, () => { beforeEach(() => { cy.visit("/") }) diff --git a/cypress/e2e/ui/sort-benefits-list.cy.js b/cypress/e2e/ui/sort-benefits-list.cy.js index 881844aa68..3b868d8f43 100644 --- a/cypress/e2e/ui/sort-benefits-list.cy.js +++ b/cypress/e2e/ui/sort-benefits-list.cy.js @@ -4,7 +4,7 @@ import { pages } from "../../support/page-objects/pages.js" import * as EN_CRITERIA from "../../../locales/en/criteria.json" import * as EN_BENEFITS_COVID_19 from "../../../locales/en/benefits/fema-covid-19-funeral-assistance.json" -describe("Sort benefits accordion list using Covid 19 filter", { browser: '!webkit' }, () => { +describe("Sort benefits accordion list using Covid 19 filter", { browser: "!webkit" }, () => { beforeEach(() => { cy.visit("/") }) diff --git a/cypress/e2e/ui/ui-render-content.cy.js b/cypress/e2e/ui/ui-render-content.cy.js index c3c8c869eb..81453f8622 100644 --- a/cypress/e2e/ui/ui-render-content.cy.js +++ b/cypress/e2e/ui/ui-render-content.cy.js @@ -13,7 +13,7 @@ import * as EN_LIFE_EVENTS_RETIREMENT from "../../../locales/en/life-events/reti const sitePages = SITE_PAGES_DATA.sitePages -describe("Verify UI is rendering content correctly", { browser: '!webkit' }, () => { +describe("Verify UI is rendering content correctly", { browser: "!webkit" }, () => { sitePages.forEach((sitePage) => { it(`Verify ${sitePage.name} is rendering content correctly instead of dot notation value on checkbox labels`, () => { cy.visit({ url: sitePage.route }) @@ -25,7 +25,7 @@ describe("Verify UI is rendering content correctly", { browser: '!webkit' }, () }) }) -describe("Verify Benefits Card content is displaying correctly", { browser: '!webkit' }, () => { +describe("Verify Benefits Card content is displaying correctly", { browser: "!webkit" }, () => { beforeEach(() => { cy.visit("/") })