-
Notifications
You must be signed in to change notification settings - Fork 40
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
[RFR] [JF] Refactored RBAC tests to adopt UI changes #823
Conversation
|
||
const stakeholdersList: Array<Stakeholders> = []; | ||
const stakeholdersNameList: Array<string> = []; | ||
const fileName = "Legacy Pathfinder"; |
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 is a const called Legacy pathinder
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.
Replaced
//Migrator is not allowed to review applications | ||
application.validateReviewButton(this.rbacRules); | ||
}); | ||
|
||
it("Migrator, validate presence of import and manage imports", function () { |
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.
change the test name as well to cover all buttons.
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.
Done
Signed-off-by: Igor Braginsky <ibragins@redhat.com>
Signed-off-by: Igor Braginsky <ibragins@redhat.com>
|
||
const stakeholdersList: Array<Stakeholders> = []; | ||
const stakeholdersNameList: Array<string> = []; | ||
const fileName = "Legacy Pathfinder"; |
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.
use const Legacy Pathfinder
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.
Done
@@ -35,9 +42,20 @@ describe(["@tier2", "@rhsso"], "Architect RBAC operations", function () { | |||
|
|||
before("Creating RBAC users, adding roles for them", function () { | |||
login(); | |||
AssessmentQuestionnaire.enable(fileName); | |||
// Navigate to stakeholders control tab and create new stakeholder |
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 comment is not needed.
Signed-off-by: Igor Braginsky <ibragins@redhat.com>
No description provided.