-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18277/
-----------------------------------------------------------

(Updated March 2, 2014, 9:22 p.m.)


Review request for cloudstack, Nitin Mehta, Parth Jagirdar, and Sebastien 
Goasguen.


Repository: cloudstack-git


Description
-------

This is the initial check in. There are several directories: common, browser, 
cspages, cstests/smoketests, cstests/regressiontests.
The browser directory is for browser selection. Currently only firefox is used.
The common directory is for those shared modules.
I plan to create one module for every page. There will also be parent pages and 
child pages (for instance, infrastructure page is going to have a lot of child 
pages).
At this time I only have one test: login_logout_test, which has 9 individual 
tests in it, one successful test, eight failed tests including some SQL 
injection tests. Still missing are the tests for language options and domain 
selection.
I decide to not use lib directory. It seems to me that lib is a JAVA (or C) 
thing. So I copied Global_Locators.py to common directory. I'll use Parth's 
code as much as I can.
I'll try to write each test for one purpose only. So login_logout_test is for 
login page and logout. Obviously every test must have login and logout tests.


Diffs
-----

  test/selenium/browser/firefox.py PRE-CREATION 
  test/selenium/common/Global_Locators.py PRE-CREATION 
  test/selenium/common/shared.py PRE-CREATION 
  test/selenium/cspages/loginpage.py PRE-CREATION 
  test/selenium/cstests/smoketests/login_logout_test.py PRE-CREATION 
  test/selenium/cstests/smoketests/smokecfg.py PRE-CREATION 

Diff: https://reviews.apache.org/r/18277/diff/


Testing
-------

navigate to directory: test/selenium. (At the moment, all tests must be done 
from this directory.)
# python cstests/smoketests/login_logout_test.py 

Output:
USLT-205731:selenium yichi.lu$ python cstests/smoketests/login_logout_test.py 
.........
----------------------------------------------------------------------
Ran 9 tests in 116.517s

OK


File Attachments (updated)
----------------

CS-60150-3
  
https://reviews.apache.org/media/uploaded/files/2014/03/02/816e9665-5913-4400-9d65-09e9a7ad418c__cs-6015-3.patch


Thanks,

Yichi Lu

Reply via email to