-
Notifications
You must be signed in to change notification settings - Fork 13
[JBEAP-29210] Add realm to Security Domain #128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| @@ -0,0 +1,69 @@ | |||
| describe("TESTS: Configuration => Subsystem => Security => Settings => Global Settings", () => { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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", |
There was a problem hiding this comment.
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)", |
There was a problem hiding this comment.
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:
Lines 160 to 163 in c79dbe6
| 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"); |
laDok8
left a comment
There was a problem hiding this 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"]; |
There was a problem hiding this comment.
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";
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.