Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

[tests-only][full-ci]Run more e2e tests on keycloak - #10961

Merged
saw-jan merged 4 commits into
masterfrom
run-more-test-onkeycloak
May 31, 2024
Merged

saw-jan merged 4 commits into
masterfrom
run-more-test-onkeycloak

Conversation

@amrita-shrestha

@amrita-shrestha amrita-shrestha commented May 24, 2024 •

Copy link
Copy Markdown
Contributor

Description

  • Keycloak supports assigning multiple realm roles to a user but oCIS supports only one role for a user.
    If multiple roles are assigned to a user in Keycloak, oCIS map the highest priority role among Keycloak assigned roles.
    So, before assigning role we have to unassign previous role using keycloak api. This part has been implemented in this PR.
  • added more tests to run on CI admin-settings/users.feature:20 related to quota change

Related Issue

Motivation and Context

How Has This Been Tested?

  • LOCALLY

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

Open tasks:

  • ...

@amrita-shrestha
amrita-shrestha force-pushed the run-more-test-onkeycloak branch from 3ea9c31 to 4fa5de1 Compare May 29, 2024 03:54
@amrita-shrestha
amrita-shrestha force-pushed the run-more-test-onkeycloak branch 3 times, most recently from e636836 to 0047a6f Compare May 30, 2024 10:51
@amrita-shrestha amrita-shrestha self-assigned this May 30, 2024
@amrita-shrestha
amrita-shrestha force-pushed the run-more-test-onkeycloak branch from 0047a6f to d4dbb1a Compare May 30, 2024 11:04
@amrita-shrestha
amrita-shrestha marked this pull request as ready for review May 30, 2024 11:05
@amrita-shrestha amrita-shrestha changed the title [tests-only][full-ci][WIP]Run more e2e tests on keycloak [tests-only][full-ci]Run more e2e tests on keycloak May 30, 2024
@amrita-shrestha
amrita-shrestha force-pushed the run-more-test-onkeycloak branch from d4dbb1a to 88a81f0 Compare May 30, 2024 11:35
Comment thread tests/e2e/cucumber/steps/api.ts Resolved
Comment thread tests/e2e/support/api/keycloak/user.ts Resolved
Comment thread tests/e2e/support/api/keycloak/user.ts Resolved
Comment thread tests/e2e/support/api/provision/user.ts Resolved
@amrita-shrestha
amrita-shrestha force-pushed the run-more-test-onkeycloak branch from 88a81f0 to 0b27889 Compare May 31, 2024 09:15
@amrita-shrestha
amrita-shrestha requested a review from saw-jan May 31, 2024 09:16

@saw-jan saw-jan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@saw-jan
saw-jan merged commit a8a905e into master May 31, 2024
@delete-merged-branch
delete-merged-branch Bot deleted the run-more-test-onkeycloak branch May 31, 2024 10:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants