summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi
AgeCommit message (Collapse)AuthorFilesLines
2018-02-11Merge "Fix confirm modal error"Serena Feng1-1/+1
2018-02-08Fix confirm modal errorthuva41-1/+1
fix the path for confirm modal JIRA: RELENG-339 Change-Id: I190d4b3b5d2d4cf6ea6d3cb2dd2376f200706bb9 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-02-07Merge "Add deploy results"Serena Feng11-1/+902
2018-02-06Add deploy resultsthuva411-1/+902
Create view and controller for deploy results Add tests for deploy results Change-Id: Iba29e7a867d45aacd18a26dc4e2d9363cdf8928d Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-01-31Merge "owner to creator"Serena Feng17-452/+463
2018-01-29owner to creatorthuva417-452/+463
Change Owner to creator in pod, projects Add creator in testCase, scenarios Fix issue in e2e testing Change-Id: Ib520eb107dce2ed8fc6fd390f034f500bf4c742a Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-01-29add suggestions in result pagethuva43-15/+93
filter suggestions in results page fix ui in results page Change-Id: Id0eebd9575b5f494061130afe2c7d42c74985cec Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-01-18Merge "Design the scenario create method"Serena Feng18-1435/+2845
2018-01-18Merge "Bug fixes in results, tastcases and header file"Serena Feng8-40/+47
2018-01-16Bug fixes in results, tastcases and header filethuva48-40/+47
Remove the profile, signout option in authenticate false made Remove the sever request in authenticate false made Remove stop date, start date in results page Add build tag in results page fix issue in test cases page Change-Id: Ic3d16f53591017d2529926e4e3374aaa245c7dce Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-01-16Design the scenario create methodthuva418-1435/+2845
design scenario create method in modal way. design scenario page. Add,delete for installers,versions, projects and customs are implemented. tests are added. 1. Pods page 2. project page 3. Scenarios 4. Scenario Change-Id: Ice26af77ec3d5fe874cf5c2062f208072dea289f Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-01-15Merge "Design the scenario create method"Serena Feng18-2/+2143
2018-01-09Design the scenario create methodSerenaFeng19-4/+2147
design scenario create method in modal way. design scenario page. Add,delete for installers,versions, projects, customs, trust indicators and scores are implemented. tests are not included. validations are not added. Change-Id: I999229c00869fcd5a4efa97cb2679a08fc24b271 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-01-09Add links in prods,projects and results pagesthuva410-32/+217
Add links for the redirection Created Result page Change-Id: I7ba80f6a8d774d6fde33280f701c1188cb5c32d9 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-01-05bugfix some testcases relevant unittests failedSerenaFeng1-2/+4
Change-Id: I283da09d7b337a52d777f992da17e00472e94260 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-04Merge "simplify test_pod.py with eq"Serena Feng4-49/+30
2018-01-04simplify test_pod.py with eqSerenaFeng4-50/+32
Change-Id: I1efd519f877d48499dcd98a420b90a1b5d4c488f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-04simplify test_testcase.py using eq and templatesSerenaFeng5-90/+88
Change-Id: If1d1e3e22be0ddbb92f0e3b927ea4e376f0a8c89 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-04simplify test_results.py with eq() and templates/SerenaFeng3-149/+79
Change-Id: Ibc5066f721b6b3343c2f8cb4ec0b9234960e9cb6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-04move scenario tests supporting files to templatesSerenaFeng3-49/+32
Change-Id: I038078ada94dc103b625fa77d6f7fc7e214c8dd7 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-04Merge "add deployment result collecting interfaces"Serena Feng10-23/+428
2018-01-04Merge "leverage query_by_name decorator to simplify name querying"Serena Feng5-25/+22
2018-01-03add deployment result collecting interfacesSerenaFeng10-23/+428
Change-Id: I5fe50c44e7b36ea45dd1b8632130b30dfe173d0a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-02leverage query_by_name decorator to simplify name queryingSerenaFeng5-25/+22
name query is case insensitive and partial match Change-Id: I65a6f5d3aa9411559cb9cf27d0fbd7ec46d4b26f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-12-30Add the filter option in results pagethuva44-200/+627
apply multiple filter in results page. Add e2e tests for results page. Change-Id: Ia55407d921136756ab5f15507c92775f95a761dc Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-12-25Merge "Implement the CRUD operations for Test cases"Serena Feng14-114/+1248
2017-12-23Implement the CRUD operations for Test casesthuva414-114/+1248
Created the testcases, testcase pages Remove update, delete buttons in project page. add protractor tests for testcases page. change tabs to spaces Change-Id: Id7d381b13dca4f228bda24fa1abad7c465b5cef7 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-12-18Merge "Redesign the projects page & project page"Serena Feng9-230/+378
2017-12-15Redesign the projects page & project pagethuva49-230/+378
redesign the projects page like pods page included the delete, filter, create, edit, batch delete in the projects page. Unify the update modal for projects page and project page. Fix authenticate - fault opertaions Change-Id: If4ea50ada11941c5d9199d898476837020c02241 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-12-06Merge "add querying pods by name(part & case insentitive)"Serena Feng1-1/+15
2017-12-06add querying pods by name(part & case insentitive)SerenaFeng1-1/+15
Change-Id: Ie7f14588864c79d6ed87adec3e6901dfbabbb1a6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-12-06remove useless print snippetSerenaFeng2-2/+0
Change-Id: I3ea4ea202bf2f5cf17ca585ccffbef3265ef7cc0 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-12-05Add view option in pods pagethuva46-14/+122
Created the view function for the pods page. It will redirect to pods/:name page where user can see the more details about the pod. Change-Id: I0d6c06098fd78ecca523a49e2bb532001adaeaa8 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-12-02redesign the pods interfacethuva47-121/+295
redesign the pods interface and add the delate operation for the podas in backend. Fix the issue in creating pods: Owner is null Change-Id: I2f8e907f9ab62362a3003d6457662ab85bf2cb12 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-11-24Merge "clear web pages"Serena Feng9-1304/+5
2017-11-23clear web pagesSerenaFeng9-1304/+5
1. delete 'My Results' page, it means to be used in dovetail, now dovetail has an independent repo 2. rename 'Community Results' to 'Results' 3. delete vendor/products/result-reports ... code, they are useless for now, and probably in the future Change-Id: I6678fdadf5f11842bb1614d7eaa4cf21256385b6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-11-23Add filter option in projects pagethuva44-25/+108
Implemented the filter option for the projects by following params. name - Check the project's name. Edit the Error message view. Change-Id: Ib2f0e0ccd9726353dbbedbc44d98747ec8e2d4f9 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-11-22showing the response message in the pods pagethuva45-27/+28
Edit the response from the server and remove the traceback part from the error response. Add create success alert. Change-Id: I887a9ca1b55050d961c6db1141c15203a978aec1 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-11-21move self-developed front-end codes to ui/SerenaFeng39-0/+852
Change-Id: I0b64661e73d940a577f27ded9322086788e4f5f3 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-11-16Update and Delete functionalities for projectsthuva412-170/+862
Implemented the update and delete functions for the projects and wrote the e2e tests for the both functions. Change-Id: I917dd9503f145b0dde61dd9970bd855f9711335e Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-11-14Create functionality and e2e tests for projectthuva411-26/+402
Implemented the create function for the projects. Wrote the e2e tests for the create function. Change-Id: Iceac650573ca31b6246350c4d60033b42e0ffb0f Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-11-03Merge "add simple e2e tests for PodsCotroller"Serena Feng3-0/+220
2017-11-01add simple e2e tests for PodsCotrollerthuva43-0/+220
Change-Id: I9baa04ff062f36569c1e143014239931de64cf32 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-10-31remove components out side of 3rd_partySerenaFeng18-0/+2336
components are implemented by TestAPI team, they are not the third party code, put them under opnfv_testapi/ui directory Change-Id: Ia0f5e2afe4bcb12bcb74d3a8d78fb28fe1432bec Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-27divide resources into handlers and modelsSerenaFeng34-227/+106
divide resources into handlers&models put ui handlers into handlers directory put User into user_models.py Change-Id: I3d9e260097205213c3ea8d4eac08b9019e017f71 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-27bugfix: E722 do not use bare exceptSerenaFeng3-4/+4
new added pep8 check: https://build.opnfv.org/ci/job/testapi-verify-master/435/console Change-Id: I29c1ffbb534babf55ec2fe675001cc85b9e2e922 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-23Merge "allow authentication to be disabled"Serena Feng4-7/+16
2017-10-20allow authentication to be disabledSerenaFeng4-7/+16
in local deployment situation, authentication can be disabled by setting authenticate=False of ui section in config.ini JIRA: RELENG-324 Change-Id: I9157d1723851feb12435033dbdd59035e3eb5777 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-20criteria field must be 'PASS/FAIL'SerenaFeng5-2/+33
criteria must be fix with 'PASS/FAIL', case insensitive or else, BADREQUEST exception will be raises JIRA: RELENG-327 Change-Id: Ic648b9d38937fc63924e42cfdf5345cdaa32e1ed Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-18Bug Fix: Using library for urlencodeutkarshrai981-19/+18
Changes to method call _set_query Change-Id: I95837df57cc98c21ff5d95d9753269490c025dd3 Signed-off-by: utkarshrai98 <utkarshrai98@gmail.com>