Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(e2e): upgrade existing rhdh release deployed via operator to new version #1920

Open
wants to merge 77 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
d3ff0ec
wip
nilgaar Nov 11, 2024
a554fb2
wip
nilgaar Nov 12, 2024
e4cf898
+ createNamespace
nilgaar Nov 12, 2024
4b50a2e
+deleteNamespace
nilgaar Nov 12, 2024
00213dd
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Nov 13, 2024
9318036
wip
nilgaar Nov 13, 2024
5bd6a21
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Nov 15, 2024
890b4f3
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Nov 18, 2024
538c0a5
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Nov 28, 2024
ad502cc
remove oc-api, use kubeclient
nilgaar Dec 9, 2024
8838fba
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Dec 9, 2024
212eb30
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Dec 23, 2024
008d264
setting up the operator script exposure
nilgaar Jan 2, 2025
8c073b3
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Jan 2, 2025
aad503f
set getDeploymentYamlPath
nilgaar Jan 2, 2025
af84a2b
Merge remote-tracking branch 'upstream/main' into e2e/RHIDP-2914
nilgaar Jan 7, 2025
3ca134e
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Jan 10, 2025
061bbcc
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Jan 13, 2025
c255677
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Jan 14, 2025
f657956
Merge remote-tracking branch 'upstream/main' into e2e/RHIDP-2914
nilgaar Jan 20, 2025
686271e
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Jan 21, 2025
4d61d0e
add loggers for OpenShift Operator Tests
nilgaar Jan 21, 2025
af8491a
await before applying oc deployment yaml
nilgaar Jan 21, 2025
77c0745
install bs rbac
nilgaar Jan 22, 2025
17e624e
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Jan 22, 2025
89f181d
add timeout to runShellCmd
nilgaar Jan 22, 2025
72b5953
improve installBackstageCRD
nilgaar Jan 22, 2025
f2f3570
add logger
nilgaar Jan 22, 2025
f671959
wip
nilgaar Jan 23, 2025
3466b85
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Jan 24, 2025
824a6b9
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Jan 24, 2025
dd193a4
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Jan 24, 2025
aa8f106
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Jan 24, 2025
f074c11
Merge remote-tracking branch 'upstream/main' into e2e/RHIDP-2914
nilgaar Jan 27, 2025
bdf88ee
goto catalog with page
nilgaar Jan 27, 2025
69a79b0
delete loggers atm
nilgaar Jan 28, 2025
1e5d88f
WIP on e2e/RHIDP-2914
nilgaar Jan 28, 2025
0845ad6
Merge remote-tracking branch 'upstream/main' into e2e/RHIDP-2914
nilgaar Jan 28, 2025
f9143e7
wip
nilgaar Jan 28, 2025
b5ae469
wip
nilgaar Jan 28, 2025
6c1b160
wip
nilgaar Jan 28, 2025
39e06a7
WIP on e2e/RHIDP-2914
nilgaar Jan 28, 2025
a7c1183
Merge remote-tracking branch 'upstream/main' into e2e/RHIDP-2914
nilgaar Jan 28, 2025
41cc386
change url retrieval method
nilgaar Jan 29, 2025
56a965e
wip
nilgaar Jan 29, 2025
93beabd
wip
nilgaar Jan 29, 2025
90e13f2
Merge remote-tracking branch 'upstream/main' into e2e/RHIDP-2914
nilgaar Jan 29, 2025
f1f3b7c
wip
nilgaar Jan 30, 2025
206a451
Merge remote-tracking branch 'upstream/main' into e2e/RHIDP-2914
nilgaar Jan 30, 2025
87ea885
wip
nilgaar Jan 30, 2025
b1198be
Merge remote-tracking branch 'upstream/main' into e2e/RHIDP-2914
nilgaar Jan 30, 2025
27f9967
Merge remote-tracking branch 'upstream/main' into e2e/RHIDP-2914
nilgaar Jan 31, 2025
96120c9
move to operator
nilgaar Jan 31, 2025
4824cac
Merge remote-tracking branch 'upstream/main' into e2e/RHIDP-2914
nilgaar Jan 31, 2025
43f4b4b
wip
nilgaar Jan 31, 2025
6ad0731
rename UiHelper class
nilgaar Jan 31, 2025
af72a44
Merge remote-tracking branch 'upstream/main' into e2e/RHIDP-2914
nilgaar Feb 5, 2025
1241cda
cleanup
nilgaar Feb 5, 2025
84da6f8
Merge remote-tracking branch 'upstream/main' into e2e/RHIDP-2914
nilgaar Feb 10, 2025
04c39fb
update version variable abstraction
nilgaar Feb 12, 2025
669c280
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Feb 12, 2025
93d081f
fix rebase
nilgaar Feb 12, 2025
d3e2de8
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Feb 14, 2025
db04495
fix getDeploymentYamlPath
nilgaar Feb 14, 2025
4ee9a58
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Feb 17, 2025
0ffae71
fix missing yaml
nilgaar Feb 17, 2025
cf6ca1c
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Feb 17, 2025
40eec37
add manual awaits
nilgaar Feb 17, 2025
3ea7542
Merge remote-tracking branch 'origin/e2e/RHIDP-2914' into e2e/RHIDP-2914
nilgaar Feb 17, 2025
33b2d7c
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Feb 18, 2025
56e21fb
+ logger
nilgaar Feb 18, 2025
1a93c50
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Feb 18, 2025
e338716
wip
nilgaar Feb 19, 2025
08f459c
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Feb 19, 2025
57c7e96
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Feb 19, 2025
08565b2
extend timeout
nilgaar Feb 19, 2025
bab9baf
Merge branch 'main' into e2e/RHIDP-2914
nilgaar Feb 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ dynamic-plugins-root/*

# Private Keys
*.pem

e2e-tests/operator-project
3 changes: 3 additions & 0 deletions e2e-tests/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export default defineConfig({
"**/playwright/e2e/configuration-test/config-map.spec.ts",
"**/playwright/e2e/plugins/tekton/tekton.spec.ts",
"**/playwright/e2e/audit-log/**/*.spec.ts",
"**/playwright/e2e/operator/**/*.spec.ts",
],
},
{
Expand All @@ -81,6 +82,7 @@ export default defineConfig({
"**/playwright/e2e/authProviders/setup-environment.spec.ts",
"**/playwright/e2e/authProviders/clear-environment.spec.ts",
"**/playwright/e2e/verify-tls-config-health-check.spec.ts",
"**/playwright/e2e/operator/**/*.spec.ts",
],
dependencies: ["showcase-auth-providers-setup-environment"],
teardown: "showcase-auth-providers-clear-environment",
Expand Down Expand Up @@ -112,6 +114,7 @@ export default defineConfig({
"**/playwright/e2e/verify-redis-cache.spec.ts",
"**/playwright/e2e/verify-tls-config-health-check.spec.ts",
"**/playwright/e2e/configuration-test/config-map.spec.ts",
"**/playwright/e2e/operator/**/*.spec.ts",
],
},
{
Expand Down
16 changes: 16 additions & 0 deletions e2e-tests/playwright/data/backstage-operator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: rhdh.redhat.com/v1alpha3
kind: Backstage
metadata:
name: developer-hub
namespace: rhdh-operator
spec:
application:
appConfig:
mountPath: /opt/app-root/src
extraFiles:
mountPath: /opt/app-root/src
replicas: 1
route:
enabled: true
database:
enableLocalDb: true
6 changes: 3 additions & 3 deletions e2e-tests/playwright/e2e/audit-log/catalog.spec.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { test } from "@playwright/test";
import { Common } from "../../utils/common";
import { UIhelper } from "../../utils/ui-helper";
import { UiHelper } from "../../utils/ui-helper";
import { LogUtils } from "./log-utils";
import { CatalogImport } from "../../support/pages/catalog-import";

test.describe("Audit Log check for Catalog Plugin", () => {
let uiHelper: UIhelper;
let uiHelper: UiHelper;
let common: Common;
let catalogImport: CatalogImport;
let baseApiUrl: string;
Expand All @@ -16,7 +16,7 @@ test.describe("Audit Log check for Catalog Plugin", () => {
});

test.beforeEach(async ({ page }) => {
uiHelper = new UIhelper(page);
uiHelper = new UiHelper(page);
common = new Common(page);
catalogImport = new CatalogImport(page);
await common.loginAsGuest();
Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/playwright/e2e/audit-log/log-utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { expect } from "@playwright/test";
import { execFile } from "child_process";
import { Log } from "./logs";
import { LOGGER } from "../../utils/logger";

export class LogUtils {
/**
Expand Down Expand Up @@ -198,7 +199,7 @@ export class LogUtils {
await LogUtils.executeCommand(command, args);
console.log("Login successful.");
} catch (error) {
console.error("Error during login:", error);
LOGGER.error("Error during login:", error);
throw new Error(`Failed to login to OpenShift: ${error}`);
}
}
Expand Down
6 changes: 3 additions & 3 deletions e2e-tests/playwright/e2e/audit-log/scaffold.spec.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { test } from "@playwright/test";
import { Common } from "../../utils/common";
import { UIhelper } from "../../utils/ui-helper";
import { UiHelper } from "../../utils/ui-helper";
import { LogUtils } from "./log-utils";
import { CatalogImport } from "../../support/pages/catalog-import";

test.describe("Audit Log check for Catalog Plugin", () => {
let uiHelper: UIhelper;
let uiHelper: UiHelper;
let common: Common;
let catalogImport: CatalogImport;
const template =
Expand All @@ -18,7 +18,7 @@ test.describe("Audit Log check for Catalog Plugin", () => {

// Common setup before each test
test.beforeEach(async ({ page }) => {
uiHelper = new UIhelper(page);
uiHelper = new UiHelper(page);
common = new Common(page);
catalogImport = new CatalogImport(page);
await common.loginAsGuest();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test, Page, expect } from "@playwright/test";
import { Common, setupBrowser } from "../../utils/common";
import { UIhelper } from "../../utils/ui-helper";
import { UiHelper } from "../../utils/ui-helper";
import * as constants from "../../utils/authenticationProviders/constants";
import { dumpAllPodsLogs, dumpRHDHUsersAndGroups } from "../../utils/helper";
import { APIHelper } from "../../utils/api-helper";
Expand All @@ -13,13 +13,13 @@ test.describe("Standard authentication providers: Basic authentication", () => {
test.use({ baseURL: constants.AUTH_PROVIDERS_BASE_URL });

let common: Common;
let uiHelper: UIhelper;
let uiHelper: UiHelper;

test.beforeAll(async ({ browser }, testInfo) => {
test.setTimeout(120 * 1000);
page = (await setupBrowser(browser, testInfo)).page;
common = new Common(page);
uiHelper = new UIhelper(page);
uiHelper = new UiHelper(page);
expect(process.env.BASE_URL).not.toBeNull();
LOGGER.info(`Base Url is ${process.env.BASE_URL}`);
LOGGER.info(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test, Page, expect } from "@playwright/test";
import { Common, setupBrowser } from "../../utils/common";
import { UIhelper } from "../../utils/ui-helper";
import { UiHelper } from "../../utils/ui-helper";
import * as constants from "../../utils/authenticationProviders/constants";
import { LOGGER } from "../../utils/logger";
import {
Expand All @@ -26,7 +26,7 @@ test.describe("Standard authentication providers: Github Provider", () => {

let common: Common;
let context: BrowserContext;
let uiHelper: UIhelper;
let uiHelper: UiHelper;
let mustSync = false;
const syncTime = 60;

Expand All @@ -36,7 +36,7 @@ test.describe("Standard authentication providers: Github Provider", () => {
page = browserSetup.page;
context = browserSetup.context;
common = new Common(page);
uiHelper = new UIhelper(page);
uiHelper = new UiHelper(page);
expect(process.env.BASE_URL).not.toBeNull();
expect(process.env.AUTH_PROVIDERS_GH_USER_2FA).not.toBeNull();
expect(process.env.AUTH_PROVIDERS_GH_ADMIN_2FA).not.toBeNull();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test, Page, expect } from "@playwright/test";
import { Common, setupBrowser } from "../../utils/common";
import { UIhelper } from "../../utils/ui-helper";
import { UiHelper } from "../../utils/ui-helper";
import UserRepresentation from "@keycloak/keycloak-admin-client/lib/defs/userRepresentation";
import * as constants from "../../utils/authenticationProviders/constants";
import { LOGGER } from "../../utils/logger";
Expand All @@ -27,7 +27,7 @@ test.describe("Standard authentication providers: Micorsoft Azure EntraID", () =
test.use({ baseURL: constants.AUTH_PROVIDERS_BASE_URL });
let common: Common;
let context: BrowserContext;
let uiHelper: UIhelper;
let uiHelper: UiHelper;
let usersCreated: Map<string, UserRepresentation>;
let groupsCreated: Map<string, GroupRepresentation>;
const syncTime = 60;
Expand All @@ -43,7 +43,7 @@ test.describe("Standard authentication providers: Micorsoft Azure EntraID", () =
page = browserSetup.page;
context = browserSetup.context;
common = new Common(page);
uiHelper = new UIhelper(page);
uiHelper = new UiHelper(page);
expect(process.env.BASE_URL).not.toBeNull();
expect(constants.AUTH_PROVIDERS_BASE_URL).not.toBeNull();
expect(constants.AUTH_PROVIDERS_NAMESPACE).not.toBeNull();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test, Page, expect } from "@playwright/test";
import { Common, setupBrowser } from "../../utils/common";
import { UIhelper } from "../../utils/ui-helper";
import { UiHelper } from "../../utils/ui-helper";
import UserRepresentation from "@keycloak/keycloak-admin-client/lib/defs/userRepresentation";
import * as constants from "../../utils/authenticationProviders/constants";
import { LOGGER } from "../../utils/logger";
Expand All @@ -24,7 +24,7 @@ for (const version of ["RHBK"]) {
test.use({ baseURL: constants.AUTH_PROVIDERS_BASE_URL });

let common: Common;
let uiHelper: UIhelper;
let uiHelper: UiHelper;
let usersCreated: Map<string, UserRepresentation>;
let groupsCreated: Map<string, GroupRepresentation>;
const syntTime = 60;
Expand Down Expand Up @@ -73,7 +73,7 @@ for (const version of ["RHBK"]) {

page = (await setupBrowser(browser, testInfo)).page;
common = new Common(page);
uiHelper = new UIhelper(page);
uiHelper = new UiHelper(page);

if (version == "RHSSO") {
helmParams = [];
Expand Down
6 changes: 3 additions & 3 deletions e2e-tests/playwright/e2e/catalog-scaffolded-from-link.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect, Page, test } from "@playwright/test";
import { UIhelper } from "../utils/ui-helper";
import { UiHelper } from "../utils/ui-helper";
import { Common, setupBrowser } from "../utils/common";
import { CatalogImport } from "../support/pages/catalog-import";
import { APIHelper } from "../utils/api-helper";
Expand All @@ -8,7 +8,7 @@ import { GITHUB_API_ENDPOINTS } from "../utils/api-endpoints";
let page: Page;

test.describe.serial("Link Scaffolded Templates to Catalog Items", () => {
let uiHelper: UIhelper;
let uiHelper: UiHelper;
let common: Common;
let catalogImport: CatalogImport;

Expand All @@ -31,7 +31,7 @@ test.describe.serial("Link Scaffolded Templates to Catalog Items", () => {
page = (await setupBrowser(browser, testInfo)).page;

common = new Common(page);
uiHelper = new UIhelper(page);
uiHelper = new UiHelper(page);
catalogImport = new CatalogImport(page);

await common.loginAsGuest();
Expand Down
6 changes: 3 additions & 3 deletions e2e-tests/playwright/e2e/catalog-timestamp.spec.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Page, expect, test } from "@playwright/test";
import { UIhelper } from "../utils/ui-helper";
import { UiHelper } from "../utils/ui-helper";
import { Common, setupBrowser } from "../utils/common";
import { CatalogImport } from "../support/pages/catalog-import";
import { UI_HELPER_ELEMENTS } from "../support/pageObjects/global-obj";

let page: Page;
test.describe("Test timestamp column on Catalog", () => {
let uiHelper: UIhelper;
let uiHelper: UiHelper;
let common: Common;
let catalogImport: CatalogImport;

Expand All @@ -17,7 +17,7 @@ test.describe("Test timestamp column on Catalog", () => {
page = (await setupBrowser(browser, testInfo)).page;

common = new Common(page);
uiHelper = new UIhelper(page);
uiHelper = new UiHelper(page);
catalogImport = new CatalogImport(page);

await common.loginAsGuest();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { test, expect } from "@playwright/test";
import { KubeClient } from "../../utils/kube-client";
import { LOGGER } from "../../utils/logger";
import { Common } from "../../utils/common";
import { UIhelper } from "../../utils/ui-helper";
import { UiHelper } from "../../utils/ui-helper";

test.describe.skip("Change app-config at e2e test runtime", () => {
test("Verify title change after ConfigMap modification", async ({ page }) => {
Expand All @@ -14,7 +14,7 @@ test.describe.skip("Change app-config at e2e test runtime", () => {

const kubeUtils = new KubeClient();
const dynamicTitle = generateDynamicTitle();
const uiHelper = new UIhelper(page);
const uiHelper = new UiHelper(page);
try {
LOGGER.info(`Updating ConfigMap '${configMapName}' with new title.`);
await kubeUtils.updateConfigMapTitle(
Expand All @@ -33,7 +33,7 @@ test.describe.skip("Change app-config at e2e test runtime", () => {
await page.context().clearPermissions();
await page.reload({ waitUntil: "domcontentloaded" });
await common.loginAsGuest();
await new UIhelper(page).openSidebar("Home");
await new UiHelper(page).openSidebar("Home");
await uiHelper.verifyHeading("Welcome back!");
await uiHelper.verifyText("Quick Access");
await expect(page.locator("#search-bar-text-field")).toBeVisible();
Expand Down
17 changes: 9 additions & 8 deletions e2e-tests/playwright/e2e/github-happy-path.spec.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
import { test, expect, Page } from "@playwright/test";
import { UIhelper } from "../utils/ui-helper";
import { UiHelper } from "../utils/ui-helper";
import { Common, setupBrowser } from "../utils/common";
import { RESOURCES } from "../support/testData/resources";
import {
BackstageShowcase,
CatalogImport,
} from "../support/pages/catalog-import";
import { TEMPLATES } from "../support/testData/templates";
import { LOGGER } from "../utils/logger";

let page: Page;

// TODO: replace skip with serial
test.describe.skip("GitHub Happy path", () => {
//TODO: skipping due to RHIDP-4992
let common: Common;
let uiHelper: UIhelper;
let uiHelper: UiHelper;
let catalogImport: CatalogImport;
let backstageShowcase: BackstageShowcase;

Expand All @@ -24,7 +25,7 @@ test.describe.skip("GitHub Happy path", () => {
test.beforeAll(async ({ browser }, testInfo) => {
page = (await setupBrowser(browser, testInfo)).page;

uiHelper = new UIhelper(page);
uiHelper = new UiHelper(page);
common = new Common(page);
catalogImport = new CatalogImport(page);
backstageShowcase = new BackstageShowcase(page);
Expand Down Expand Up @@ -134,24 +135,24 @@ test.describe.skip("GitHub Happy path", () => {

// TODO https://issues.redhat.com/browse/RHIDP-3159 The last ~10 GitHub Pull Requests are missing from the list
test.skip("Click on the arrows to verify that the next/previous/first/last pages of PRs are loaded", async () => {
console.log("Fetching all PRs from GitHub");
LOGGER.info("Fetching all PRs from GitHub");
const allPRs = await BackstageShowcase.getShowcasePRs("all", true);

console.log("Clicking on ALL button");
LOGGER.info("Clicking on ALL button");
await uiHelper.clickButton("ALL", { force: true });
await backstageShowcase.verifyPRRows(allPRs, 0, 5);

console.log("Clicking on Next Page button");
LOGGER.info("Clicking on Next Page button");
await backstageShowcase.clickNextPage();
await backstageShowcase.verifyPRRows(allPRs, 5, 10);

const lastPagePRs = Math.floor((allPRs.length - 1) / 5) * 5;

console.log("Clicking on Last Page button");
LOGGER.info("Clicking on Last Page button");
await backstageShowcase.clickLastPage();
await backstageShowcase.verifyPRRows(allPRs, lastPagePRs, allPRs.length);

console.log("Clicking on Previous Page button");
LOGGER.info("Clicking on Previous Page button");
await backstageShowcase.clickPreviousPage();
await backstageShowcase.verifyPRRows(allPRs, lastPagePRs - 5, lastPagePRs);
});
Expand Down
6 changes: 3 additions & 3 deletions e2e-tests/playwright/e2e/github-integration-org-fetch.spec.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { test, Page } from "@playwright/test";
import { UIhelper } from "../utils/ui-helper";
import { UiHelper } from "../utils/ui-helper";
import { Common, setupBrowser } from "../utils/common";

let page: Page;
test.describe.serial("GitHub integration with Org data fetching", () => {
let common: Common;
let uiHelper: UIhelper;
let uiHelper: UiHelper;

test.beforeAll(async ({ browser }, testInfo) => {
page = (await setupBrowser(browser, testInfo)).page;
uiHelper = new UIhelper(page);
uiHelper = new UiHelper(page);
common = new Common(page);
await common.loginAsKeycloakUser();
});
Expand Down
6 changes: 3 additions & 3 deletions e2e-tests/playwright/e2e/google-signin-happy-path.spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { test, Page } from "@playwright/test";
import { Common } from "../utils/common";
import { UIhelper } from "../utils/ui-helper";
import { UiHelper } from "../utils/ui-helper";

let page: Page;
test.describe.skip("Google signin happy path", () => {
let uiHelper: UIhelper;
let uiHelper: UiHelper;
let common: Common;
const googleUserId = process.env.GOOGLE_USER_ID;

Expand All @@ -19,7 +19,7 @@ test.describe.skip("Google signin happy path", () => {
});
page = await context.newPage();

uiHelper = new UIhelper(page);
uiHelper = new UiHelper(page);
common = new Common(page);

await common.loginAsGuest();
Expand Down
Loading
Loading