Skip to content

Commit

Permalink
ran prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 6, 2024
1 parent 47b8583 commit f076d8b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/tests/component-objects/TopicsDropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import BaseComponent from "./BaseComponent";
export default class TopicsDropdown extends BaseComponent {
public static readonly locators = {
TOPICS_DROPDOWN: "#topics-dropdown",
TOPICS_OPTIONS: "#topics-dropdown ul#isVisibleElement"
TOPICS_OPTIONS: "#topics-dropdown ul#isVisibleElement",
};

constructor(page: Page) {
Expand Down
6 changes: 3 additions & 3 deletions frontend/tests/fixtures/page-fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import LandingPage from "../page-objects/LandingPage";
import HomePage from "../page-objects/HomePage";

export const test = baseTest.extend<{
landingPage: LandingPage,
homePage: HomePage
landingPage: LandingPage;
homePage: HomePage;
}>({
landingPage: async ({ page }, use) => {
const landingPage = new LandingPage(page);
Expand All @@ -13,7 +13,7 @@ export const test = baseTest.extend<{
homePage: async ({ page }, use) => {
const homePage = new HomePage(page);
await use(homePage);
}
},
});

export { expect } from "@playwright/test";
Expand Down
3 changes: 1 addition & 2 deletions frontend/tests/page-objects/HomePage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import TopicsDropdown from "../component-objects/TopicsDropdown";
import BasePage from "./BasePage";

export default class HomePage extends BasePage {
public static readonly locators = {
};
public static readonly locators = {};

readonly topicsDropdown: TopicsDropdown;

Expand Down

0 comments on commit f076d8b

Please sign in to comment.