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

Bug 1976939: Interacting with CatalogSource page #9570

Conversation

dtaylor113
Copy link
Contributor

@dtaylor113 dtaylor113 commented Jul 21, 2021

PR adds a 5 minute timeout for Status==='READY' check in beforeEach() for Admin -> Cluster Settings -> Configuration
OperatorHub details page to ensure catalog source is READY before each test. This TC tests for several other detail page fields and values to verify the page; so checking for Status === READY isn't neccesary for this particular test, but later tests edit the poll interval where we probably want the catalog source to be READY.

Also removed obsolete /views/catalog-source.view.ts helper class which is no longer used since switching to Red Hat Operators for e2e testing. We are no longer retreiving Operators from a custom catalog source, so this helper class can be removed.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 21, 2021

@dtaylor113: This pull request references Bugzilla bug 1976939, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.9.0) matches configured target release for branch (4.9.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @yapei

In response to this:

Bug 1976939: Interacting with CatalogSource page

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Jul 21, 2021
@openshift-ci openshift-ci bot requested review from yapei and TheRealJon July 21, 2021 15:20
@openshift-ci openshift-ci bot added the component/olm Related to OLM label Jul 21, 2021
@dtaylor113 dtaylor113 force-pushed the cypress-olm-remove-cust-catalog branch from 77d2b67 to 385125e Compare July 21, 2021 15:30
@openshift-ci openshift-ci bot added the kind/cypress Related to Cypress e2e integration testing label Jul 21, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 21, 2021

@dtaylor113: This pull request references Bugzilla bug 1976939, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.9.0) matches configured target release for branch (4.9.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @yapei

In response to this:

Bug 1976939: Interacting with CatalogSource page

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Member

@spadgett spadgett left a comment

Choose a reason for hiding this comment

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

@dtaylor113 I don't think this will address the problem as later checks like listing package manifests will fail if the catalog source isn't ready.

@openshift openshift deleted a comment from openshift-ci bot Jul 21, 2021
@dtaylor113
Copy link
Contributor Author

dtaylor113 commented Jul 21, 2021

@dtaylor113 I don't think this will address the problem as later checks like listing package manifests will fail if the catalog source isn't ready.

@spadgett, are you saying the 5 min. timeout isn't enough?

UPDATE: Added the READY check to beforeEach() to ensure catalog source is READY before each test.

@@ -7,7 +7,7 @@ declare global {
byLegacyTestID(selector: string): Chainable<Element>;
byButtonText(selector: string): Chainable<Element>;
byDataID(selector: string): Chainable<Element>;
byTestSelector(selector: string): Chainable<Element>;
byTestSelector(selector: string, options?: object): Chainable<Element>;
Copy link
Member

Choose a reason for hiding this comment

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

We should be using the same type def that Cypress uses for the options arg in cy.get

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated, thanks

@dtaylor113 dtaylor113 force-pushed the cypress-olm-remove-cust-catalog branch from 385125e to e041b68 Compare July 22, 2021 13:59
@openshift openshift deleted a comment from openshift-ci bot Jul 22, 2021
@openshift openshift deleted a comment from openshift-ci bot Jul 22, 2021
@openshift openshift deleted a comment from openshift-ci bot Jul 22, 2021
@dtaylor113 dtaylor113 force-pushed the cypress-olm-remove-cust-catalog branch from e041b68 to 3d6715b Compare July 22, 2021 14:48
@openshift openshift deleted a comment from openshift-ci bot Jul 22, 2021
@spadgett
Copy link
Member

@dtaylor113 Sorry, I misread the description. I thought you had remove the status ready check.

Copy link
Member

@TheRealJon TheRealJon left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 26, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 26, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtaylor113, TheRealJon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 26, 2021
@openshift-merge-robot openshift-merge-robot merged commit 617a0e1 into openshift:master Jul 26, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 26, 2021

@dtaylor113: All pull requests linked via external trackers have merged:

Bugzilla bug 1976939 has been moved to the MODIFIED state.

In response to this:

Bug 1976939: Interacting with CatalogSource page

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@spadgett spadgett added this to the v4.9 milestone Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. component/olm Related to OLM kind/cypress Related to Cypress e2e integration testing lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants