Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { expect, test } from "./utils/test";
|
||||
import { getTenantCredentials, loginAsTenantUser } from "./utils/auth";
|
||||
import { skipIfUnavailable } from "./utils/navigation";
|
||||
import { skipOrFailWhenE2eInputsMissing } from "./utils/readiness";
|
||||
import { skipOrFailWhenE2eFixtureMissing, skipOrFailWhenE2eInputsMissing } from "./utils/readiness";
|
||||
|
||||
/**
|
||||
* Integrations-Smoke (R-P5 / DoD D.19): Login -> Integrations-Katalog oeffnen ->
|
||||
@@ -14,7 +14,8 @@ import { skipOrFailWhenE2eInputsMissing } from "./utils/readiness";
|
||||
const credentials = getTenantCredentials();
|
||||
const dashboardPath = process.env.E2E_TENANT_DASHBOARD_PATH;
|
||||
const integrationsPath =
|
||||
process.env.E2E_TENANT_INTEGRATIONS_PATH ?? (dashboardPath?.endsWith("/dashboard") ? dashboardPath.replace(/\/dashboard$/u, "/integrations") : undefined);
|
||||
process.env.E2E_TENANT_INTEGRATIONS_PATH ??
|
||||
(dashboardPath?.endsWith("/dashboard") ? dashboardPath.replace(/\/dashboard$/u, "/settings/integrations") : undefined);
|
||||
|
||||
test.describe("integrations smoke (R-P5)", () => {
|
||||
test.beforeEach(() => {
|
||||
@@ -22,7 +23,9 @@ test.describe("integrations smoke (R-P5)", () => {
|
||||
});
|
||||
|
||||
test("opens the catalog, an app's connection management and the connect wizard", async ({ page }) => {
|
||||
test.skip(!integrationsPath, "Integrations path not derivable from E2E_TENANT_DASHBOARD_PATH");
|
||||
if (!integrationsPath) {
|
||||
skipOrFailWhenE2eFixtureMissing("Integrations path not derivable from E2E_TENANT_DASHBOARD_PATH");
|
||||
}
|
||||
await loginAsTenantUser(page, credentials!);
|
||||
|
||||
const response = await page.goto(integrationsPath!, { waitUntil: "domcontentloaded" });
|
||||
@@ -33,7 +36,7 @@ test.describe("integrations smoke (R-P5)", () => {
|
||||
// Open the P5 reference app card (always in the code catalog).
|
||||
const card = page.locator('[data-row-id="sample-data-sync"]').first();
|
||||
if (!(await card.isVisible())) {
|
||||
test.skip(true, "sample-data-sync card not visible (catalog empty for this tenant)");
|
||||
skipOrFailWhenE2eFixtureMissing("sample-data-sync card not visible (catalog empty for this tenant)");
|
||||
}
|
||||
await card.click();
|
||||
|
||||
|
||||
Reference in new issue
Block a user