Skip to content

Conversation

@sandeep-vedam
Copy link
Contributor

@sandeep-vedam sandeep-vedam commented Jun 1, 2020

Added below test cases in this PR :
Firmware_Upgrade_Upgrade_001.test.js
Firmware_Upgrade_Upgrade_002.test.js
Firmware_Upgrade_Upgrade_003.test.js

Note: These tests are not to be merged to master until User-prompt feature is implemented as the tests need to be updated

sleep: 5,
test() {
//TODO - Update the test to enter the 'name', 'location', 'type', 'progressinterval', 'hmac' through User prompt
return firmwareUpgrade.call(this, 'name', 'location', 'type', 'progressinterval', 'hmac')
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to merge this already or wait for an ability to fill this in with meaningful values?

test() {
//TODO - Update the test to enter the 'name', 'location', 'type', 'progressinterval', 'hmac' through User prompt
firmwareUpgrade.call(this, 'name', 'location', 'type', 'progressinterval', 'hmac')
return firmwareUpgrade.call(this, 'name', 'location', 'type', 'progressinterval', 'hmac')
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggest to use promise.all to run 2 promises in parallel, for reference:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all

And same here, guess we wait until we can fill in something meaninful to avoid false negative results?

steps: [
{
description:
'Invoke Upgrade firmware when already firmware upgrade in progres and validate the result',
Copy link
Contributor

Choose a reason for hiding this comment

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

need to update description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants