Skip to content

Commit 95080a4

Browse files
fix(e2e): hide quickstart at settings page (#4078)
Signed-off-by: Patrick Knight <pknight@redhat.com> Co-authored-by: Patrick Knight <pknight@redhat.com>
1 parent 38e45f2 commit 95080a4

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

e2e-tests/playwright/e2e/custom-theme.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
getTranslations,
1111
getCurrentLanguage,
1212
} from "../e2e/localization/locale";
13-
import { UIhelper } from "../utils/ui-helper";
1413

1514
const t = getTranslations();
1615
const lang = getCurrentLanguage();
@@ -19,7 +18,6 @@ let page: Page;
1918
test.describe("CustomTheme should be applied", () => {
2019
let common: Common;
2120
let themeVerifier: ThemeVerifier;
22-
let uiHelper: UIhelper;
2321

2422
test.beforeAll(async ({ browser }, testInfo) => {
2523
test.info().annotations.push({
@@ -30,10 +28,8 @@ test.describe("CustomTheme should be applied", () => {
3028
page = (await setupBrowser(browser, testInfo)).page;
3129
common = new Common(page);
3230
themeVerifier = new ThemeVerifier(page);
33-
uiHelper = new UIhelper(page);
3431

3532
await common.loginAsGuest();
36-
await uiHelper.hideQuickstartIfVisible();
3733
});
3834

3935
test("Verify theme colors are applied and make screenshots", async ({}, testInfo: TestInfo) => {

e2e-tests/playwright/utils/custom-theme/theme-verifier.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export class ThemeVerifier {
2222
"/settings",
2323
t["user-settings"][lang]["settingsLayout.title"],
2424
);
25+
await this.uiHelper.hideQuickstartIfVisible();
2526
await this.uiHelper.clickBtnByTitleIfNotPressed(`Select ${theme}`);
2627
const themeButton = this.page.getByRole("button", {
2728
name: theme,

0 commit comments

Comments
 (0)