Skip to content

Commit a67ae92

Browse files
feat(e2e): fix code format
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
1 parent 4a18cb2 commit a67ae92

3 files changed

Lines changed: 31 additions & 29 deletions

File tree

workspaces/bulk-import/e2e-tests/tests/config/app-config-rhdh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
integrations:
55
github:
66
- host: github.com
7-
token: ${GITHUB_TOKEN}
7+
token: ${GITHUB_TOKEN}
88
# apps:
99
# - appId: ${GITHUB_APP_APP_ID}
1010
# clientId: ${GITHUB_APP_CLIENT_ID}

workspaces/bulk-import/e2e-tests/tests/config/dynamic-plugins.yaml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -33,29 +33,29 @@ plugins:
3333
frontend:
3434
red-hat-developer-hub.backstage-plugin-orchestrator:
3535
appIcons:
36-
- importName: OrchestratorIcon
37-
name: orchestratorIcon
36+
- importName: OrchestratorIcon
37+
name: orchestratorIcon
3838
dynamicRoutes:
39-
- importName: OrchestratorPage
40-
menuItem:
41-
icon: orchestratorIcon
42-
text: Orchestrator
43-
textKey: menuItem.orchestrator
44-
path: /orchestrator
39+
- importName: OrchestratorPage
40+
menuItem:
41+
icon: orchestratorIcon
42+
text: Orchestrator
43+
textKey: menuItem.orchestrator
44+
path: /orchestrator
4545
entityTabs:
46-
- path: /workflows
47-
title: Workflows
48-
titleKey: catalog.entityPage.workflows.title
49-
mountPoint: entity.page.workflows
46+
- path: /workflows
47+
title: Workflows
48+
titleKey: catalog.entityPage.workflows.title
49+
mountPoint: entity.page.workflows
5050
mountPoints:
51-
- mountPoint: entity.page.workflows/cards
52-
importName: OrchestratorCatalogTab
53-
config:
54-
layout:
55-
gridColumn: 1 / -1
56-
if:
57-
anyOf:
58-
- IsOrchestratorCatalogTabAvailable
51+
- mountPoint: entity.page.workflows/cards
52+
importName: OrchestratorCatalogTab
53+
config:
54+
layout:
55+
gridColumn: 1 / -1
56+
if:
57+
anyOf:
58+
- IsOrchestratorCatalogTabAvailable
5959

6060
- package: "oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-orchestrator-backend:bs_1.45.3__8.5.1"
6161
disabled: false
@@ -76,4 +76,4 @@ plugins:
7676
pluginConfig:
7777
dynamicPlugins:
7878
frontend:
79-
red-hat-developer-hub.backstage-plugin-orchestrator-form-widgets: { }
79+
red-hat-developer-hub.backstage-plugin-orchestrator-form-widgets: {}

workspaces/bulk-import/e2e-tests/tests/specs/bulk-import.spec.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import { APIHelper } from "rhdh-e2e-test-utils/helpers";
22
import { test, expect, Page } from "../fixtures";
33

44
export const WAIT_OBJECTS = {
5-
MuiLinearProgress: 'div[class*="MuiLinearProgress-root"]',
6-
MuiCircularProgress: '[class*="MuiCircularProgress-root"]',
5+
muiLinearProgress: 'div[class*="MuiLinearProgress-root"]',
6+
muiCircularProgress: '[class*="MuiCircularProgress-root"]',
77
};
88

99
test.describe("Bulk import tests", () => {
1010
const catalogRepoName = `janus-test-1-bulk-import-test-${Date.now()}`;
11-
const githubOrg = 'cloud-eda';
11+
const githubOrg = "cloud-eda";
1212
const catalogRepoDetails = {
1313
name: catalogRepoName,
1414
url: `github.com/${githubOrg}/${catalogRepoName}`,
@@ -118,9 +118,9 @@ test.describe("Bulk import tests", () => {
118118
});
119119

120120
const workflowPage = await clickLinkWithNewTab(page, "View workflow");
121-
await expect(workflowPage.getByRole("link", { name: "PR_URL" })).toBeVisible(
122-
{ timeout: 10000 },
123-
);
121+
await expect(
122+
workflowPage.getByRole("link", { name: "PR_URL" }),
123+
).toBeVisible({ timeout: 10000 });
124124
});
125125

126126
test.afterAll(async () => {
@@ -135,7 +135,9 @@ test.describe("Bulk import tests", () => {
135135
`[Cleanup] Deleted GitHub repository: ${catalogRepoDetails.name}`,
136136
);
137137
} catch (error) {
138-
console.error(`[Cleanup] Final cleanup failed: ${(error as any).message}`);
138+
console.error(
139+
`[Cleanup] Final cleanup failed: ${(error as any).message}`,
140+
);
139141
}
140142
});
141143
});

0 commit comments

Comments
 (0)