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 1835597: Add easier way to support selectors for multiple versions in OCS Tests #5137
Bug 1835597: Add easier way to support selectors for multiple versions in OCS Tests #5137
Conversation
/hold |
/hold |
/unhold |
/hold cancel |
The motive behind this PR:
|
|
||
export const currentSelectors = (() => { | ||
switch (VERSION) { | ||
case 'OCP_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.
As discussed, can you please rename the version's name to OCP_4.4
.
|
||
getStorageClusterLink: async () => { | ||
const index = await getOperatorHubCardIndex('Storage Cluster'); | ||
const link = $(`article:nth-child(${index + 1}) a`); |
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.
const link = $(`article:nth-child(${index + 1}) a`); | |
return $(`article:nth-child(${index + 1}) a`); |
.getText(); | ||
await click(checkBox); | ||
await browser.wait(until.elementToBeSelected(checkBox)); | ||
selectedNodes.push(nodeName); |
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.
Can you explain what are you checking here? Are you individually selecting nodes and not by select all nodes?
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.
On second though selecting all at once would be much easier. Thanks will look into it.
@@ -130,78 +157,39 @@ export class InstallCluster { | |||
this.namespace = namespace; |
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.
Where have you used this property?
frontend/packages/ceph-storage-plugin/integration-tests/views/installFlow.view.ts
Show resolved
Hide resolved
@bipuladh Since you have removed the |
await sendKeys(filterInput, STORAGE_CLASS_PATTERNS.NOOBAA); | ||
const noobaaClass = await getDataFromRowAndCol(0, 1, podNameFilter); | ||
expect(noobaaClass.includes(STORAGE_CLASS_PATTERNS.NOOBAA)).toBe(true); | ||
}); |
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.
We should also add check for osd pods.
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.
osd pods cause flakiness.
/test e2e-gcp-console |
await sendKeys(filterInput, STORAGE_CLASS_PATTERNS.NOOBAA); | ||
const noobaaClass = await getDataFromRowAndCol(0, 1, podNameFilter); | ||
expect(noobaaClass.includes(STORAGE_CLASS_PATTERNS.NOOBAA)).toBe(true); | ||
it('tests if 3 rook-ceph-osd-prepare-ocs-deviceset are running', () => { |
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.
it('tests if 3 rook-ceph-osd-prepare-ocs-deviceset are running', () => { | |
it('tests if 3 rook-ceph-osd-prepare-ocs-deviceset are completed', () => { |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bipuladh, ebondare, gnehapk, shyRozen 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 |
@bipuladh: This pull request references Bugzilla bug 1835597, which is invalid:
Comment In response to this:
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. |
@bipuladh: This pull request references Bugzilla bug 1835597, which is invalid:
Comment In response to this:
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. |
/bugzilla refresh |
@bipuladh: This pull request references Bugzilla bug 1835597, 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
In response to this:
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. |
@bipuladh: This pull request references Bugzilla bug 1835597, which is valid. 3 validation(s) were run on this bug
In response to this:
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. |
/bugzilla refresh |
@bipuladh: This pull request references Bugzilla bug 1835597, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
In response to this:
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. |
@bipuladh: All pull requests linked via external trackers have merged: openshift/console#5137. Bugzilla bug 1835597 has been moved to the MODIFIED state. In response to this:
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. |
cc @ebondare @shyRozen