Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: redhat-developer/rhdh
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 419482bcf382b78cc42e538f2d70e6feb4d18688
Choose a base ref
..
head repository: redhat-developer/rhdh
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ae1c3642fa62b449e3133a46531db4588f6a5b51
Choose a head ref
Showing with 1,229 additions and 2,257 deletions.
  1. +0 −24 .changeset/renovate-3f1cea1.md
  2. +2 −0 .gitignore
  3. +5 −2 .ibm/pipelines/openshift-tests.sh
  4. +2 −10 e2e-tests/.eslintrc.json
  5. +12 −3 e2e-tests/.gitignore
  6. +0 −47 e2e-tests/cypress.config.ts
  7. +0 −162 e2e-tests/cypress/e2e/github-happy-path.spec.ts
  8. +0 −48 e2e-tests/cypress/e2e/guest-signin-happy-path.spec.ts
  9. +0 −56 e2e-tests/cypress/e2e/plugins/keycloak/catalog-users.spec.ts
  10. +0 −55 e2e-tests/cypress/e2e/plugins/ocm.spec.ts
  11. +0 −22 e2e-tests/cypress/e2e/plugins/quay/quay.spec.ts
  12. +0 −29 e2e-tests/cypress/e2e/plugins/quick-access-and-tech-radar.spec.ts
  13. +0 −5 e2e-tests/cypress/fixtures/example.json
  14. +0 −27 e2e-tests/cypress/plugins/index.ts
  15. +0 −25 e2e-tests/cypress/support/commands.ts
  16. +0 −27 e2e-tests/cypress/support/e2e.ts
  17. +0 −4 e2e-tests/cypress/support/hooks.ts
  18. +0 −23 e2e-tests/cypress/support/pageObjects/catalog/catalog-users-obj.ts
  19. +0 −83 e2e-tests/cypress/support/pages/CatalogImport.ts
  20. +0 −24 e2e-tests/cypress/support/pages/Clusters.ts
  21. +0 −25 e2e-tests/cypress/support/pages/HomePage.ts
  22. +0 −9 e2e-tests/cypress/support/pages/TechRadar.ts
  23. +0 −39 e2e-tests/cypress/utils/APIHelper.ts
  24. +0 −48 e2e-tests/cypress/utils/Common.ts
  25. +0 −108 e2e-tests/cypress/utils/UIhelper.ts
  26. +0 −69 e2e-tests/cypress/utils/keycloak/keycloak.ts
  27. +12 −13 e2e-tests/package.json
  28. +77 −0 e2e-tests/playwright.config.ts
  29. +103 −0 e2e-tests/playwright/e2e/github-happy-path.spec.ts
  30. +63 −0 e2e-tests/playwright/e2e/guest-signin-happy-path.spec.ts
  31. +12 −7 e2e-tests/{cypress → playwright}/e2e/plugins/dynamic-plugins-info.spec.ts
  32. +64 −0 e2e-tests/playwright/e2e/plugins/keycloak/catalog-users.spec.ts
  33. +62 −0 e2e-tests/playwright/e2e/plugins/ocm.spec.ts
  34. +28 −0 e2e-tests/playwright/e2e/plugins/quay/quay.spec.ts
  35. +25 −0 e2e-tests/playwright/support/pageObjects/catalog/catalog-users-obj.ts
  36. e2e-tests/{cypress → playwright}/support/pageObjects/global-obj.ts
  37. 0 e2e-tests/{cypress → playwright}/support/pageObjects/page-obj.ts
  38. +112 −0 e2e-tests/playwright/support/pages/CatalogImport.ts
  39. +45 −0 e2e-tests/playwright/support/pages/Clusters.ts
  40. +42 −0 e2e-tests/playwright/support/pages/HomePage.ts
  41. 0 e2e-tests/{cypress → playwright}/support/testData/templates.ts
  42. 0 e2e-tests/{cypress → playwright}/utils/APIEndpoints.ts
  43. +53 −0 e2e-tests/playwright/utils/APIHelper.ts
  44. +56 −0 e2e-tests/playwright/utils/Common.ts
  45. +172 −0 e2e-tests/playwright/utils/UIhelper.ts
  46. 0 e2e-tests/{cypress → playwright}/utils/keycloak/group.ts
  47. +72 −0 e2e-tests/playwright/utils/keycloak/keycloak.ts
  48. 0 e2e-tests/{cypress → playwright}/utils/keycloak/user.ts
  49. +1 −1 e2e-tests/{cypress → playwright}/utils/quay/quay.ts
  50. +5 −3 e2e-tests/tsconfig.json
  51. +203 −1,258 e2e-tests/yarn.lock
24 changes: 0 additions & 24 deletions .changeset/renovate-3f1cea1.md

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -63,3 +63,5 @@ dynamic-plugins/*/dist-dynamic/src

#dev caches
.webpack-cache
.idea/
.idea/
7 changes: 5 additions & 2 deletions .ibm/pipelines/openshift-tests.sh
Original file line number Diff line number Diff line change
@@ -88,7 +88,7 @@ apply_yaml_files() {
"$dir/resources/cluster_role_binding/cluster-role-binding-ocm.yaml"
"$dir/resources/deployment/deployment-test-app-component.yaml"
"$dir/auth/secrets-rhdh-secrets.yaml")

for file in "${files[@]}"; do
sed -i "s/namespace:.*/namespace: $NAME_SPACE/g" "$file"
done
@@ -132,14 +132,17 @@ apply_yaml_files() {
run_tests() {
cd $DIR/../../e2e-tests
yarn install
yarn playwright install

Xvfb :99 &
export DISPLAY=:99

(
set -e
echo Using PR container image: pr-${GIT_PR_NUMBER}-${SHORT_SHA}
yarn run cypress:run --config baseUrl="https://${RELEASE_NAME}-${NAME_SPACE}.${K8S_CLUSTER_ROUTER_BASE}"
export BASE_URL="https://${RELEASE_NAME}-${NAME_SPACE}.${K8S_CLUSTER_ROUTER_BASE}"
echo "$BASE_URL"
yarn test
) |& tee "/tmp/${LOGFILE}"

RESULT=${PIPESTATUS[0]}
12 changes: 2 additions & 10 deletions e2e-tests/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
{
"parser": "@typescript-eslint/parser",

"plugins": ["cypress", "@typescript-eslint"],
"plugins": ["@typescript-eslint"],
"rules": {
"cypress/unsafe-to-chain-command": "off",
"@typescript-eslint/no-explicit-any": "off"
},
"env": {
"cypress/globals": true
},
"extends": [
"eslint:recommended",
"plugin:cypress/recommended",
"plugin:@typescript-eslint/recommended"
]
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"]
}
15 changes: 12 additions & 3 deletions e2e-tests/.gitignore
Original file line number Diff line number Diff line change
@@ -52,6 +52,15 @@ site

.turbo

# Cypress
**/cypress/downloads
**/cypress/screenshots
# Playwright
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/

# IntelliJ
.idea
47 changes: 0 additions & 47 deletions e2e-tests/cypress.config.ts

This file was deleted.

162 changes: 0 additions & 162 deletions e2e-tests/cypress/e2e/github-happy-path.spec.ts

This file was deleted.

48 changes: 0 additions & 48 deletions e2e-tests/cypress/e2e/guest-signin-happy-path.spec.ts

This file was deleted.

Loading