7 Commits

Author SHA1 Message Date
Matt Borland
659f385424 Remove unused jasmine_tests.py
The file openstack_dashboard/test/jasmine/jasmine_tests.py is not used;
it should be removed.

You can verify this by running the various tests:
  ./run_tests.sh --only-selenium
  or going to <host:port>/jasmine/ in a debug environment

Change-Id: Ieefaf30bfd5612bd3180b67817745a170596b1e5
Closes-Bug: 1454804
2015-05-13 12:39:00 -06:00
Thai Tran
d833ddb9d4 Fixing Jasmine tests in dashboard
We currently have two jasmine tests, one in horizon and one in dashboard.
We currently use two different templates and they are out of sync with each
other. Furthermore, we should extend the sources list, not override it,
because dashboard modules depends on code in horizon.

This patch fixes these issues.
Closes-bug: #1452446
Change-Id: I3fcbb1ea30b5e83a16f94fb31959270bd393593a
2015-05-06 13:51:15 -07:00
Matt Borland
550d3a821b [Launch Instance Fix] Add Security Group Step Unit Tests
This patch adds unit tests for the security group step.  These tests are
focused around the controller and its related components (no selenium tests
or view tests).

Change-Id: I14dbc603e3bafdcebcb13b0ef7f77d05a26a2122
Partial-Bug: 1435869
2015-04-13 12:01:41 -07:00
Richard Jones
61d2fcd7e6 [Launch Instance Fix] Split Security & Access in 2
This splits the single Security and Access step so that the
two panes in that step (Security Groups / Keypairs) have their
own steps in the wizard, thus making everything much more
consistent.

This also now uses the Controller As syntax which is
considered to be a best practice.

Change-Id: Ib1d79ce8019e5361faccf77360989c38ce1cab2c
Co-Authored-By: Travis Tripp <travis.tripp@hp.com>
Closes-Bug: 1435636
2015-03-27 13:00:07 +11:00
Shaoquan Chen
a3ba13bd60 Launch Instance Step - Configuration
This is one step in launch instance wizard work flow.

Partially Implements: blueprint launch-instance-redesign
Change-Id: Idbe4f55e7924b5aed751b1e022f4679179700b7e
2015-03-14 00:35:16 +00:00
Shaoquan Chen
61e4d5988b Launch Instance Model
This is the M part in MVC for launch instance that will use the APIs
to load data and send request to server via the APIs.

This model is injected into to LaunchInstanceCtrl and available to all
controllers for every step in the work flow.

To access:
 - Add to local_setting.py:
     LAUNCH_INSTANCE_NG_ENABLED = True
 - Then go to:
     http://localhost:9000/project/instances/
 - Then click the left "Launch Instance" button.

To disable the legacy launch instance button:
 - Add to local_setting.py:
    LAUNCH_INSTANCE_LEGACY_ENABLED = True

Partially Implements: blueprint launch-instance-redesign
Co-Authored-By: Travis Tripp <travis.tripp@hp.com>
Co-Authored-By: Neill Cox <neill.cox@ingenious.com.au>
Co-Authored-By: Richard Jones <r1chardj0n3s@gmail.com>
Co-Authored-By: Tyr Johanson <tyr@hp.com>
Co-Authored-By: Matt Borland <matt.borland@hp.com>
Change-Id: I040f13f7d1fd336fcd1070bdbe0c81bd5a828d43
2015-03-14 00:33:43 +00:00
Matt Borland
e168c95678 Base dashboard Jasmine framework
Establishes Jasmine testing features in openstack_dashboard, similar
to the features in horizon. These features allow components specific
to openstack_dashboard to be tested.

Partially Implements: blueprint launch-instance-redesign

Change-Id: I1f996e97f5cd01c9c32d7874eb5c0668d67e24bd
2015-03-05 16:02:35 -07:00