Skip to content

Conversation

@kstekovi
Copy link
Collaborator

Thanks for submitting your Pull Request!

Please delete this text, and add a link to the public Jira issue and/or Berg issue solved by this PR, if available.

If this PR is not for the 'main' branch you must add a link to the equivalent change in 'main'.

Remember to use the Jira issue ID or Berg issue number in the PR title and any commits, if available.

Keep the title/summary of PR and any commits descriptive, so that the repository history is human readable.

@kstekovi kstekovi changed the title [JBEAP-29210] Add realm to Security Domain Draft: [JBEAP-29210] Add realm to Security Domain Aug 12, 2025
@kstekovi kstekovi changed the title Draft: [JBEAP-29210] Add realm to Security Domain [JBEAP-29210] Add realm to Security Domain Aug 13, 2025
@@ -0,0 +1,69 @@
describe("TESTS: Configuration => Subsystem => Security => Settings => Global Settings", () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
describe("TESTS: Configuration => Subsystem => Security => Settings => Global Settings", () => {
describe("TESTS: Configuration => Subsystem => Security => Settings => Other Settings", () => {

const navigation = {
sslButton: "#ssl-item",
securityDomainButton: "#elytron-security-domain-item",
securityDomainRealmsButton: "#hal-uid-5",
Copy link
Collaborator

Choose a reason for hiding this comment

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

this random number changes between version, ID shouldn't be used

id: "elytron-security-domain-realms-add",
addButton: "elytron-security-domain-realms-table",
principalTransformer: {
id: "#elytron-security-domain-realms-add-editing > div:nth-child(2)",
Copy link
Collaborator

Choose a reason for hiding this comment

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

there's lot of repetions of #elytron-security-domain-realms-add-editing and nth-child should be avoided for clarity if possible. Consider change like this:

cy.text("resolve-expression-form", "app-name", "anotherApp");
cy.text("resolve-expression-form", "distinct-name", "anotherDistinctName");
cy.text("resolve-expression-form", "module-name", "anotherModule");
cy.text("resolve-expression-form", "uri", "anotherUri");

Copy link
Collaborator

@laDok8 laDok8 left a comment

Choose a reason for hiding this comment

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

few changes required

describe("TESTS: Configuration => Subsystem => Security => Settings => Global Settings", () => {
let managementEndpoint: string;

const address = ["subsystem", "elytron", "security-domain", "ApplicationDomain"];
Copy link
Collaborator

Choose a reason for hiding this comment

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

Consider extracting const securityDomainToUpdate = "ApplicationDomain";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants