one icon indicating copy to clipboard operation
one copied to clipboard

Create tests to check template after instantiate a vm

Open dcarracedo opened this issue 1 year ago • 0 comments

Description Create some tests like the ones that exists on templateadvanced.func.spec.js that checks that the template after a vm is instantiated is well formed and with the correct values. This could be achieved in two ways:

  • Intercept the instantiate request and check that the template that is sent to the API it's the expected template. After that, check that the request returns 200 http code.
  • After instantiate the vm, go to the template tab of the virtual machine and check that is the one expected. This could be a little tricky, because OpenNebula add some information like ids so we need to ignore the attributes that are auto generated by OpenNebula.

Use case To check changes in the instantiate form.

Interface Changes N/A

Progress Status

  • [ ] Code committed
  • [ ] Testing - QA
  • [ ] Documentation (Release notes - resolved issues, compatibility, known issues)

dcarracedo avatar Feb 26 '24 13:02 dcarracedo