-
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] adapted upstream reports filter test #671
Conversation
adapted methods in reports.ts Signed-off-by: Neilhamza <nhamza@redhat.com>
Signed-off-by: Neilhamza <nhamza@redhat.com>
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.
LGTM now
Signed-off-by: Neilhamza <nhamza@redhat.com>
Signed-off-by: Neilhamza <nhamza@redhat.com>
Signed-off-by: Neilhamza <nhamza@redhat.com>
Signed-off-by: Neilhamza <nhamza@redhat.com>
Signed-off-by: Neilhamza <nhamza@redhat.com>
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.
Looks good, just one minor change and two suggestions
.closest(articleCard) | ||
.find(articleHeader) | ||
.within(() => { | ||
cy.get("button").click(); |
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.
You can use the button
constant we have as you're already doing in line 44
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.
changed line 44 to "articleButton" instead of button and line 69 to button from constants to avoid confusion (they are not the same constant)
Signed-off-by: Neilhamza <nhamza@redhat.com>
adapted methods in reports.ts
https://main-jenkins-csb-migrationqe.apps.ocp-c1.prod.psi.redhat.com/view/MTA/job/mta/job/tackle-ui-tests-on-ocp/450/