summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/tests
AgeCommit message (Collapse)AuthorFilesLines
2018-03-13Merge "Fix the authenticate=false in scenario"Serena Feng1-0/+385
2018-03-12Fix the authenticate=false in scenariothuva42-1/+386
fix authetication issue in scenario page add tests Change-Id: I5d1457c4fde7c803459352223b1dfb2f970212df Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-09Add multple customs to scenariothuva41-4/+1
User can add multiple customs by giving a comma or space sperated string JIRA: RELENG-344 Change-Id: I8e4b37fc476f39e10321755f1e67fe3605178406 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-07add too long line check in pep8SerenaFeng4-8/+15
Change-Id: I13bd62699c14bb504751b2e1149de0812b771ba0 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-01Merge "Add resource name in scenario page confirm modal"Serena Feng5-3/+18
2018-03-01Merge "Prevent to delete the pods"Serena Feng2-0/+49
2018-03-01Prevent to delete the podsthuva42-0/+49
Do not allow to delete pods which are associated with test-results JIRA: RELENG-350 Change-Id: I8cb306d719acebff257048f08bcb981d81c64513 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-01Add resource name in scenario page confirm modalthuva45-3/+18
Add the name of the insatllers, versions, projects and customs in the delete confirm modal add tests Change-Id: I91e115f484726d98c357de844197189b22f66584 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-02-28Merge "Add sorting in pods page"Serena Feng1-15/+39
2018-02-27Add sorting in pods pagethuva41-15/+39
Show the results in sorted order Provide options to sort the results by name, role, mode Change-Id: I8b514769e9b878a0ff4bafcae8e909af3284f7ca Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-02-27Merge "remove deprecated upload-related codes"Serena Feng2-53/+0
2018-02-27Merge "set debug=False to prevent useless tracebacks"Serena Feng1-1/+1
2018-02-26Merge "prevent the delete/update for projects"Serena Feng1-0/+17
2018-02-26remove deprecated upload-related codesSerenaFeng2-53/+0
upload result file is used by dovetail, since now dovetail has leveraged its own cvp repo, and TestAPI is mostly and should be used as a realtime results collecting, no need to keep such function. Change-Id: Ibd56035d5d63020e224a382c8040705f63b63386 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-02-26set debug=False to prevent useless tracebacksSerenaFeng1-1/+1
Change-Id: Ide0e00e3aa6ee4a484fd9d1b7c9bc52b598267ea Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-02-24Merge "Add test for deploy result get one"Serena Feng1-0/+17
2018-02-22prevent the delete/update for projectsthuva41-0/+17
Prevent user from deleting or updating projects which are associated with testcases JIRA: RELENG-335 JIRA: RELENG-336 Change-Id: Ic0a8841a4632329f4b58aeb97cb93a91bacc2b06 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-02-15Add test for deploy result get onethuva41-0/+17
Cover the deploy result get one function & not found in unit test JIRA: RELENG-345 Change-Id: I45e9c9c4feacc73d2c934031656ac063be42a148 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-02-11Add multiple customs in scenario pagethuva41-2/+38
implement function to add multiple customs with a single add button click JIRA: RELENG-344 Change-Id: I7c4ac409ee5d78a6a01b242368b02813f0df400f Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-02-07Merge "Add deploy results"Serena Feng1-0/+397
2018-02-06Add deploy resultsthuva41-0/+397
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 Feng8-460/+443
2018-01-29owner to creatorthuva48-460/+443
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 pagethuva41-8/+8
filter suggestions in results page fix ui in results page Change-Id: Id0eebd9575b5f494061130afe2c7d42c74985cec Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-01-16Design the scenario create methodthuva47-518/+2484
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 Feng1-0/+37
2018-01-09Design the scenario create methodSerenaFeng1-0/+37
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 pagesthuva41-9/+1
Add links for the redirection Created Result page Change-Id: I7ba80f6a8d774d6fde33280f701c1188cb5c32d9 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-01-04Merge "simplify test_pod.py with eq"Serena Feng2-28/+13
2018-01-04simplify test_pod.py with eqSerenaFeng2-28/+13
Change-Id: I1efd519f877d48499dcd98a420b90a1b5d4c488f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-04simplify test_testcase.py using eq and templatesSerenaFeng3-42/+64
Change-Id: If1d1e3e22be0ddbb92f0e3b927ea4e376f0a8c89 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-04simplify test_results.py with eq() and templates/SerenaFeng2-125/+58
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 Feng4-0/+227
2018-01-04Merge "leverage query_by_name decorator to simplify name querying"Serena Feng1-0/+3
2018-01-03add deployment result collecting interfacesSerenaFeng4-0/+227
Change-Id: I5fe50c44e7b36ea45dd1b8632130b30dfe173d0a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-02leverage query_by_name decorator to simplify name queryingSerenaFeng1-0/+3
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 pagethuva41-0/+363
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 Feng3-0/+664
2017-12-23Implement the CRUD operations for Test casesthuva43-0/+664
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-06remove useless print snippetSerenaFeng1-1/+0
Change-Id: I3ea4ea202bf2f5cf17ca585ccffbef3265ef7cc0 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-11-23Add filter option in projects pagethuva41-0/+28
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 pagethuva41-2/+2
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-16Update and Delete functionalities for projectsthuva45-154/+569
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 projectthuva46-24/+278
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-01add simple e2e tests for PodsCotrollerthuva43-0/+220
Change-Id: I9baa04ff062f36569c1e143014239931de64cf32 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-10-27divide resources into handlers and modelsSerenaFeng13-144/+21
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-23Merge "allow authentication to be disabled"Serena Feng1-1/+2
2017-10-20allow authentication to be disabledSerenaFeng1-1/+2
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'SerenaFeng1-1/+8
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>