Skip to content
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

Merged
merged 9 commits into from
Aug 24, 2023

Conversation

Neilhamza
Copy link
Collaborator

@Neilhamza Neilhamza commented Aug 15, 2023

adapted methods in reports.ts

Signed-off-by: Neilhamza <nhamza@redhat.com>
cypress/e2e/models/migration/reports/reports.ts Outdated Show resolved Hide resolved
cypress/e2e/models/migration/reports/reports.ts Outdated Show resolved Hide resolved
cypress/e2e/tests/migration/reports/filter.test.ts Outdated Show resolved Hide resolved
cypress/e2e/tests/migration/reports/filter.test.ts Outdated Show resolved Hide resolved
cypress/e2e/models/migration/reports/reports.ts Outdated Show resolved Hide resolved
cypress/e2e/tests/migration/reports/filter.test.ts Outdated Show resolved Hide resolved
cypress/e2e/tests/migration/reports/filter.test.ts Outdated Show resolved Hide resolved
@sshveta sshveta changed the title [RFR] adapted upstream reports filter test [WIP] adapted upstream reports filter test Aug 17, 2023
Signed-off-by: Neilhamza <nhamza@redhat.com>
Copy link
Collaborator

@ibragins ibragins left a comment

Choose a reason for hiding this comment

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

LGTM now

@Neilhamza Neilhamza changed the title [WIP] adapted upstream reports filter test [RFR] adapted upstream reports filter test Aug 21, 2023
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>
cypress/e2e/models/migration/reports/reports.ts Outdated Show resolved Hide resolved
cypress/e2e/models/migration/reports/reports.ts Outdated Show resolved Hide resolved
Signed-off-by: Neilhamza <nhamza@redhat.com>
Signed-off-by: Neilhamza <nhamza@redhat.com>
@Neilhamza Neilhamza requested a review from sshveta August 22, 2023 15:54
Copy link
Collaborator

@abrugaro abrugaro left a 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

cypress/e2e/models/migration/reports/reports.ts Outdated Show resolved Hide resolved
cypress/e2e/models/migration/reports/reports.ts Outdated Show resolved Hide resolved
.closest(articleCard)
.find(articleHeader)
.within(() => {
cy.get("button").click();
Copy link
Collaborator

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

Copy link
Collaborator Author

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>
@sshveta sshveta merged commit 290b277 into konveyor:main Aug 24, 2023
3 of 4 checks passed
@Neilhamza Neilhamza deleted the upstream-reports-filter branch August 30, 2023 07:02
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.

4 participants