In this PR I have redesigned the way we interact with wizard to avoid duplicating code for future test coverage.
Wizard is now a class located in models/wizard.ts where additional models can be placed (vm, template, etc.)
Provision type, Network and storage resources now have specified type in utils.ts and can be used to create a VM with arbitrary number of NICs and Disks.
For example the following object shows how can we define provision source, network interfaces and disks that will be added to a VM using the wizard:
Additionaly, new environment variable FAIL_FAST is used to disable failFast execution strategy, Thanks to @vojtechszocs for help with that.
Example of usage:
FAIL_FAST=false yarn run test-suite --suite kubevirt --params.kubevirt true
In this PR I have redesigned the way we interact with wizard to avoid duplicating code for future test coverage.
Wizard is now a class located in models/wizard.ts where additional models can be placed (vm, template, etc.) Provision type, Network and storage resources now have specified type in utils.ts and can be used to create a VM with arbitrary number of NICs and Disks.
For example the following object shows how can we define provision source, network interfaces and disks that will be added to a VM using the wizard:
Additionaly, new environment variable FAIL_FAST is used to disable failFast execution strategy, Thanks to @vojtechszocs for help with that. Example of usage: