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
add kubevirt pvc upload test #9186
Conversation
/hold until #8997 merged |
8be3606
to
f111a4f
Compare
/retest |
1 similar comment
/retest |
frontend/packages/kubevirt-plugin/integration-tests-cypress/tests/pvc-upload/pvc-upload.ts
Outdated
Show resolved
Hide resolved
namespace: vmData.namespace, | ||
}, | ||
}); | ||
cy.exec('rm -fr /tmp/cirror*'); |
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.
Should that be '/tmp/cirros*'?
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 a regex here because it has cirros.{iso, img, gz, xz, txt}
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.
I'm sorry. I should have been clearer in my question. There's a typo. It currently says 'cirroR*' instead of 'cirroS*'.
frontend/packages/kubevirt-plugin/integration-tests-cypress/tests/pvc-upload/pvc-upload.ts
Outdated
Show resolved
Hide resolved
frontend/packages/kubevirt-plugin/integration-tests-cypress/tests/pvc-upload/pvc-upload.ts
Outdated
Show resolved
Hide resolved
frontend/packages/kubevirt-plugin/integration-tests-cypress/tests/pvc-upload/pvc-upload.ts
Outdated
Show resolved
Hide resolved
frontend/packages/kubevirt-plugin/integration-tests-cypress/view/vm.ts
Outdated
Show resolved
Hide resolved
/hold cancel |
d2c7562
to
708c673
Compare
/retest |
/retest |
@pcbailey Could you review again? |
}); | ||
|
||
describe('test PVC upload via CLI', () => { | ||
it('ID(CNV-5044) Verify boot source is available for template after upload via cli', () => { |
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.
nitpick: You missed one CLI at the end of the title
virtualization.templates.testSource(TEMPLATE_NAME, 'Unknown'); | ||
}); | ||
|
||
it('ID(CNV-5597) Verify create VM from the template which source is uploaded via CLI', () => { |
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.
nitpick: which -> whose
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gouyang, pcbailey 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 |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
convert protractor test
cdi-upload.scenario.ts
to cypress test.