← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1414757] [NEW] Have integration tests of instance creation and deletion

 

Public bug reported:

Currently we have integration tests for image and flavor creation/deletion. 
It would be nice to follow similar suit like image creation, to create an instance from the image created from "http_image" in horizon.conf, and boot a test instance from that cirros image.
As a further extension, test the vnc console when the instance is running, vnc console status can be checked easily as its an iframe element and selenium allows driver to switch between frame elements , and get access to their elements 
Source for selenium usage of frames : https://code.google.com/p/selenium/source/browse/py/selenium/webdriver/remote/switch_to.py
After vnc console is checked, delete the test vm in teardown.

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: integration-tests

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1414757

Title:
  Have integration tests of instance creation and deletion

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Currently we have integration tests for image and flavor creation/deletion. 
  It would be nice to follow similar suit like image creation, to create an instance from the image created from "http_image" in horizon.conf, and boot a test instance from that cirros image.
  As a further extension, test the vnc console when the instance is running, vnc console status can be checked easily as its an iframe element and selenium allows driver to switch between frame elements , and get access to their elements 
  Source for selenium usage of frames : https://code.google.com/p/selenium/source/browse/py/selenium/webdriver/remote/switch_to.py
  After vnc console is checked, delete the test vm in teardown.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1414757/+subscriptions


Follow ups

References