diff --git a/web/src/elements/cards/tests/QuickActionCard.test.ts b/web/src/elements/cards/tests/QuickActionCard.test.ts index 02968a0eb2..ab8545f141 100644 --- a/web/src/elements/cards/tests/QuickActionCard.test.ts +++ b/web/src/elements/cards/tests/QuickActionCard.test.ts @@ -32,13 +32,13 @@ describe("ak-quick-actions-card", () => { html`` + >`, ); const component = await $("ak-quick-actions-card"); const items = await component.$$(">>>.pf-c-list li"); await expect(Array.from(items).length).toEqual(5); await expect(await component.$(">>>.pf-c-list li:nth-of-type(4)")).toHaveText( - "Manage users" + "Manage users", ); }); }); diff --git a/web/src/elements/forms/SearchSelect/tests/ak-search-select-view.comp.ts b/web/src/elements/forms/SearchSelect/tests/ak-search-select-view.comp.ts index c461ea7eeb..c194824185 100644 --- a/web/src/elements/forms/SearchSelect/tests/ak-search-select-view.comp.ts +++ b/web/src/elements/forms/SearchSelect/tests/ak-search-select-view.comp.ts @@ -8,7 +8,7 @@ browser.addCommand( // @ts-ignore }, this); }, - true + true, ); /** @@ -25,7 +25,7 @@ browser.addCommand( export class AkSearchSelectViewDriver { constructor( public element: WebdriverIO.Element, - public menu: WebdriverIO.Element + public menu: WebdriverIO.Element, ) { /* no op */ } @@ -35,7 +35,7 @@ export class AkSearchSelectViewDriver { const comptype = await element.getAttribute("data-ouia-component-type"); if (comptype !== "ak-search-select-view") { throw new Error( - `SearchSelectView driver passed incorrect component. Expected ak-search-select-view, got ${comptype ? `'${comptype}` : `No test data type, tag name: '${tagname}'`}` + `SearchSelectView driver passed incorrect component. Expected ak-search-select-view, got ${comptype ? `'${comptype}` : `No test data type, tag name: '${tagname}'`}`, ); } const id = await element.getAttribute("data-ouia-component-id"); diff --git a/web/src/elements/forms/SearchSelect/tests/ak-search-select-view.test.ts b/web/src/elements/forms/SearchSelect/tests/ak-search-select-view.test.ts index 71f3ec165c..bcb94ed1ba 100644 --- a/web/src/elements/forms/SearchSelect/tests/ak-search-select-view.test.ts +++ b/web/src/elements/forms/SearchSelect/tests/ak-search-select-view.test.ts @@ -19,7 +19,7 @@ describe("Search select: Test Input Field", () => { beforeEach(async () => { render( html` `, - document.body + document.body, ); select = await AkSearchSelectViewDriver.build(await $("ak-search-select-view")); }); @@ -82,7 +82,7 @@ describe("Search select: Test Input Field", () => { it("should close the menu when the user clicks away", async () => { document.body.insertAdjacentHTML( "afterbegin", - '' + '', ); const input = await browser.$("#a-separate-component"); diff --git a/web/wdio.conf.ts b/web/wdio.conf.ts index 6621bc3d9d..590cfde2fa 100644 --- a/web/wdio.conf.ts +++ b/web/wdio.conf.ts @@ -29,7 +29,7 @@ export const config: Options.Testrunner = { plugins: [ replace({ "process.env.NODE_ENV": JSON.stringify( - isProdBuild ? "production" : "development" + isProdBuild ? "production" : "development", ), "process.env.CWD": JSON.stringify(cwd()), "process.env.AK_API_BASE_PATH": JSON.stringify(apiBasePath),