-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* style more like * add anotation about running on CI * expanding and grouping developer guidelines * add paths ignore for e2e docs * adding Use of External Sources for Validation * reorganization * delete innecessari duplications of principles for new PRs * move e2e contributing file * delete duplicates * +readme.md * improve e2e lint * enforce naming * enforce case with lint * fix broken waitForNextSync * add prettier and lint check for e2e * fix missing lint errors * fix problem caused on github-helper * rename catalog * wip * delete logger * + logger * update for catalog path * rename logs again * fix lint check on CI * + POM * wip on RbacPo * wip * wip wip wip replace old references with rbacPo * amenda * adjust kubeclient naming and usage * wip * fix merge conflicts * rename typo on KubeClient * wip * wip * fix lint * fix tests * minor fixes * fix main conflicts * ignore any for lint --------- Co-authored-by: Joseph Kim <[email protected]>
- Loading branch information
Showing
80 changed files
with
1,149 additions
and
970 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,48 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
|
||
"plugins": ["@typescript-eslint"], | ||
"plugins": ["@typescript-eslint", "filenames"], | ||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"], | ||
"ignorePatterns": ["node_modules", "playwright-report", "test-results"], | ||
"rules": { | ||
"@typescript-eslint/no-explicit-any": "off" | ||
}, | ||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"] | ||
"@typescript-eslint/naming-convention": [ | ||
"error", | ||
{ | ||
"selector": "variable", | ||
"format": ["camelCase"] | ||
}, | ||
{ | ||
"selector": "variable", | ||
"modifiers": ["const", "exported"], | ||
"format": ["UPPER_CASE"] | ||
}, | ||
{ | ||
"selector": "function", | ||
"format": ["camelCase"] | ||
}, | ||
{ | ||
"selector": "parameter", | ||
"format": ["camelCase"], | ||
"leadingUnderscore": "allow" | ||
}, | ||
{ | ||
"selector": "memberLike", | ||
"modifiers": ["private"], | ||
"format": ["camelCase"], | ||
"leadingUnderscore": "allow" | ||
}, | ||
{ | ||
"selector": "typeLike", | ||
"format": ["PascalCase"] | ||
}, | ||
{ | ||
"selector": "enumMember", | ||
"format": ["UPPER_CASE"] | ||
}, | ||
{ | ||
"selector": "class", | ||
"format": ["PascalCase"] | ||
} | ||
], | ||
"filenames/match-regex": ["error", "^[a-z0-9-.]+$", true] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
e2e-tests/playwright/e2e/authProviders/clear-environment.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import { test } from "@playwright/test"; | ||
import * as constants from "../../utils/authenticationProviders/constants"; | ||
import { k8sClient } from "../../utils/helper"; | ||
import { KubeClient } from "../../utils/kube-client"; | ||
|
||
test.describe("Setup namespace and configure environment for RHDH", () => { | ||
test("Delete namespace", async () => { | ||
await k8sClient.deleteNamespaceAndWait(constants.AUTH_PROVIDERS_NAMESPACE); | ||
await new KubeClient().deleteNamespaceAndWait( | ||
constants.AUTH_PROVIDERS_NAMESPACE, | ||
); | ||
}); | ||
}); |
Oops, something went wrong.