Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
plugins:
- package: ./dynamic-plugins/dist/backstage-community-plugin-github-actions
disabled: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
plugins:
- package: ./dynamic-plugins/dist/backstage-community-plugin-github-issues
disabled: false
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@
APIHelper,
GITHUB_API_ENDPOINTS,
} from "@red-hat-developer-hub/e2e-test-utils/helpers";
import { WorkspacePaths } from "@red-hat-developer-hub/e2e-test-utils/utils";

test.describe("Test github-actions", () => {
test.beforeAll(async ({ rhdh }) => {
await rhdh.configure({
auth: "github",
appConfig: "tests/config/github-actions/app-config-rhdh.yaml",
appConfig: `${WorkspacePaths.configDir}/github-actions/app-config-rhdh.yaml`,
dynamicPlugins: `${WorkspacePaths.configDir}/github-actions/dynamic-plugins.yaml`,
});
await rhdh.deploy();
});

test("Verify that the CI tab renders 5 most recent github actions", async ({

Check warning on line 18 in workspaces/github/e2e-tests/tests/specs/github-actions.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Code Quality

Test has no assertions
page,
loginHelper,
uiHelper,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
APIHelper,
GITHUB_API_ENDPOINTS,
} from "@red-hat-developer-hub/e2e-test-utils/helpers";
import { WorkspacePaths } from "@red-hat-developer-hub/e2e-test-utils/utils";

interface GHIssue {
pull_request: boolean; // eslint-disable-line @typescript-eslint/naming-convention
Expand All @@ -13,7 +14,8 @@ test.describe("Test github-issues", () => {
test.beforeAll(async ({ rhdh }) => {
await rhdh.configure({
auth: "github",
appConfig: "tests/config/github-issues/app-config-rhdh.yaml",
appConfig: `${WorkspacePaths.configDir}/github-issues/app-config-rhdh.yaml`,
dynamicPlugins: `${WorkspacePaths.configDir}/github-issues/dynamic-plugins.yaml`,
});
await rhdh.deploy();
});
Expand Down