├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── base └── api │ ├── authentication_api.py │ └── questions_api.py ├── conftest.py ├── docs ├── app.js ├── data │ ├── behaviors.csv │ ├── behaviors.json │ ├── categories.csv │ ├── categories.json │ ├── packages.json │ ├── suites.csv │ ├── suites.json │ ├── test-cases │ │ ├── 11d5ecc0efcf6934.json │ │ ├── 11d9af1931607edc.json │ │ ├── 158984218dc94b30.json │ │ ├── 1d972fac58897c53.json │ │ ├── 2f3aa17de1d27def.json │ │ ├── 3275d8c3e83882a0.json │ │ ├── 3c8e69c8e398aa63.json │ │ ├── 46e8040145e6e564.json │ │ ├── 4dee64acc1735fa6.json │ │ ├── 50502679f7ffdb48.json │ │ ├── 52895b4eafff92d9.json │ │ ├── 5aef70266a2c0dac.json │ │ ├── 604bac5ef48b2dd0.json │ │ ├── 7301ca48cba3de3c.json │ │ ├── 81a239b58a3bc4fe.json │ │ ├── 844c52e75a88e7a1.json │ │ ├── 84d4da2220add81a.json │ │ ├── 894fa551dfd7d8a0.json │ │ ├── 8c0354ea2e662f2.json │ │ ├── a1c38fd761b68663.json │ │ ├── a2d564fa215defd3.json │ │ ├── a9b11d77f00b1bd3.json │ │ ├── af0136d2a8e8a70b.json │ │ ├── b3b4702624d5c353.json │ │ ├── b769914147874745.json │ │ ├── ba3702610d842626.json │ │ ├── bd21a8bbaaaeb709.json │ │ ├── ccbaef54508669f1.json │ │ ├── d355ad7dd3d0d3.json │ │ ├── d59dd00c30520052.json │ │ ├── eb28d12d04a9d290.json │ │ ├── f67cfb5da694140a.json │ │ ├── f8757bded94ce9a7.json │ │ ├── fbb96751104953b7.json │ │ └── fbc74a3308d992a3.json │ └── timeline.json ├── export │ ├── influxDbData.txt │ ├── mail.html │ └── prometheusData.txt ├── favicon.ico ├── history │ ├── categories-trend.json │ ├── duration-trend.json │ ├── history-trend.json │ ├── history.json │ └── retry-trend.json ├── index.html ├── plugins │ ├── behaviors │ │ └── index.js │ ├── packages │ │ └── index.js │ └── screen-diff │ │ ├── index.js │ │ └── styles.css ├── styles.css └── widgets │ ├── behaviors.json │ ├── categories-trend.json │ ├── categories.json │ ├── duration-trend.json │ ├── duration.json │ ├── environment.json │ ├── executors.json │ ├── history-trend.json │ ├── launch.json │ ├── retry-trend.json │ ├── severity.json │ ├── status-chart.json │ ├── suites.json │ └── summary.json ├── models ├── authentication.py └── questions.py ├── pytest.ini ├── requirements.txt ├── settings.py ├── tests └── test_futurama_questions.py └── utils ├── assertions ├── api │ └── questions.py ├── base │ ├── assertion_base.py │ ├── assertion_mixin.py │ ├── assertion_types.py │ ├── expect.py │ └── solutions.py └── schema.py ├── clients └── http │ ├── builder.py │ └── client.py ├── constants └── routes.py ├── fakers.py └── fixtures └── questions.py /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | .vscode 10 | allure-results 11 | allure-reports 12 | 13 | # Distribution / packaging 14 | .Python 15 | build/ 16 | develop-eggs/ 17 | dist/ 18 | downloads/ 19 | eggs/ 20 | .eggs/ 21 | lib/ 22 | lib64/ 23 | parts/ 24 | sdist/ 25 | var/ 26 | wheels/ 27 | share/python-wheels/ 28 | *.egg-info/ 29 | .installed.cfg 30 | *.egg 31 | MANIFEST 32 | 33 | # PyInstaller 34 | # Usually these files are written by a python script from a template 35 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 36 | *.manifest 37 | *.spec 38 | 39 | # Installer logs 40 | pip-log.txt 41 | pip-delete-this-directory.txt 42 | 43 | # Unit test / coverage reports 44 | htmlcov/ 45 | .tox/ 46 | .nox/ 47 | .coverage 48 | .coverage.* 49 | .cache 50 | nosetests.xml 51 | coverage.xml 52 | *.cover 53 | *.py,cover 54 | .hypothesis/ 55 | .pytest_cache/ 56 | cover/ 57 | 58 | # Translations 59 | *.mo 60 | *.pot 61 | 62 | # Django stuff: 63 | *.log 64 | local_settings.py 65 | db.sqlite3 66 | db.sqlite3-journal 67 | 68 | # Flask stuff: 69 | instance/ 70 | .webassets-cache 71 | 72 | # Scrapy stuff: 73 | .scrapy 74 | 75 | # Sphinx documentation 76 | docs/_build/ 77 | 78 | # PyBuilder 79 | .pybuilder/ 80 | target/ 81 | 82 | # Jupyter Notebook 83 | .ipynb_checkpoints 84 | 85 | # IPython 86 | profile_default/ 87 | ipython_config.py 88 | 89 | # pyenv 90 | # For a library or package, you might want to ignore these files since the code is 91 | # intended to run in multiple environments; otherwise, check them in: 92 | # .python-version 93 | 94 | # pipenv 95 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 96 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 97 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 98 | # install all needed dependencies. 99 | #Pipfile.lock 100 | 101 | # poetry 102 | # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. 103 | # This is especially recommended for binary packages to ensure reproducibility, and is more 104 | # commonly ignored for libraries. 105 | # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control 106 | #poetry.lock 107 | 108 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow 109 | __pypackages__/ 110 | 111 | # Celery stuff 112 | celerybeat-schedule 113 | celerybeat.pid 114 | 115 | # SageMath parsed files 116 | *.sage.py 117 | 118 | # Environments 119 | .env 120 | .venv 121 | env/ 122 | venv/ 123 | ENV/ 124 | env.bak/ 125 | venv.bak/ 126 | 127 | # Spyder project settings 128 | .spyderproject 129 | .spyproject 130 | 131 | # Rope project settings 132 | .ropeproject 133 | 134 | # mkdocs documentation 135 | /site 136 | 137 | # mypy 138 | .mypy_cache/ 139 | .dmypy.json 140 | dmypy.json 141 | 142 | # Pyre type checker 143 | .pyre/ 144 | 145 | # pytype static type analyzer 146 | .pytype/ 147 | 148 | # Cython debug symbols 149 | cython_debug/ 150 | 151 | # PyCharm 152 | # JetBrains specific template is maintainted in a separate JetBrains.gitignore that can 153 | # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore 154 | # and can be added to the global gitignore or merged into this file. For a more nuclear 155 | # option (not recommended) you can uncomment the following to ignore the entire idea folder. 156 | #.idea/ 157 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Sample API testing 2 | 3 | [Demo allure report](https://nikita-filonov.github.io/sample_api_testing/) 4 | 5 | **Project setup** 6 | 7 | ``` 8 | git clone https://github.com/Nikita-Filonov/sample_api_testing.git 9 | cd sample_api_testing 10 | 11 | pip install virtualenv 12 | virtualenv venv 13 | source venv/bin/activate 14 | 15 | pip install -r requirements.txt 16 | ``` 17 | 18 | **Starting auto tests** 19 | 20 | ``` 21 | python -m pytest --alluredir=./allure-results 22 | 23 | allure serve 24 | or 25 | allure generate 26 | ``` 27 | -------------------------------------------------------------------------------- /base/api/authentication_api.py: -------------------------------------------------------------------------------- 1 | from httpx import Response 2 | 3 | from models.authentication import AuthUser 4 | from utils.clients.http.client import APIClient 5 | from utils.constants.routes import APIRoutes 6 | 7 | 8 | class AuthenticationClient(APIClient): 9 | def get_auth_token_api(self, payload: AuthUser) -> Response: 10 | return self.client.post(f'{APIRoutes.AUTH}/token', json=payload.model_dump()) 11 | 12 | def get_auth_token(self, payload: AuthUser) -> str: 13 | """ 14 | Should be used like this: 15 | 16 | response = self.get_auth_token_api(payload) 17 | json_response = response.json() 18 | 19 | assert response.status_code == HTTPStatus.OK 20 | assert json_response.get('token') 21 | 22 | return json_response['token'] 23 | """ 24 | return 'token' 25 | -------------------------------------------------------------------------------- /base/api/questions_api.py: -------------------------------------------------------------------------------- 1 | import allure 2 | from httpx import Response 3 | 4 | from models.questions import DefaultQuestion, UpdateQuestion 5 | from utils.clients.http.client import APIClient 6 | from utils.constants.routes import APIRoutes 7 | 8 | 9 | class QuestionsClient(APIClient): 10 | @allure.step(f'Getting all questions') 11 | def get_questions_api(self) -> Response: 12 | return self.client.get(APIRoutes.QUESTIONS) 13 | 14 | @allure.step('Getting question with id "{question_id}"') 15 | def get_question_api(self, question_id: int) -> Response: 16 | return self.client.get(f'{APIRoutes.QUESTIONS}/{question_id}') 17 | 18 | @allure.step('Creating question') 19 | def create_question_api(self, payload: DefaultQuestion) -> Response: 20 | return self.client.post(APIRoutes.QUESTIONS, json=payload.model_dump(by_alias=True)) 21 | 22 | @allure.step('Updating question with id "{question_id}"') 23 | def update_question_api(self, question_id: int, payload: UpdateQuestion) -> Response: 24 | return self.client.patch( 25 | f'{APIRoutes.QUESTIONS}/{question_id}', 26 | json=payload.model_dump(by_alias=True) 27 | ) 28 | 29 | @allure.step('Deleting question with id "{question_id}"') 30 | def delete_question_api(self, question_id: int) -> Response: 31 | return self.client.delete(f'{APIRoutes.QUESTIONS}/{question_id}') 32 | 33 | def create_question(self) -> DefaultQuestion: 34 | payload = DefaultQuestion() 35 | 36 | response = self.create_question_api(payload) 37 | return DefaultQuestion(**response.json()) 38 | -------------------------------------------------------------------------------- /conftest.py: -------------------------------------------------------------------------------- 1 | pytest_plugins = ( 2 | 'utils.fixtures.questions', 3 | ) 4 | -------------------------------------------------------------------------------- /docs/data/behaviors.csv: -------------------------------------------------------------------------------- 1 | "Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN" 2 | "","Questions","Questions API","0","0","5","0","0" 3 | -------------------------------------------------------------------------------- /docs/data/behaviors.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "b1a8273437954620fa374b796ffaacdd", 3 | "name" : "behaviors", 4 | "children" : [ { 5 | "name" : "Questions", 6 | "children" : [ { 7 | "name" : "Questions API", 8 | "children" : [ { 9 | "name" : "Get questions", 10 | "uid" : "158984218dc94b30", 11 | "parentUid" : "70b1767297a4a80c9f647917747acdc5", 12 | "status" : "passed", 13 | "time" : { 14 | "start" : 1673168679762, 15 | "stop" : 1673168680403, 16 | "duration" : 641 17 | }, 18 | "flaky" : false, 19 | "newFailed" : false, 20 | "parameters" : [ ] 21 | }, { 22 | "name" : "Create question", 23 | "uid" : "ba3702610d842626", 24 | "parentUid" : "70b1767297a4a80c9f647917747acdc5", 25 | "status" : "passed", 26 | "time" : { 27 | "start" : 1673168680406, 28 | "stop" : 1673168680710, 29 | "duration" : 304 30 | }, 31 | "flaky" : false, 32 | "newFailed" : false, 33 | "parameters" : [ ] 34 | }, { 35 | "name" : "Get question", 36 | "uid" : "844c52e75a88e7a1", 37 | "parentUid" : "70b1767297a4a80c9f647917747acdc5", 38 | "status" : "passed", 39 | "time" : { 40 | "start" : 1673168681053, 41 | "stop" : 1673168681208, 42 | "duration" : 155 43 | }, 44 | "flaky" : false, 45 | "newFailed" : false, 46 | "parameters" : [ ] 47 | }, { 48 | "name" : "Update question", 49 | "uid" : "b3b4702624d5c353", 50 | "parentUid" : "70b1767297a4a80c9f647917747acdc5", 51 | "status" : "passed", 52 | "time" : { 53 | "start" : 1673168681714, 54 | "stop" : 1673168682017, 55 | "duration" : 303 56 | }, 57 | "flaky" : false, 58 | "newFailed" : false, 59 | "parameters" : [ ] 60 | }, { 61 | "name" : "Delete question", 62 | "uid" : "f67cfb5da694140a", 63 | "parentUid" : "70b1767297a4a80c9f647917747acdc5", 64 | "status" : "passed", 65 | "time" : { 66 | "start" : 1673168682520, 67 | "stop" : 1673168682829, 68 | "duration" : 309 69 | }, 70 | "flaky" : false, 71 | "newFailed" : false, 72 | "parameters" : [ ] 73 | } ], 74 | "uid" : "70b1767297a4a80c9f647917747acdc5" 75 | } ], 76 | "uid" : "06dd88eacd0faf34ebe800d11c6b9828" 77 | } ] 78 | } -------------------------------------------------------------------------------- /docs/data/categories.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nikita-Filonov/sample_api_testing/05d177c41eefe6ac39042d02f6d29ce56097eb12/docs/data/categories.csv -------------------------------------------------------------------------------- /docs/data/categories.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "4b4757e66a1912dae1a509f688f20b0f", 3 | "name" : "categories", 4 | "children" : [ ] 5 | } -------------------------------------------------------------------------------- /docs/data/packages.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "83edc06c07f9ae9e47eb6dd1b683e4e2", 3 | "name" : "packages", 4 | "children" : [ { 5 | "name" : "tests.test_futurama_questions", 6 | "children" : [ { 7 | "name" : "Get questions", 8 | "uid" : "158984218dc94b30", 9 | "parentUid" : "cc5c058d5e4a18f9070c7d03dbfc5120", 10 | "status" : "passed", 11 | "time" : { 12 | "start" : 1673168679762, 13 | "stop" : 1673168680403, 14 | "duration" : 641 15 | }, 16 | "flaky" : false, 17 | "newFailed" : false, 18 | "parameters" : [ ] 19 | }, { 20 | "name" : "Create question", 21 | "uid" : "ba3702610d842626", 22 | "parentUid" : "cc5c058d5e4a18f9070c7d03dbfc5120", 23 | "status" : "passed", 24 | "time" : { 25 | "start" : 1673168680406, 26 | "stop" : 1673168680710, 27 | "duration" : 304 28 | }, 29 | "flaky" : false, 30 | "newFailed" : false, 31 | "parameters" : [ ] 32 | }, { 33 | "name" : "Get question", 34 | "uid" : "844c52e75a88e7a1", 35 | "parentUid" : "cc5c058d5e4a18f9070c7d03dbfc5120", 36 | "status" : "passed", 37 | "time" : { 38 | "start" : 1673168681053, 39 | "stop" : 1673168681208, 40 | "duration" : 155 41 | }, 42 | "flaky" : false, 43 | "newFailed" : false, 44 | "parameters" : [ ] 45 | }, { 46 | "name" : "Update question", 47 | "uid" : "b3b4702624d5c353", 48 | "parentUid" : "cc5c058d5e4a18f9070c7d03dbfc5120", 49 | "status" : "passed", 50 | "time" : { 51 | "start" : 1673168681714, 52 | "stop" : 1673168682017, 53 | "duration" : 303 54 | }, 55 | "flaky" : false, 56 | "newFailed" : false, 57 | "parameters" : [ ] 58 | }, { 59 | "name" : "Delete question", 60 | "uid" : "f67cfb5da694140a", 61 | "parentUid" : "cc5c058d5e4a18f9070c7d03dbfc5120", 62 | "status" : "passed", 63 | "time" : { 64 | "start" : 1673168682520, 65 | "stop" : 1673168682829, 66 | "duration" : 309 67 | }, 68 | "flaky" : false, 69 | "newFailed" : false, 70 | "parameters" : [ ] 71 | } ], 72 | "uid" : "tests.test_futurama_questions" 73 | } ] 74 | } -------------------------------------------------------------------------------- /docs/data/suites.csv: -------------------------------------------------------------------------------- 1 | "Status","Start Time","Stop Time","Duration in ms","Parent Suite","Suite","Sub Suite","Test Class","Test Method","Name","Description" 2 | "passed","Sun Jan 08 12:04:41 MSK 2023","Sun Jan 08 12:04:41 MSK 2023","155","tests","test_futurama_questions","TestQuestions","","","Get question","" 3 | "passed","Sun Jan 08 12:04:39 MSK 2023","Sun Jan 08 12:04:40 MSK 2023","641","tests","test_futurama_questions","TestQuestions","","","Get questions","" 4 | "passed","Sun Jan 08 12:04:42 MSK 2023","Sun Jan 08 12:04:42 MSK 2023","309","tests","test_futurama_questions","TestQuestions","","","Delete question","" 5 | "passed","Sun Jan 08 12:04:41 MSK 2023","Sun Jan 08 12:04:42 MSK 2023","303","tests","test_futurama_questions","TestQuestions","","","Update question","" 6 | "passed","Sun Jan 08 12:04:40 MSK 2023","Sun Jan 08 12:04:40 MSK 2023","304","tests","test_futurama_questions","TestQuestions","","","Create question","" 7 | -------------------------------------------------------------------------------- /docs/data/suites.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "98d3104e051c652961429bf95fa0b5d6", 3 | "name" : "suites", 4 | "children" : [ { 5 | "name" : "tests", 6 | "children" : [ { 7 | "name" : "test_futurama_questions", 8 | "children" : [ { 9 | "name" : "TestQuestions", 10 | "children" : [ { 11 | "name" : "Get questions", 12 | "uid" : "158984218dc94b30", 13 | "parentUid" : "d652af757e84baaa4d2f3faab5ba6d2f", 14 | "status" : "passed", 15 | "time" : { 16 | "start" : 1673168679762, 17 | "stop" : 1673168680403, 18 | "duration" : 641 19 | }, 20 | "flaky" : false, 21 | "newFailed" : false, 22 | "parameters" : [ ] 23 | }, { 24 | "name" : "Create question", 25 | "uid" : "ba3702610d842626", 26 | "parentUid" : "d652af757e84baaa4d2f3faab5ba6d2f", 27 | "status" : "passed", 28 | "time" : { 29 | "start" : 1673168680406, 30 | "stop" : 1673168680710, 31 | "duration" : 304 32 | }, 33 | "flaky" : false, 34 | "newFailed" : false, 35 | "parameters" : [ ] 36 | }, { 37 | "name" : "Get question", 38 | "uid" : "844c52e75a88e7a1", 39 | "parentUid" : "d652af757e84baaa4d2f3faab5ba6d2f", 40 | "status" : "passed", 41 | "time" : { 42 | "start" : 1673168681053, 43 | "stop" : 1673168681208, 44 | "duration" : 155 45 | }, 46 | "flaky" : false, 47 | "newFailed" : false, 48 | "parameters" : [ ] 49 | }, { 50 | "name" : "Update question", 51 | "uid" : "b3b4702624d5c353", 52 | "parentUid" : "d652af757e84baaa4d2f3faab5ba6d2f", 53 | "status" : "passed", 54 | "time" : { 55 | "start" : 1673168681714, 56 | "stop" : 1673168682017, 57 | "duration" : 303 58 | }, 59 | "flaky" : false, 60 | "newFailed" : false, 61 | "parameters" : [ ] 62 | }, { 63 | "name" : "Delete question", 64 | "uid" : "f67cfb5da694140a", 65 | "parentUid" : "d652af757e84baaa4d2f3faab5ba6d2f", 66 | "status" : "passed", 67 | "time" : { 68 | "start" : 1673168682520, 69 | "stop" : 1673168682829, 70 | "duration" : 309 71 | }, 72 | "flaky" : false, 73 | "newFailed" : false, 74 | "parameters" : [ ] 75 | } ], 76 | "uid" : "d652af757e84baaa4d2f3faab5ba6d2f" 77 | } ], 78 | "uid" : "8a5db4ba4e13d14db479fe12d460315b" 79 | } ], 80 | "uid" : "e387fa4bb326b54ea8c19c2822aba374" 81 | } ] 82 | } -------------------------------------------------------------------------------- /docs/data/test-cases/11d9af1931607edc.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "11d9af1931607edc", 3 | "name" : "Get questions", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_get_questions", 5 | "historyId" : "af6ee829867beaceece74dfb0f38024c", 6 | "time" : { 7 | "start" : 1673031409292, 8 | "stop" : 1673031409954, 9 | "duration" : 662 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ ], 15 | "testStage" : { 16 | "status" : "passed", 17 | "steps" : [ { 18 | "name" : "Getting all questions", 19 | "time" : { 20 | "start" : 1673031409292, 21 | "stop" : 1673031409954, 22 | "duration" : 662 23 | }, 24 | "status" : "passed", 25 | "steps" : [ { 26 | "name" : "Making GET request to \"/questions\"", 27 | "time" : { 28 | "start" : 1673031409303, 29 | "stop" : 1673031409954, 30 | "duration" : 651 31 | }, 32 | "status" : "passed", 33 | "steps" : [ ], 34 | "attachments" : [ ], 35 | "parameters" : [ ], 36 | "stepsCount" : 0, 37 | "hasContent" : false, 38 | "attachmentsCount" : 0, 39 | "shouldDisplayMessage" : false 40 | } ], 41 | "attachments" : [ ], 42 | "parameters" : [ { 43 | "name" : "auth", 44 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 45 | } ], 46 | "stepsCount" : 1, 47 | "hasContent" : true, 48 | "attachmentsCount" : 0, 49 | "shouldDisplayMessage" : false 50 | }, { 51 | "name" : "Validating schema for instance", 52 | "time" : { 53 | "start" : 1673031409954, 54 | "stop" : 1673031409954, 55 | "duration" : 0 56 | }, 57 | "status" : "passed", 58 | "steps" : [ ], 59 | "attachments" : [ ], 60 | "parameters" : [ ], 61 | "stepsCount" : 0, 62 | "hasContent" : false, 63 | "attachmentsCount" : 0, 64 | "shouldDisplayMessage" : false 65 | } ], 66 | "attachments" : [ ], 67 | "parameters" : [ ], 68 | "stepsCount" : 3, 69 | "hasContent" : true, 70 | "attachmentsCount" : 0, 71 | "shouldDisplayMessage" : false 72 | }, 73 | "afterStages" : [ ], 74 | "labels" : [ { 75 | "name" : "feature", 76 | "value" : "Questions" 77 | }, { 78 | "name" : "story", 79 | "value" : "Questions API" 80 | }, { 81 | "name" : "tag", 82 | "value" : "questions" 83 | }, { 84 | "name" : "parentSuite", 85 | "value" : "tests" 86 | }, { 87 | "name" : "suite", 88 | "value" : "test_futurama_questions" 89 | }, { 90 | "name" : "subSuite", 91 | "value" : "TestQuestions" 92 | }, { 93 | "name" : "host", 94 | "value" : "LAPTOP-VDKHCJMI" 95 | }, { 96 | "name" : "thread", 97 | "value" : "12112-MainThread" 98 | }, { 99 | "name" : "framework", 100 | "value" : "pytest" 101 | }, { 102 | "name" : "language", 103 | "value" : "cpython3" 104 | }, { 105 | "name" : "package", 106 | "value" : "tests.test_futurama_questions" 107 | }, { 108 | "name" : "resultFormat", 109 | "value" : "allure2" 110 | } ], 111 | "parameters" : [ ], 112 | "links" : [ ], 113 | "hidden" : true, 114 | "retry" : true, 115 | "extra" : { 116 | "categories" : [ ], 117 | "tags" : [ "questions" ] 118 | }, 119 | "source" : "11d9af1931607edc.json", 120 | "parameterValues" : [ ] 121 | } -------------------------------------------------------------------------------- /docs/data/test-cases/3275d8c3e83882a0.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "3275d8c3e83882a0", 3 | "name" : "Create question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_create_question", 5 | "historyId" : "52b40a7afa47d7d6aef873594efdacd7", 6 | "time" : { 7 | "start" : 1673032078082, 8 | "stop" : 1673032078405, 9 | "duration" : 323 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ ], 15 | "testStage" : { 16 | "status" : "passed", 17 | "steps" : [ { 18 | "name" : "Creating question", 19 | "time" : { 20 | "start" : 1673032078082, 21 | "stop" : 1673032078405, 22 | "duration" : 323 23 | }, 24 | "status" : "passed", 25 | "steps" : [ { 26 | "name" : "Making POST request to \"'APIRoutes.QUESTIONS'\"", 27 | "time" : { 28 | "start" : 1673032078082, 29 | "stop" : 1673032078405, 30 | "duration" : 323 31 | }, 32 | "status" : "passed", 33 | "steps" : [ ], 34 | "attachments" : [ ], 35 | "parameters" : [ { 36 | "name" : "url", 37 | "value" : "'APIRoutes.QUESTIONS'" 38 | }, { 39 | "name" : "json", 40 | "value" : "{'id': 281, 'question': 'tW9tZvdbsZUQKvn', 'possibleAnswers': ['gyxFMlDP7T', 'YgOJEMWy9t', 'jW0YUWoeCd', 'DLnWHv0i3jt4m', 'B8VskzXk9', '8Rt6U5ukTvEjt', 'Ep6i28MAEtS', 'Q4lqrNcJEj', 'orjOxcuHqP', 'RGqSWNoDYCtG4z', '32N4rjRnPeIGV', 'NKZ9c8kM97kxY', 'tiVT4NRfVH3FS'], 'correctAnswer': 'dZTIkgGccGgCC'}" 41 | } ], 42 | "stepsCount" : 0, 43 | "hasContent" : true, 44 | "attachmentsCount" : 0, 45 | "shouldDisplayMessage" : false 46 | } ], 47 | "attachments" : [ ], 48 | "parameters" : [ { 49 | "name" : "payload", 50 | "value" : "DefaultQuestion(id=281, question='tW9tZvdbsZUQKvn', possible_answers=['gyxFMlDP7T', 'YgOJEMWy9t', 'jW0YUWoeCd', 'DLnWHv0i3jt4m', 'B8VskzXk9', '8Rt6U5ukTvEjt', 'Ep6i28MAEtS', 'Q4lqrNcJEj', 'orjOxcuHqP', 'RGqSWNoDYCtG4z', '32N4rjRnPeIGV', 'NKZ9c8kM97kxY', 'tiVT4NRfVH3FS'], correct_answer='dZTIkgGccGgCC')" 51 | }, { 52 | "name" : "auth", 53 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 54 | } ], 55 | "stepsCount" : 1, 56 | "hasContent" : true, 57 | "attachmentsCount" : 0, 58 | "shouldDisplayMessage" : false 59 | }, { 60 | "name" : "Checking that \"None\" equals to \"201\"", 61 | "time" : { 62 | "start" : 1673032078405, 63 | "stop" : 1673032078405, 64 | "duration" : 0 65 | }, 66 | "status" : "passed", 67 | "steps" : [ ], 68 | "attachments" : [ ], 69 | "parameters" : [ ], 70 | "stepsCount" : 0, 71 | "hasContent" : false, 72 | "attachmentsCount" : 0, 73 | "shouldDisplayMessage" : false 74 | }, { 75 | "name" : "Checking that \"Question \"id\"\" equals to \"281\"", 76 | "time" : { 77 | "start" : 1673032078405, 78 | "stop" : 1673032078405, 79 | "duration" : 0 80 | }, 81 | "status" : "passed", 82 | "steps" : [ ], 83 | "attachments" : [ ], 84 | "parameters" : [ ], 85 | "stepsCount" : 0, 86 | "hasContent" : false, 87 | "attachmentsCount" : 0, 88 | "shouldDisplayMessage" : false 89 | }, { 90 | "name" : "Checking that \"Question \"question\"\" equals to \"tW9tZvdbsZUQKvn\"", 91 | "time" : { 92 | "start" : 1673032078405, 93 | "stop" : 1673032078405, 94 | "duration" : 0 95 | }, 96 | "status" : "passed", 97 | "steps" : [ ], 98 | "attachments" : [ ], 99 | "parameters" : [ ], 100 | "stepsCount" : 0, 101 | "hasContent" : false, 102 | "attachmentsCount" : 0, 103 | "shouldDisplayMessage" : false 104 | }, { 105 | "name" : "Checking that \"Question \"possibleAnswers\"\" equals to \"['gyxFMlDP7T', 'YgOJEMWy9t', 'jW0YUWoeCd', 'DLnWHv0i3jt4m', 'B8VskzXk9', '8Rt6U5ukTvEjt', 'Ep6i28MAEtS', 'Q4lqrNcJEj', 'orjOxcuHqP', 'RGqSWNoDYCtG4z', '32N4rjRnPeIGV', 'NKZ9c8kM97kxY', 'tiVT4NRfVH3FS']\"", 106 | "time" : { 107 | "start" : 1673032078405, 108 | "stop" : 1673032078405, 109 | "duration" : 0 110 | }, 111 | "status" : "passed", 112 | "steps" : [ ], 113 | "attachments" : [ ], 114 | "parameters" : [ ], 115 | "stepsCount" : 0, 116 | "hasContent" : false, 117 | "attachmentsCount" : 0, 118 | "shouldDisplayMessage" : false 119 | }, { 120 | "name" : "Checking that \"Question \"correctAnswer\"\" equals to \"dZTIkgGccGgCC\"", 121 | "time" : { 122 | "start" : 1673032078405, 123 | "stop" : 1673032078405, 124 | "duration" : 0 125 | }, 126 | "status" : "passed", 127 | "steps" : [ ], 128 | "attachments" : [ ], 129 | "parameters" : [ ], 130 | "stepsCount" : 0, 131 | "hasContent" : false, 132 | "attachmentsCount" : 0, 133 | "shouldDisplayMessage" : false 134 | }, { 135 | "name" : "Validating schema", 136 | "time" : { 137 | "start" : 1673032078405, 138 | "stop" : 1673032078405, 139 | "duration" : 0 140 | }, 141 | "status" : "passed", 142 | "steps" : [ ], 143 | "attachments" : [ ], 144 | "parameters" : [ { 145 | "name" : "instance", 146 | "value" : "{'id': 281, 'question': 'tW9tZvdbsZUQKvn', 'possibleAnswers': ['gyxFMlDP7T', 'YgOJEMWy9t', 'jW0YUWoeCd', 'DLnWHv0i3jt4m', 'B8VskzXk9', '8Rt6U5ukTvEjt', 'Ep6i28MAEtS', 'Q4lqrNcJEj', 'orjOxcuHqP', 'RGqSWNoDYCtG4z', '32N4rjRnPeIGV', 'NKZ9c8kM97kxY', 'tiVT4NRfVH3FS'], 'correctAnswer': 'dZTIkgGccGgCC'}" 147 | }, { 148 | "name" : "schema", 149 | "value" : "{'title': 'DefaultQuestion', 'type': 'object', 'properties': {'id': {'title': 'Id', 'type': 'integer'}, 'question': {'title': 'Question', 'type': 'string'}, 'possibleAnswers': {'title': 'Possibleanswers', 'type': 'array', 'items': {'type': 'string'}}, 'correctAnswer': {'title': 'Correctanswer', 'type': 'string'}}}" 150 | } ], 151 | "stepsCount" : 0, 152 | "hasContent" : true, 153 | "attachmentsCount" : 0, 154 | "shouldDisplayMessage" : false 155 | } ], 156 | "attachments" : [ ], 157 | "parameters" : [ ], 158 | "stepsCount" : 8, 159 | "hasContent" : true, 160 | "attachmentsCount" : 0, 161 | "shouldDisplayMessage" : false 162 | }, 163 | "afterStages" : [ ], 164 | "labels" : [ { 165 | "name" : "feature", 166 | "value" : "Questions" 167 | }, { 168 | "name" : "story", 169 | "value" : "Questions API" 170 | }, { 171 | "name" : "tag", 172 | "value" : "questions" 173 | }, { 174 | "name" : "parentSuite", 175 | "value" : "tests" 176 | }, { 177 | "name" : "suite", 178 | "value" : "test_futurama_questions" 179 | }, { 180 | "name" : "subSuite", 181 | "value" : "TestQuestions" 182 | }, { 183 | "name" : "host", 184 | "value" : "LAPTOP-VDKHCJMI" 185 | }, { 186 | "name" : "thread", 187 | "value" : "19868-MainThread" 188 | }, { 189 | "name" : "framework", 190 | "value" : "pytest" 191 | }, { 192 | "name" : "language", 193 | "value" : "cpython3" 194 | }, { 195 | "name" : "package", 196 | "value" : "tests.test_futurama_questions" 197 | }, { 198 | "name" : "resultFormat", 199 | "value" : "allure2" 200 | } ], 201 | "parameters" : [ ], 202 | "links" : [ ], 203 | "hidden" : true, 204 | "retry" : true, 205 | "extra" : { 206 | "categories" : [ ], 207 | "tags" : [ "questions" ] 208 | }, 209 | "source" : "3275d8c3e83882a0.json", 210 | "parameterValues" : [ ] 211 | } -------------------------------------------------------------------------------- /docs/data/test-cases/3c8e69c8e398aa63.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "3c8e69c8e398aa63", 3 | "name" : "Delete question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_delete_question", 5 | "historyId" : "fbd3bb43d87ce6a7ed7b8bfdc667902a", 6 | "time" : { 7 | "start" : 1673032253029, 8 | "stop" : 1673032253354, 9 | "duration" : 325 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ { 15 | "name" : "function_question", 16 | "time" : { 17 | "start" : 1673032252677, 18 | "stop" : 1673032253029, 19 | "duration" : 352 20 | }, 21 | "status" : "passed", 22 | "steps" : [ { 23 | "name" : "Creating question", 24 | "time" : { 25 | "start" : 1673032252678, 26 | "stop" : 1673032253029, 27 | "duration" : 351 28 | }, 29 | "status" : "passed", 30 | "steps" : [ { 31 | "name" : "Making POST request to \"'/questions'\"", 32 | "time" : { 33 | "start" : 1673032252678, 34 | "stop" : 1673032253029, 35 | "duration" : 351 36 | }, 37 | "status" : "passed", 38 | "steps" : [ ], 39 | "attachments" : [ ], 40 | "parameters" : [ { 41 | "name" : "url", 42 | "value" : "'/questions'" 43 | }, { 44 | "name" : "json", 45 | "value" : "{'id': 348, 'question': 'IXJYSgc5MZ', 'possibleAnswers': ['ZTtsRUq9hUZchL', 'YIUafPhTu1mLKIr', 'btsAbCUaMVrrOa', 'PsQtwo0qJCWY', 'cMpPspJWjuoh2', 'odjH1CEhZj3PRZ', 'HwBCajMyCu', '0geqznGhE8', 'CdTImIK4JMrkrU', '08mu06GrFc', 'SdfM6VMAC1', '85DoHzruE', '8P7pbntnCvH2K'], 'correctAnswer': '3A1u2Bow3'}" 46 | } ], 47 | "stepsCount" : 0, 48 | "hasContent" : true, 49 | "attachmentsCount" : 0, 50 | "shouldDisplayMessage" : false 51 | } ], 52 | "attachments" : [ ], 53 | "parameters" : [ { 54 | "name" : "payload", 55 | "value" : "DefaultQuestion(id=348, question='IXJYSgc5MZ', possible_answers=['ZTtsRUq9hUZchL', 'YIUafPhTu1mLKIr', 'btsAbCUaMVrrOa', 'PsQtwo0qJCWY', 'cMpPspJWjuoh2', 'odjH1CEhZj3PRZ', 'HwBCajMyCu', '0geqznGhE8', 'CdTImIK4JMrkrU', '08mu06GrFc', 'SdfM6VMAC1', '85DoHzruE', '8P7pbntnCvH2K'], correct_answer='3A1u2Bow3')" 56 | }, { 57 | "name" : "auth", 58 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 59 | } ], 60 | "stepsCount" : 1, 61 | "hasContent" : true, 62 | "attachmentsCount" : 0, 63 | "shouldDisplayMessage" : false 64 | } ], 65 | "attachments" : [ ], 66 | "parameters" : [ ], 67 | "stepsCount" : 2, 68 | "hasContent" : true, 69 | "attachmentsCount" : 0, 70 | "shouldDisplayMessage" : false 71 | } ], 72 | "testStage" : { 73 | "status" : "passed", 74 | "steps" : [ { 75 | "name" : "Deleting question with id \"348\"", 76 | "time" : { 77 | "start" : 1673032253030, 78 | "stop" : 1673032253191, 79 | "duration" : 161 80 | }, 81 | "status" : "passed", 82 | "steps" : [ { 83 | "name" : "Making DELETE request to \"'/questions/348'\"", 84 | "time" : { 85 | "start" : 1673032253030, 86 | "stop" : 1673032253191, 87 | "duration" : 161 88 | }, 89 | "status" : "passed", 90 | "steps" : [ ], 91 | "attachments" : [ ], 92 | "parameters" : [ { 93 | "name" : "url", 94 | "value" : "'/questions/348'" 95 | } ], 96 | "stepsCount" : 0, 97 | "hasContent" : true, 98 | "attachmentsCount" : 0, 99 | "shouldDisplayMessage" : false 100 | } ], 101 | "attachments" : [ ], 102 | "parameters" : [ { 103 | "name" : "question_id", 104 | "value" : "348" 105 | }, { 106 | "name" : "auth", 107 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 108 | } ], 109 | "stepsCount" : 1, 110 | "hasContent" : true, 111 | "attachmentsCount" : 0, 112 | "shouldDisplayMessage" : false 113 | }, { 114 | "name" : "Getting question with id \"348\"", 115 | "time" : { 116 | "start" : 1673032253191, 117 | "stop" : 1673032253354, 118 | "duration" : 163 119 | }, 120 | "status" : "passed", 121 | "steps" : [ { 122 | "name" : "Making GET request to \"'/questions/348'\"", 123 | "time" : { 124 | "start" : 1673032253191, 125 | "stop" : 1673032253354, 126 | "duration" : 163 127 | }, 128 | "status" : "passed", 129 | "steps" : [ ], 130 | "attachments" : [ ], 131 | "parameters" : [ { 132 | "name" : "url", 133 | "value" : "'/questions/348'" 134 | } ], 135 | "stepsCount" : 0, 136 | "hasContent" : true, 137 | "attachmentsCount" : 0, 138 | "shouldDisplayMessage" : false 139 | } ], 140 | "attachments" : [ ], 141 | "parameters" : [ { 142 | "name" : "question_id", 143 | "value" : "348" 144 | }, { 145 | "name" : "auth", 146 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 147 | } ], 148 | "stepsCount" : 1, 149 | "hasContent" : true, 150 | "attachmentsCount" : 0, 151 | "shouldDisplayMessage" : false 152 | }, { 153 | "name" : "Checking that \"None\" equals to \"200\"", 154 | "time" : { 155 | "start" : 1673032253354, 156 | "stop" : 1673032253354, 157 | "duration" : 0 158 | }, 159 | "status" : "passed", 160 | "steps" : [ ], 161 | "attachments" : [ ], 162 | "parameters" : [ ], 163 | "stepsCount" : 0, 164 | "hasContent" : false, 165 | "attachmentsCount" : 0, 166 | "shouldDisplayMessage" : false 167 | }, { 168 | "name" : "Checking that \"None\" equals to \"404\"", 169 | "time" : { 170 | "start" : 1673032253354, 171 | "stop" : 1673032253354, 172 | "duration" : 0 173 | }, 174 | "status" : "passed", 175 | "steps" : [ ], 176 | "attachments" : [ ], 177 | "parameters" : [ ], 178 | "stepsCount" : 0, 179 | "hasContent" : false, 180 | "attachmentsCount" : 0, 181 | "shouldDisplayMessage" : false 182 | } ], 183 | "attachments" : [ ], 184 | "parameters" : [ ], 185 | "stepsCount" : 6, 186 | "hasContent" : true, 187 | "attachmentsCount" : 0, 188 | "shouldDisplayMessage" : false 189 | }, 190 | "afterStages" : [ { 191 | "name" : "function_question::0", 192 | "time" : { 193 | "start" : 1673032253355, 194 | "stop" : 1673032253515, 195 | "duration" : 160 196 | }, 197 | "status" : "passed", 198 | "steps" : [ { 199 | "name" : "Deleting question with id \"348\"", 200 | "time" : { 201 | "start" : 1673032253355, 202 | "stop" : 1673032253515, 203 | "duration" : 160 204 | }, 205 | "status" : "passed", 206 | "steps" : [ { 207 | "name" : "Making DELETE request to \"'/questions/348'\"", 208 | "time" : { 209 | "start" : 1673032253355, 210 | "stop" : 1673032253515, 211 | "duration" : 160 212 | }, 213 | "status" : "passed", 214 | "steps" : [ ], 215 | "attachments" : [ ], 216 | "parameters" : [ { 217 | "name" : "url", 218 | "value" : "'/questions/348'" 219 | } ], 220 | "stepsCount" : 0, 221 | "hasContent" : true, 222 | "attachmentsCount" : 0, 223 | "shouldDisplayMessage" : false 224 | } ], 225 | "attachments" : [ ], 226 | "parameters" : [ { 227 | "name" : "question_id", 228 | "value" : "348" 229 | }, { 230 | "name" : "auth", 231 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 232 | } ], 233 | "stepsCount" : 1, 234 | "hasContent" : true, 235 | "attachmentsCount" : 0, 236 | "shouldDisplayMessage" : false 237 | } ], 238 | "attachments" : [ ], 239 | "parameters" : [ ], 240 | "stepsCount" : 2, 241 | "hasContent" : true, 242 | "attachmentsCount" : 0, 243 | "shouldDisplayMessage" : false 244 | } ], 245 | "labels" : [ { 246 | "name" : "story", 247 | "value" : "Questions API" 248 | }, { 249 | "name" : "feature", 250 | "value" : "Questions" 251 | }, { 252 | "name" : "tag", 253 | "value" : "questions" 254 | }, { 255 | "name" : "parentSuite", 256 | "value" : "tests" 257 | }, { 258 | "name" : "suite", 259 | "value" : "test_futurama_questions" 260 | }, { 261 | "name" : "subSuite", 262 | "value" : "TestQuestions" 263 | }, { 264 | "name" : "host", 265 | "value" : "LAPTOP-VDKHCJMI" 266 | }, { 267 | "name" : "thread", 268 | "value" : "19584-MainThread" 269 | }, { 270 | "name" : "framework", 271 | "value" : "pytest" 272 | }, { 273 | "name" : "language", 274 | "value" : "cpython3" 275 | }, { 276 | "name" : "package", 277 | "value" : "tests.test_futurama_questions" 278 | }, { 279 | "name" : "resultFormat", 280 | "value" : "allure2" 281 | } ], 282 | "parameters" : [ ], 283 | "links" : [ ], 284 | "hidden" : true, 285 | "retry" : true, 286 | "extra" : { 287 | "categories" : [ ], 288 | "tags" : [ "questions" ] 289 | }, 290 | "source" : "3c8e69c8e398aa63.json", 291 | "parameterValues" : [ ] 292 | } -------------------------------------------------------------------------------- /docs/data/test-cases/46e8040145e6e564.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "46e8040145e6e564", 3 | "name" : "Create question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_create_question", 5 | "historyId" : "52b40a7afa47d7d6aef873594efdacd7", 6 | "time" : { 7 | "start" : 1673031590800, 8 | "stop" : 1673031591147, 9 | "duration" : 347 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ ], 15 | "testStage" : { 16 | "status" : "passed", 17 | "steps" : [ { 18 | "name" : "Creating question", 19 | "time" : { 20 | "start" : 1673031590800, 21 | "stop" : 1673031591147, 22 | "duration" : 347 23 | }, 24 | "status" : "passed", 25 | "steps" : [ { 26 | "name" : "Making POST request to \"/questions\"", 27 | "time" : { 28 | "start" : 1673031590800, 29 | "stop" : 1673031591147, 30 | "duration" : 347 31 | }, 32 | "status" : "passed", 33 | "steps" : [ ], 34 | "attachments" : [ ], 35 | "parameters" : [ ], 36 | "stepsCount" : 0, 37 | "hasContent" : false, 38 | "attachmentsCount" : 0, 39 | "shouldDisplayMessage" : false 40 | } ], 41 | "attachments" : [ ], 42 | "parameters" : [ { 43 | "name" : "payload", 44 | "value" : "DefaultQuestion(id=517, question='0PNBpkpOFc', possible_answers=['x7dLBcsuXsssyS', 'SOJEsbEjW', 'QcWTCkQeg', 'FkOP3tlW4i', 'KwfAFWtVRXOeqEF', 'NVUc4eVpK', '7DrB3zwWVRR', 'ha1RcDgFHS0jS', '5i5NFi3zudr', 'yJ8Vvb69wRRCMU', 'tzgQXVzxS5R6Yzk', 'oUeNX1mAeVlerL'], correct_answer='C38GdIsSVcI')" 45 | }, { 46 | "name" : "auth", 47 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 48 | } ], 49 | "stepsCount" : 1, 50 | "hasContent" : true, 51 | "attachmentsCount" : 0, 52 | "shouldDisplayMessage" : false 53 | }, { 54 | "name" : "Checking that \"Question \"id\"\" equals to \"517\"", 55 | "time" : { 56 | "start" : 1673031591147, 57 | "stop" : 1673031591147, 58 | "duration" : 0 59 | }, 60 | "status" : "passed", 61 | "steps" : [ ], 62 | "attachments" : [ ], 63 | "parameters" : [ ], 64 | "stepsCount" : 0, 65 | "hasContent" : false, 66 | "attachmentsCount" : 0, 67 | "shouldDisplayMessage" : false 68 | }, { 69 | "name" : "Checking that \"Question \"question\"\" equals to \"0PNBpkpOFc\"", 70 | "time" : { 71 | "start" : 1673031591147, 72 | "stop" : 1673031591147, 73 | "duration" : 0 74 | }, 75 | "status" : "passed", 76 | "steps" : [ ], 77 | "attachments" : [ ], 78 | "parameters" : [ ], 79 | "stepsCount" : 0, 80 | "hasContent" : false, 81 | "attachmentsCount" : 0, 82 | "shouldDisplayMessage" : false 83 | }, { 84 | "name" : "Checking that \"Question \"possibleAnswers\"\" equals to \"['x7dLBcsuXsssyS', 'SOJEsbEjW', 'QcWTCkQeg', 'FkOP3tlW4i', 'KwfAFWtVRXOeqEF', 'NVUc4eVpK', '7DrB3zwWVRR', 'ha1RcDgFHS0jS', '5i5NFi3zudr', 'yJ8Vvb69wRRCMU', 'tzgQXVzxS5R6Yzk', 'oUeNX1mAeVlerL']\"", 85 | "time" : { 86 | "start" : 1673031591147, 87 | "stop" : 1673031591147, 88 | "duration" : 0 89 | }, 90 | "status" : "passed", 91 | "steps" : [ ], 92 | "attachments" : [ ], 93 | "parameters" : [ ], 94 | "stepsCount" : 0, 95 | "hasContent" : false, 96 | "attachmentsCount" : 0, 97 | "shouldDisplayMessage" : false 98 | }, { 99 | "name" : "Checking that \"Question \"correctAnswer\"\" equals to \"C38GdIsSVcI\"", 100 | "time" : { 101 | "start" : 1673031591147, 102 | "stop" : 1673031591147, 103 | "duration" : 0 104 | }, 105 | "status" : "passed", 106 | "steps" : [ ], 107 | "attachments" : [ ], 108 | "parameters" : [ ], 109 | "stepsCount" : 0, 110 | "hasContent" : false, 111 | "attachmentsCount" : 0, 112 | "shouldDisplayMessage" : false 113 | }, { 114 | "name" : "Validating schema", 115 | "time" : { 116 | "start" : 1673031591147, 117 | "stop" : 1673031591147, 118 | "duration" : 0 119 | }, 120 | "status" : "passed", 121 | "steps" : [ ], 122 | "attachments" : [ ], 123 | "parameters" : [ { 124 | "name" : "instance", 125 | "value" : "{'id': 517, 'question': '0PNBpkpOFc', 'possibleAnswers': ['x7dLBcsuXsssyS', 'SOJEsbEjW', 'QcWTCkQeg', 'FkOP3tlW4i', 'KwfAFWtVRXOeqEF', 'NVUc4eVpK', '7DrB3zwWVRR', 'ha1RcDgFHS0jS', '5i5NFi3zudr', 'yJ8Vvb69wRRCMU', 'tzgQXVzxS5R6Yzk', 'oUeNX1mAeVlerL'], 'correctAnswer': 'C38GdIsSVcI'}" 126 | }, { 127 | "name" : "schema", 128 | "value" : "{'title': 'DefaultQuestion', 'type': 'object', 'properties': {'id': {'title': 'Id', 'type': 'integer'}, 'question': {'title': 'Question', 'type': 'string'}, 'possibleAnswers': {'title': 'Possibleanswers', 'type': 'array', 'items': {'type': 'string'}}, 'correctAnswer': {'title': 'Correctanswer', 'type': 'string'}}}" 129 | } ], 130 | "stepsCount" : 0, 131 | "hasContent" : true, 132 | "attachmentsCount" : 0, 133 | "shouldDisplayMessage" : false 134 | } ], 135 | "attachments" : [ ], 136 | "parameters" : [ ], 137 | "stepsCount" : 7, 138 | "hasContent" : true, 139 | "attachmentsCount" : 0, 140 | "shouldDisplayMessage" : false 141 | }, 142 | "afterStages" : [ ], 143 | "labels" : [ { 144 | "name" : "feature", 145 | "value" : "Questions" 146 | }, { 147 | "name" : "story", 148 | "value" : "Questions API" 149 | }, { 150 | "name" : "tag", 151 | "value" : "questions" 152 | }, { 153 | "name" : "parentSuite", 154 | "value" : "tests" 155 | }, { 156 | "name" : "suite", 157 | "value" : "test_futurama_questions" 158 | }, { 159 | "name" : "subSuite", 160 | "value" : "TestQuestions" 161 | }, { 162 | "name" : "host", 163 | "value" : "LAPTOP-VDKHCJMI" 164 | }, { 165 | "name" : "thread", 166 | "value" : "27528-MainThread" 167 | }, { 168 | "name" : "framework", 169 | "value" : "pytest" 170 | }, { 171 | "name" : "language", 172 | "value" : "cpython3" 173 | }, { 174 | "name" : "package", 175 | "value" : "tests.test_futurama_questions" 176 | }, { 177 | "name" : "resultFormat", 178 | "value" : "allure2" 179 | } ], 180 | "parameters" : [ ], 181 | "links" : [ ], 182 | "hidden" : true, 183 | "retry" : true, 184 | "extra" : { 185 | "categories" : [ ], 186 | "tags" : [ "questions" ] 187 | }, 188 | "source" : "46e8040145e6e564.json", 189 | "parameterValues" : [ ] 190 | } -------------------------------------------------------------------------------- /docs/data/test-cases/4dee64acc1735fa6.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "4dee64acc1735fa6", 3 | "name" : "Create question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_create_question", 5 | "historyId" : "52b40a7afa47d7d6aef873594efdacd7", 6 | "time" : { 7 | "start" : 1673031315504, 8 | "stop" : 1673031315863, 9 | "duration" : 359 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ ], 15 | "testStage" : { 16 | "status" : "passed", 17 | "steps" : [ { 18 | "name" : "Creating question", 19 | "time" : { 20 | "start" : 1673031315504, 21 | "stop" : 1673031315861, 22 | "duration" : 357 23 | }, 24 | "status" : "passed", 25 | "steps" : [ { 26 | "name" : "Making POST request to \"/questions\"", 27 | "time" : { 28 | "start" : 1673031315504, 29 | "stop" : 1673031315861, 30 | "duration" : 357 31 | }, 32 | "status" : "passed", 33 | "steps" : [ ], 34 | "attachments" : [ ], 35 | "parameters" : [ ], 36 | "stepsCount" : 0, 37 | "hasContent" : false, 38 | "attachmentsCount" : 0, 39 | "shouldDisplayMessage" : false 40 | } ], 41 | "attachments" : [ ], 42 | "parameters" : [ { 43 | "name" : "payload", 44 | "value" : "DefaultQuestion(id=554, question='vlXUtnll0f', possible_answers=['FNsPMKqyPwKT1', '43eCOey0LW2', 'LZpr9pDztzucxgF', 'ANvwOjY7c', 'sMH2MEuUlHH7', 'ODR6raHf2XBx', 'AC13zJxzroC3Q', '0w3OZqACj', '0oIKc5g2GIfRbHm', 'divOiwmC0U7svq', 'AQiH3H4MIS', 'SdZw0h8oR', 'dPLzwFoLLAN0m', 'QrovHshKjj', 'WyM0Zo0KY6'], correct_answer='qF2EwIon444m')" 45 | }, { 46 | "name" : "auth", 47 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 48 | } ], 49 | "stepsCount" : 1, 50 | "hasContent" : true, 51 | "attachmentsCount" : 0, 52 | "shouldDisplayMessage" : false 53 | }, { 54 | "name" : "Checking that \"None\" equals to \"554\"", 55 | "time" : { 56 | "start" : 1673031315861, 57 | "stop" : 1673031315861, 58 | "duration" : 0 59 | }, 60 | "status" : "passed", 61 | "steps" : [ ], 62 | "attachments" : [ ], 63 | "parameters" : [ ], 64 | "stepsCount" : 0, 65 | "hasContent" : false, 66 | "attachmentsCount" : 0, 67 | "shouldDisplayMessage" : false 68 | }, { 69 | "name" : "Checking that \"None\" equals to \"vlXUtnll0f\"", 70 | "time" : { 71 | "start" : 1673031315861, 72 | "stop" : 1673031315861, 73 | "duration" : 0 74 | }, 75 | "status" : "passed", 76 | "steps" : [ ], 77 | "attachments" : [ ], 78 | "parameters" : [ ], 79 | "stepsCount" : 0, 80 | "hasContent" : false, 81 | "attachmentsCount" : 0, 82 | "shouldDisplayMessage" : false 83 | }, { 84 | "name" : "Checking that \"None\" equals to \"['FNsPMKqyPwKT1', '43eCOey0LW2', 'LZpr9pDztzucxgF', 'ANvwOjY7c', 'sMH2MEuUlHH7', 'ODR6raHf2XBx', 'AC13zJxzroC3Q', '0w3OZqACj', '0oIKc5g2GIfRbHm', 'divOiwmC0U7svq', 'AQiH3H4MIS', 'SdZw0h8oR', 'dPLzwFoLLAN0m', 'QrovHshKjj', 'WyM0Zo0KY6']\"", 85 | "time" : { 86 | "start" : 1673031315861, 87 | "stop" : 1673031315861, 88 | "duration" : 0 89 | }, 90 | "status" : "passed", 91 | "steps" : [ ], 92 | "attachments" : [ ], 93 | "parameters" : [ ], 94 | "stepsCount" : 0, 95 | "hasContent" : false, 96 | "attachmentsCount" : 0, 97 | "shouldDisplayMessage" : false 98 | }, { 99 | "name" : "Checking that \"None\" equals to \"qF2EwIon444m\"", 100 | "time" : { 101 | "start" : 1673031315861, 102 | "stop" : 1673031315861, 103 | "duration" : 0 104 | }, 105 | "status" : "passed", 106 | "steps" : [ ], 107 | "attachments" : [ ], 108 | "parameters" : [ ], 109 | "stepsCount" : 0, 110 | "hasContent" : false, 111 | "attachmentsCount" : 0, 112 | "shouldDisplayMessage" : false 113 | }, { 114 | "name" : "Validating schema for instance", 115 | "time" : { 116 | "start" : 1673031315861, 117 | "stop" : 1673031315863, 118 | "duration" : 2 119 | }, 120 | "status" : "passed", 121 | "steps" : [ ], 122 | "attachments" : [ ], 123 | "parameters" : [ ], 124 | "stepsCount" : 0, 125 | "hasContent" : false, 126 | "attachmentsCount" : 0, 127 | "shouldDisplayMessage" : false 128 | } ], 129 | "attachments" : [ ], 130 | "parameters" : [ ], 131 | "stepsCount" : 7, 132 | "hasContent" : true, 133 | "attachmentsCount" : 0, 134 | "shouldDisplayMessage" : false 135 | }, 136 | "afterStages" : [ ], 137 | "labels" : [ { 138 | "name" : "story", 139 | "value" : "Questions API" 140 | }, { 141 | "name" : "feature", 142 | "value" : "Questions" 143 | }, { 144 | "name" : "tag", 145 | "value" : "questions" 146 | }, { 147 | "name" : "parentSuite", 148 | "value" : "tests" 149 | }, { 150 | "name" : "suite", 151 | "value" : "test_futurama_questions" 152 | }, { 153 | "name" : "subSuite", 154 | "value" : "TestQuestions" 155 | }, { 156 | "name" : "host", 157 | "value" : "LAPTOP-VDKHCJMI" 158 | }, { 159 | "name" : "thread", 160 | "value" : "3260-MainThread" 161 | }, { 162 | "name" : "framework", 163 | "value" : "pytest" 164 | }, { 165 | "name" : "language", 166 | "value" : "cpython3" 167 | }, { 168 | "name" : "package", 169 | "value" : "tests.test_futurama_questions" 170 | }, { 171 | "name" : "resultFormat", 172 | "value" : "allure2" 173 | } ], 174 | "parameters" : [ ], 175 | "links" : [ ], 176 | "hidden" : true, 177 | "retry" : true, 178 | "extra" : { 179 | "categories" : [ ], 180 | "tags" : [ "questions" ] 181 | }, 182 | "source" : "4dee64acc1735fa6.json", 183 | "parameterValues" : [ ] 184 | } -------------------------------------------------------------------------------- /docs/data/test-cases/52895b4eafff92d9.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "52895b4eafff92d9", 3 | "name" : "Create question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_create_question", 5 | "historyId" : "52b40a7afa47d7d6aef873594efdacd7", 6 | "time" : { 7 | "start" : 1673032250851, 8 | "stop" : 1673032251161, 9 | "duration" : 310 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ ], 15 | "testStage" : { 16 | "status" : "passed", 17 | "steps" : [ { 18 | "name" : "Creating question", 19 | "time" : { 20 | "start" : 1673032250851, 21 | "stop" : 1673032251161, 22 | "duration" : 310 23 | }, 24 | "status" : "passed", 25 | "steps" : [ { 26 | "name" : "Making POST request to \"'/questions'\"", 27 | "time" : { 28 | "start" : 1673032250852, 29 | "stop" : 1673032251161, 30 | "duration" : 309 31 | }, 32 | "status" : "passed", 33 | "steps" : [ ], 34 | "attachments" : [ ], 35 | "parameters" : [ { 36 | "name" : "url", 37 | "value" : "'/questions'" 38 | }, { 39 | "name" : "json", 40 | "value" : "{'id': 787, 'question': 'Ggdo9NREz54tFD', 'possibleAnswers': ['c3S6XgOnvcfp', '1y4qLQ7LmGh7yZ', 'Bet6NXeer', 'ZEwEJ3wm4Hfp0rN', '86A5BKuYJp', 'CPLLDExVtLpsSG', 'C86hXloXt', '7TF7MJkmE1EZA', 'Wa2JYibj1ERQ', 'SsXjeTqdNyy9Vn', 'P964Cg9fdyRWFhG', 'X76j2EgbPI', 'XIOgev4xKDEwMa', 'itEfU5ExKW'], 'correctAnswer': 'GYrf0G2r6ZGCmZ7'}" 41 | } ], 42 | "stepsCount" : 0, 43 | "hasContent" : true, 44 | "attachmentsCount" : 0, 45 | "shouldDisplayMessage" : false 46 | } ], 47 | "attachments" : [ ], 48 | "parameters" : [ { 49 | "name" : "payload", 50 | "value" : "DefaultQuestion(id=787, question='Ggdo9NREz54tFD', possible_answers=['c3S6XgOnvcfp', '1y4qLQ7LmGh7yZ', 'Bet6NXeer', 'ZEwEJ3wm4Hfp0rN', '86A5BKuYJp', 'CPLLDExVtLpsSG', 'C86hXloXt', '7TF7MJkmE1EZA', 'Wa2JYibj1ERQ', 'SsXjeTqdNyy9Vn', 'P964Cg9fdyRWFhG', 'X76j2EgbPI', 'XIOgev4xKDEwMa', 'itEfU5ExKW'], correct_answer='GYrf0G2r6ZGCmZ7')" 51 | }, { 52 | "name" : "auth", 53 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 54 | } ], 55 | "stepsCount" : 1, 56 | "hasContent" : true, 57 | "attachmentsCount" : 0, 58 | "shouldDisplayMessage" : false 59 | }, { 60 | "name" : "Checking that \"None\" equals to \"201\"", 61 | "time" : { 62 | "start" : 1673032251161, 63 | "stop" : 1673032251161, 64 | "duration" : 0 65 | }, 66 | "status" : "passed", 67 | "steps" : [ ], 68 | "attachments" : [ ], 69 | "parameters" : [ ], 70 | "stepsCount" : 0, 71 | "hasContent" : false, 72 | "attachmentsCount" : 0, 73 | "shouldDisplayMessage" : false 74 | }, { 75 | "name" : "Checking that \"Question \"id\"\" equals to \"787\"", 76 | "time" : { 77 | "start" : 1673032251161, 78 | "stop" : 1673032251161, 79 | "duration" : 0 80 | }, 81 | "status" : "passed", 82 | "steps" : [ ], 83 | "attachments" : [ ], 84 | "parameters" : [ ], 85 | "stepsCount" : 0, 86 | "hasContent" : false, 87 | "attachmentsCount" : 0, 88 | "shouldDisplayMessage" : false 89 | }, { 90 | "name" : "Checking that \"Question \"question\"\" equals to \"Ggdo9NREz54tFD\"", 91 | "time" : { 92 | "start" : 1673032251161, 93 | "stop" : 1673032251161, 94 | "duration" : 0 95 | }, 96 | "status" : "passed", 97 | "steps" : [ ], 98 | "attachments" : [ ], 99 | "parameters" : [ ], 100 | "stepsCount" : 0, 101 | "hasContent" : false, 102 | "attachmentsCount" : 0, 103 | "shouldDisplayMessage" : false 104 | }, { 105 | "name" : "Checking that \"Question \"possibleAnswers\"\" equals to \"['c3S6XgOnvcfp', '1y4qLQ7LmGh7yZ', 'Bet6NXeer', 'ZEwEJ3wm4Hfp0rN', '86A5BKuYJp', 'CPLLDExVtLpsSG', 'C86hXloXt', '7TF7MJkmE1EZA', 'Wa2JYibj1ERQ', 'SsXjeTqdNyy9Vn', 'P964Cg9fdyRWFhG', 'X76j2EgbPI', 'XIOgev4xKDEwMa', 'itEfU5ExKW']\"", 106 | "time" : { 107 | "start" : 1673032251161, 108 | "stop" : 1673032251161, 109 | "duration" : 0 110 | }, 111 | "status" : "passed", 112 | "steps" : [ ], 113 | "attachments" : [ ], 114 | "parameters" : [ ], 115 | "stepsCount" : 0, 116 | "hasContent" : false, 117 | "attachmentsCount" : 0, 118 | "shouldDisplayMessage" : false 119 | }, { 120 | "name" : "Checking that \"Question \"correctAnswer\"\" equals to \"GYrf0G2r6ZGCmZ7\"", 121 | "time" : { 122 | "start" : 1673032251161, 123 | "stop" : 1673032251161, 124 | "duration" : 0 125 | }, 126 | "status" : "passed", 127 | "steps" : [ ], 128 | "attachments" : [ ], 129 | "parameters" : [ ], 130 | "stepsCount" : 0, 131 | "hasContent" : false, 132 | "attachmentsCount" : 0, 133 | "shouldDisplayMessage" : false 134 | }, { 135 | "name" : "Validating schema", 136 | "time" : { 137 | "start" : 1673032251161, 138 | "stop" : 1673032251161, 139 | "duration" : 0 140 | }, 141 | "status" : "passed", 142 | "steps" : [ ], 143 | "attachments" : [ ], 144 | "parameters" : [ { 145 | "name" : "instance", 146 | "value" : "{'id': 787, 'question': 'Ggdo9NREz54tFD', 'possibleAnswers': ['c3S6XgOnvcfp', '1y4qLQ7LmGh7yZ', 'Bet6NXeer', 'ZEwEJ3wm4Hfp0rN', '86A5BKuYJp', 'CPLLDExVtLpsSG', 'C86hXloXt', '7TF7MJkmE1EZA', 'Wa2JYibj1ERQ', 'SsXjeTqdNyy9Vn', 'P964Cg9fdyRWFhG', 'X76j2EgbPI', 'XIOgev4xKDEwMa', 'itEfU5ExKW'], 'correctAnswer': 'GYrf0G2r6ZGCmZ7'}" 147 | }, { 148 | "name" : "schema", 149 | "value" : "{'title': 'DefaultQuestion', 'type': 'object', 'properties': {'id': {'title': 'Id', 'type': 'integer'}, 'question': {'title': 'Question', 'type': 'string'}, 'possibleAnswers': {'title': 'Possibleanswers', 'type': 'array', 'items': {'type': 'string'}}, 'correctAnswer': {'title': 'Correctanswer', 'type': 'string'}}}" 150 | } ], 151 | "stepsCount" : 0, 152 | "hasContent" : true, 153 | "attachmentsCount" : 0, 154 | "shouldDisplayMessage" : false 155 | } ], 156 | "attachments" : [ ], 157 | "parameters" : [ ], 158 | "stepsCount" : 8, 159 | "hasContent" : true, 160 | "attachmentsCount" : 0, 161 | "shouldDisplayMessage" : false 162 | }, 163 | "afterStages" : [ ], 164 | "labels" : [ { 165 | "name" : "story", 166 | "value" : "Questions API" 167 | }, { 168 | "name" : "feature", 169 | "value" : "Questions" 170 | }, { 171 | "name" : "tag", 172 | "value" : "questions" 173 | }, { 174 | "name" : "parentSuite", 175 | "value" : "tests" 176 | }, { 177 | "name" : "suite", 178 | "value" : "test_futurama_questions" 179 | }, { 180 | "name" : "subSuite", 181 | "value" : "TestQuestions" 182 | }, { 183 | "name" : "host", 184 | "value" : "LAPTOP-VDKHCJMI" 185 | }, { 186 | "name" : "thread", 187 | "value" : "19584-MainThread" 188 | }, { 189 | "name" : "framework", 190 | "value" : "pytest" 191 | }, { 192 | "name" : "language", 193 | "value" : "cpython3" 194 | }, { 195 | "name" : "package", 196 | "value" : "tests.test_futurama_questions" 197 | }, { 198 | "name" : "resultFormat", 199 | "value" : "allure2" 200 | } ], 201 | "parameters" : [ ], 202 | "links" : [ ], 203 | "hidden" : true, 204 | "retry" : true, 205 | "extra" : { 206 | "categories" : [ ], 207 | "tags" : [ "questions" ] 208 | }, 209 | "source" : "52895b4eafff92d9.json", 210 | "parameterValues" : [ ] 211 | } -------------------------------------------------------------------------------- /docs/data/test-cases/5aef70266a2c0dac.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "5aef70266a2c0dac", 3 | "name" : "Get questions", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_get_questions", 5 | "historyId" : "af6ee829867beaceece74dfb0f38024c", 6 | "time" : { 7 | "start" : 1673031314735, 8 | "stop" : 1673031315501, 9 | "duration" : 766 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ ], 15 | "testStage" : { 16 | "status" : "passed", 17 | "steps" : [ { 18 | "name" : "Getting all questions", 19 | "time" : { 20 | "start" : 1673031314735, 21 | "stop" : 1673031315493, 22 | "duration" : 758 23 | }, 24 | "status" : "passed", 25 | "steps" : [ { 26 | "name" : "Making GET request to \"/questions\"", 27 | "time" : { 28 | "start" : 1673031314736, 29 | "stop" : 1673031315493, 30 | "duration" : 757 31 | }, 32 | "status" : "passed", 33 | "steps" : [ ], 34 | "attachments" : [ ], 35 | "parameters" : [ ], 36 | "stepsCount" : 0, 37 | "hasContent" : false, 38 | "attachmentsCount" : 0, 39 | "shouldDisplayMessage" : false 40 | } ], 41 | "attachments" : [ ], 42 | "parameters" : [ { 43 | "name" : "auth", 44 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 45 | } ], 46 | "stepsCount" : 1, 47 | "hasContent" : true, 48 | "attachmentsCount" : 0, 49 | "shouldDisplayMessage" : false 50 | }, { 51 | "name" : "Validating schema for instance", 52 | "time" : { 53 | "start" : 1673031315493, 54 | "stop" : 1673031315501, 55 | "duration" : 8 56 | }, 57 | "status" : "passed", 58 | "steps" : [ ], 59 | "attachments" : [ ], 60 | "parameters" : [ ], 61 | "stepsCount" : 0, 62 | "hasContent" : false, 63 | "attachmentsCount" : 0, 64 | "shouldDisplayMessage" : false 65 | } ], 66 | "attachments" : [ ], 67 | "parameters" : [ ], 68 | "stepsCount" : 3, 69 | "hasContent" : true, 70 | "attachmentsCount" : 0, 71 | "shouldDisplayMessage" : false 72 | }, 73 | "afterStages" : [ ], 74 | "labels" : [ { 75 | "name" : "story", 76 | "value" : "Questions API" 77 | }, { 78 | "name" : "feature", 79 | "value" : "Questions" 80 | }, { 81 | "name" : "tag", 82 | "value" : "questions" 83 | }, { 84 | "name" : "parentSuite", 85 | "value" : "tests" 86 | }, { 87 | "name" : "suite", 88 | "value" : "test_futurama_questions" 89 | }, { 90 | "name" : "subSuite", 91 | "value" : "TestQuestions" 92 | }, { 93 | "name" : "host", 94 | "value" : "LAPTOP-VDKHCJMI" 95 | }, { 96 | "name" : "thread", 97 | "value" : "3260-MainThread" 98 | }, { 99 | "name" : "framework", 100 | "value" : "pytest" 101 | }, { 102 | "name" : "language", 103 | "value" : "cpython3" 104 | }, { 105 | "name" : "package", 106 | "value" : "tests.test_futurama_questions" 107 | }, { 108 | "name" : "resultFormat", 109 | "value" : "allure2" 110 | } ], 111 | "parameters" : [ ], 112 | "links" : [ ], 113 | "hidden" : true, 114 | "retry" : true, 115 | "extra" : { 116 | "categories" : [ ], 117 | "tags" : [ "questions" ] 118 | }, 119 | "source" : "5aef70266a2c0dac.json", 120 | "parameterValues" : [ ] 121 | } -------------------------------------------------------------------------------- /docs/data/test-cases/604bac5ef48b2dd0.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "604bac5ef48b2dd0", 3 | "name" : "Delete question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_delete_question", 5 | "historyId" : "fbd3bb43d87ce6a7ed7b8bfdc667902a", 6 | "time" : { 7 | "start" : 1673031412238, 8 | "stop" : 1673031412581, 9 | "duration" : 343 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ { 15 | "name" : "function_question", 16 | "time" : { 17 | "start" : 1673031411877, 18 | "stop" : 1673031412238, 19 | "duration" : 361 20 | }, 21 | "status" : "passed", 22 | "steps" : [ { 23 | "name" : "Creating question", 24 | "time" : { 25 | "start" : 1673031411877, 26 | "stop" : 1673031412238, 27 | "duration" : 361 28 | }, 29 | "status" : "passed", 30 | "steps" : [ { 31 | "name" : "Making POST request to \"/questions\"", 32 | "time" : { 33 | "start" : 1673031411889, 34 | "stop" : 1673031412238, 35 | "duration" : 349 36 | }, 37 | "status" : "passed", 38 | "steps" : [ ], 39 | "attachments" : [ ], 40 | "parameters" : [ ], 41 | "stepsCount" : 0, 42 | "hasContent" : false, 43 | "attachmentsCount" : 0, 44 | "shouldDisplayMessage" : false 45 | } ], 46 | "attachments" : [ ], 47 | "parameters" : [ { 48 | "name" : "payload", 49 | "value" : "DefaultQuestion(id=506, question='dVgMkyssmzaU', possible_answers=['aglVtr0PAVzAWrr', 'BBVZyjEUulmS', 'mQV1HxDk1', 'Gymt17W9kzLYAl', '7G5AG2GXfG', 'Rw24QZUMYQLV0v2', 'MeVrEmtJ6Sn4ttW', 'K2Itoadhiuzz', 'HUER2M34y'], correct_answer='FwmVZ4MClWzovx4')" 50 | }, { 51 | "name" : "auth", 52 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 53 | } ], 54 | "stepsCount" : 1, 55 | "hasContent" : true, 56 | "attachmentsCount" : 0, 57 | "shouldDisplayMessage" : false 58 | } ], 59 | "attachments" : [ ], 60 | "parameters" : [ ], 61 | "stepsCount" : 2, 62 | "hasContent" : true, 63 | "attachmentsCount" : 0, 64 | "shouldDisplayMessage" : false 65 | } ], 66 | "testStage" : { 67 | "status" : "passed", 68 | "steps" : [ { 69 | "name" : "Deleting question with id \"506\"", 70 | "time" : { 71 | "start" : 1673031412238, 72 | "stop" : 1673031412408, 73 | "duration" : 170 74 | }, 75 | "status" : "passed", 76 | "steps" : [ { 77 | "name" : "Making DELETE request to \"/questions/506\"", 78 | "time" : { 79 | "start" : 1673031412238, 80 | "stop" : 1673031412408, 81 | "duration" : 170 82 | }, 83 | "status" : "passed", 84 | "steps" : [ ], 85 | "attachments" : [ ], 86 | "parameters" : [ ], 87 | "stepsCount" : 0, 88 | "hasContent" : false, 89 | "attachmentsCount" : 0, 90 | "shouldDisplayMessage" : false 91 | } ], 92 | "attachments" : [ ], 93 | "parameters" : [ { 94 | "name" : "question_id", 95 | "value" : "506" 96 | }, { 97 | "name" : "auth", 98 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 99 | } ], 100 | "stepsCount" : 1, 101 | "hasContent" : true, 102 | "attachmentsCount" : 0, 103 | "shouldDisplayMessage" : false 104 | }, { 105 | "name" : "Getting question with id \"506\"", 106 | "time" : { 107 | "start" : 1673031412408, 108 | "stop" : 1673031412581, 109 | "duration" : 173 110 | }, 111 | "status" : "passed", 112 | "steps" : [ { 113 | "name" : "Making GET request to \"/questions/506\"", 114 | "time" : { 115 | "start" : 1673031412408, 116 | "stop" : 1673031412581, 117 | "duration" : 173 118 | }, 119 | "status" : "passed", 120 | "steps" : [ ], 121 | "attachments" : [ ], 122 | "parameters" : [ ], 123 | "stepsCount" : 0, 124 | "hasContent" : false, 125 | "attachmentsCount" : 0, 126 | "shouldDisplayMessage" : false 127 | } ], 128 | "attachments" : [ ], 129 | "parameters" : [ { 130 | "name" : "question_id", 131 | "value" : "506" 132 | }, { 133 | "name" : "auth", 134 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 135 | } ], 136 | "stepsCount" : 1, 137 | "hasContent" : true, 138 | "attachmentsCount" : 0, 139 | "shouldDisplayMessage" : false 140 | } ], 141 | "attachments" : [ ], 142 | "parameters" : [ ], 143 | "stepsCount" : 4, 144 | "hasContent" : true, 145 | "attachmentsCount" : 0, 146 | "shouldDisplayMessage" : false 147 | }, 148 | "afterStages" : [ { 149 | "name" : "function_question::0", 150 | "time" : { 151 | "start" : 1673031412581, 152 | "stop" : 1673031412757, 153 | "duration" : 176 154 | }, 155 | "status" : "passed", 156 | "steps" : [ { 157 | "name" : "Deleting question with id \"506\"", 158 | "time" : { 159 | "start" : 1673031412581, 160 | "stop" : 1673031412757, 161 | "duration" : 176 162 | }, 163 | "status" : "passed", 164 | "steps" : [ { 165 | "name" : "Making DELETE request to \"/questions/506\"", 166 | "time" : { 167 | "start" : 1673031412582, 168 | "stop" : 1673031412757, 169 | "duration" : 175 170 | }, 171 | "status" : "passed", 172 | "steps" : [ ], 173 | "attachments" : [ ], 174 | "parameters" : [ ], 175 | "stepsCount" : 0, 176 | "hasContent" : false, 177 | "attachmentsCount" : 0, 178 | "shouldDisplayMessage" : false 179 | } ], 180 | "attachments" : [ ], 181 | "parameters" : [ { 182 | "name" : "question_id", 183 | "value" : "506" 184 | }, { 185 | "name" : "auth", 186 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 187 | } ], 188 | "stepsCount" : 1, 189 | "hasContent" : true, 190 | "attachmentsCount" : 0, 191 | "shouldDisplayMessage" : false 192 | } ], 193 | "attachments" : [ ], 194 | "parameters" : [ ], 195 | "stepsCount" : 2, 196 | "hasContent" : true, 197 | "attachmentsCount" : 0, 198 | "shouldDisplayMessage" : false 199 | } ], 200 | "labels" : [ { 201 | "name" : "feature", 202 | "value" : "Questions" 203 | }, { 204 | "name" : "story", 205 | "value" : "Questions API" 206 | }, { 207 | "name" : "tag", 208 | "value" : "questions" 209 | }, { 210 | "name" : "parentSuite", 211 | "value" : "tests" 212 | }, { 213 | "name" : "suite", 214 | "value" : "test_futurama_questions" 215 | }, { 216 | "name" : "subSuite", 217 | "value" : "TestQuestions" 218 | }, { 219 | "name" : "host", 220 | "value" : "LAPTOP-VDKHCJMI" 221 | }, { 222 | "name" : "thread", 223 | "value" : "12112-MainThread" 224 | }, { 225 | "name" : "framework", 226 | "value" : "pytest" 227 | }, { 228 | "name" : "language", 229 | "value" : "cpython3" 230 | }, { 231 | "name" : "package", 232 | "value" : "tests.test_futurama_questions" 233 | }, { 234 | "name" : "resultFormat", 235 | "value" : "allure2" 236 | } ], 237 | "parameters" : [ ], 238 | "links" : [ ], 239 | "hidden" : true, 240 | "retry" : true, 241 | "extra" : { 242 | "categories" : [ ], 243 | "tags" : [ "questions" ] 244 | }, 245 | "source" : "604bac5ef48b2dd0.json", 246 | "parameterValues" : [ ] 247 | } -------------------------------------------------------------------------------- /docs/data/test-cases/84d4da2220add81a.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "84d4da2220add81a", 3 | "name" : "Delete question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_delete_question", 5 | "historyId" : "fbd3bb43d87ce6a7ed7b8bfdc667902a", 6 | "time" : { 7 | "start" : 1673031593257, 8 | "stop" : 1673031593615, 9 | "duration" : 358 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ { 15 | "name" : "function_question", 16 | "time" : { 17 | "start" : 1673031592877, 18 | "stop" : 1673031593257, 19 | "duration" : 380 20 | }, 21 | "status" : "passed", 22 | "steps" : [ { 23 | "name" : "Creating question", 24 | "time" : { 25 | "start" : 1673031592878, 26 | "stop" : 1673031593257, 27 | "duration" : 379 28 | }, 29 | "status" : "passed", 30 | "steps" : [ { 31 | "name" : "Making POST request to \"/questions\"", 32 | "time" : { 33 | "start" : 1673031592878, 34 | "stop" : 1673031593257, 35 | "duration" : 379 36 | }, 37 | "status" : "passed", 38 | "steps" : [ ], 39 | "attachments" : [ ], 40 | "parameters" : [ ], 41 | "stepsCount" : 0, 42 | "hasContent" : false, 43 | "attachmentsCount" : 0, 44 | "shouldDisplayMessage" : false 45 | } ], 46 | "attachments" : [ ], 47 | "parameters" : [ { 48 | "name" : "payload", 49 | "value" : "DefaultQuestion(id=438, question='FJUVyxttx', possible_answers=['heJVoH4ee94zzMN', 'cDgt4IYuY', 'k4iZLew7q', 'GyjNx9UPThUfO', '5zLIbJ20FUWWFnP', 'q05yyAQlKUPDgs', 'DZGnghspnrnN3I', 'QVsIVLOzCBCC0', '2FrkyJcGVDXG4', 'vGah5XshXWAOM', 'd5OFO4AMYa0S', '8bx1nEJv7Y'], correct_answer='Xhd0asqwgLR3hO')" 50 | }, { 51 | "name" : "auth", 52 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 53 | } ], 54 | "stepsCount" : 1, 55 | "hasContent" : true, 56 | "attachmentsCount" : 0, 57 | "shouldDisplayMessage" : false 58 | } ], 59 | "attachments" : [ ], 60 | "parameters" : [ ], 61 | "stepsCount" : 2, 62 | "hasContent" : true, 63 | "attachmentsCount" : 0, 64 | "shouldDisplayMessage" : false 65 | } ], 66 | "testStage" : { 67 | "status" : "passed", 68 | "steps" : [ { 69 | "name" : "Deleting question with id \"438\"", 70 | "time" : { 71 | "start" : 1673031593257, 72 | "stop" : 1673031593452, 73 | "duration" : 195 74 | }, 75 | "status" : "passed", 76 | "steps" : [ { 77 | "name" : "Making DELETE request to \"/questions/438\"", 78 | "time" : { 79 | "start" : 1673031593257, 80 | "stop" : 1673031593452, 81 | "duration" : 195 82 | }, 83 | "status" : "passed", 84 | "steps" : [ ], 85 | "attachments" : [ ], 86 | "parameters" : [ ], 87 | "stepsCount" : 0, 88 | "hasContent" : false, 89 | "attachmentsCount" : 0, 90 | "shouldDisplayMessage" : false 91 | } ], 92 | "attachments" : [ ], 93 | "parameters" : [ { 94 | "name" : "question_id", 95 | "value" : "438" 96 | }, { 97 | "name" : "auth", 98 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 99 | } ], 100 | "stepsCount" : 1, 101 | "hasContent" : true, 102 | "attachmentsCount" : 0, 103 | "shouldDisplayMessage" : false 104 | }, { 105 | "name" : "Getting question with id \"438\"", 106 | "time" : { 107 | "start" : 1673031593452, 108 | "stop" : 1673031593615, 109 | "duration" : 163 110 | }, 111 | "status" : "passed", 112 | "steps" : [ { 113 | "name" : "Making GET request to \"/questions/438\"", 114 | "time" : { 115 | "start" : 1673031593452, 116 | "stop" : 1673031593615, 117 | "duration" : 163 118 | }, 119 | "status" : "passed", 120 | "steps" : [ ], 121 | "attachments" : [ ], 122 | "parameters" : [ ], 123 | "stepsCount" : 0, 124 | "hasContent" : false, 125 | "attachmentsCount" : 0, 126 | "shouldDisplayMessage" : false 127 | } ], 128 | "attachments" : [ ], 129 | "parameters" : [ { 130 | "name" : "question_id", 131 | "value" : "438" 132 | }, { 133 | "name" : "auth", 134 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 135 | } ], 136 | "stepsCount" : 1, 137 | "hasContent" : true, 138 | "attachmentsCount" : 0, 139 | "shouldDisplayMessage" : false 140 | } ], 141 | "attachments" : [ ], 142 | "parameters" : [ ], 143 | "stepsCount" : 4, 144 | "hasContent" : true, 145 | "attachmentsCount" : 0, 146 | "shouldDisplayMessage" : false 147 | }, 148 | "afterStages" : [ { 149 | "name" : "function_question::0", 150 | "time" : { 151 | "start" : 1673031593631, 152 | "stop" : 1673031593802, 153 | "duration" : 171 154 | }, 155 | "status" : "passed", 156 | "steps" : [ { 157 | "name" : "Deleting question with id \"438\"", 158 | "time" : { 159 | "start" : 1673031593631, 160 | "stop" : 1673031593802, 161 | "duration" : 171 162 | }, 163 | "status" : "passed", 164 | "steps" : [ { 165 | "name" : "Making DELETE request to \"/questions/438\"", 166 | "time" : { 167 | "start" : 1673031593631, 168 | "stop" : 1673031593802, 169 | "duration" : 171 170 | }, 171 | "status" : "passed", 172 | "steps" : [ ], 173 | "attachments" : [ ], 174 | "parameters" : [ ], 175 | "stepsCount" : 0, 176 | "hasContent" : false, 177 | "attachmentsCount" : 0, 178 | "shouldDisplayMessage" : false 179 | } ], 180 | "attachments" : [ ], 181 | "parameters" : [ { 182 | "name" : "question_id", 183 | "value" : "438" 184 | }, { 185 | "name" : "auth", 186 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 187 | } ], 188 | "stepsCount" : 1, 189 | "hasContent" : true, 190 | "attachmentsCount" : 0, 191 | "shouldDisplayMessage" : false 192 | } ], 193 | "attachments" : [ ], 194 | "parameters" : [ ], 195 | "stepsCount" : 2, 196 | "hasContent" : true, 197 | "attachmentsCount" : 0, 198 | "shouldDisplayMessage" : false 199 | } ], 200 | "labels" : [ { 201 | "name" : "feature", 202 | "value" : "Questions" 203 | }, { 204 | "name" : "story", 205 | "value" : "Questions API" 206 | }, { 207 | "name" : "tag", 208 | "value" : "questions" 209 | }, { 210 | "name" : "parentSuite", 211 | "value" : "tests" 212 | }, { 213 | "name" : "suite", 214 | "value" : "test_futurama_questions" 215 | }, { 216 | "name" : "subSuite", 217 | "value" : "TestQuestions" 218 | }, { 219 | "name" : "host", 220 | "value" : "LAPTOP-VDKHCJMI" 221 | }, { 222 | "name" : "thread", 223 | "value" : "27528-MainThread" 224 | }, { 225 | "name" : "framework", 226 | "value" : "pytest" 227 | }, { 228 | "name" : "language", 229 | "value" : "cpython3" 230 | }, { 231 | "name" : "package", 232 | "value" : "tests.test_futurama_questions" 233 | }, { 234 | "name" : "resultFormat", 235 | "value" : "allure2" 236 | } ], 237 | "parameters" : [ ], 238 | "links" : [ ], 239 | "hidden" : true, 240 | "retry" : true, 241 | "extra" : { 242 | "categories" : [ ], 243 | "tags" : [ "questions" ] 244 | }, 245 | "source" : "84d4da2220add81a.json", 246 | "parameterValues" : [ ] 247 | } -------------------------------------------------------------------------------- /docs/data/test-cases/8c0354ea2e662f2.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "8c0354ea2e662f2", 3 | "name" : "Get question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_get_question", 5 | "historyId" : "a23f81a1084a932685f76341222fe753", 6 | "time" : { 7 | "start" : 1673031410688, 8 | "stop" : 1673031410846, 9 | "duration" : 158 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ { 15 | "name" : "function_question", 16 | "time" : { 17 | "start" : 1673031410325, 18 | "stop" : 1673031410688, 19 | "duration" : 363 20 | }, 21 | "status" : "passed", 22 | "steps" : [ { 23 | "name" : "Creating question", 24 | "time" : { 25 | "start" : 1673031410325, 26 | "stop" : 1673031410687, 27 | "duration" : 362 28 | }, 29 | "status" : "passed", 30 | "steps" : [ { 31 | "name" : "Making POST request to \"/questions\"", 32 | "time" : { 33 | "start" : 1673031410325, 34 | "stop" : 1673031410687, 35 | "duration" : 362 36 | }, 37 | "status" : "passed", 38 | "steps" : [ ], 39 | "attachments" : [ ], 40 | "parameters" : [ ], 41 | "stepsCount" : 0, 42 | "hasContent" : false, 43 | "attachmentsCount" : 0, 44 | "shouldDisplayMessage" : false 45 | } ], 46 | "attachments" : [ ], 47 | "parameters" : [ { 48 | "name" : "payload", 49 | "value" : "DefaultQuestion(id=220, question='ztDRtlAUKf6', possible_answers=['gYQWMN434ykB', 'rG94nnV1ft', '8wOgYSC35jy0P', 'uhf4Y3Xdpcj8', '4H4pMhYNR', 'BZgzrfWeoq1', 'ydM7fXMInvv', 'CB4lRjjAR', 'X7Euenqo2KcXF', 'WVnjy9xEyexAb'], correct_answer='JEkiOgBiMQnGO')" 50 | }, { 51 | "name" : "auth", 52 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 53 | } ], 54 | "stepsCount" : 1, 55 | "hasContent" : true, 56 | "attachmentsCount" : 0, 57 | "shouldDisplayMessage" : false 58 | } ], 59 | "attachments" : [ ], 60 | "parameters" : [ ], 61 | "stepsCount" : 2, 62 | "hasContent" : true, 63 | "attachmentsCount" : 0, 64 | "shouldDisplayMessage" : false 65 | } ], 66 | "testStage" : { 67 | "status" : "passed", 68 | "steps" : [ { 69 | "name" : "Getting question with id \"220\"", 70 | "time" : { 71 | "start" : 1673031410688, 72 | "stop" : 1673031410846, 73 | "duration" : 158 74 | }, 75 | "status" : "passed", 76 | "steps" : [ { 77 | "name" : "Making GET request to \"/questions/220\"", 78 | "time" : { 79 | "start" : 1673031410688, 80 | "stop" : 1673031410846, 81 | "duration" : 158 82 | }, 83 | "status" : "passed", 84 | "steps" : [ ], 85 | "attachments" : [ ], 86 | "parameters" : [ ], 87 | "stepsCount" : 0, 88 | "hasContent" : false, 89 | "attachmentsCount" : 0, 90 | "shouldDisplayMessage" : false 91 | } ], 92 | "attachments" : [ ], 93 | "parameters" : [ { 94 | "name" : "question_id", 95 | "value" : "220" 96 | }, { 97 | "name" : "auth", 98 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 99 | } ], 100 | "stepsCount" : 1, 101 | "hasContent" : true, 102 | "attachmentsCount" : 0, 103 | "shouldDisplayMessage" : false 104 | }, { 105 | "name" : "Checking that \"Question \"id\"\" equals to \"220\"", 106 | "time" : { 107 | "start" : 1673031410846, 108 | "stop" : 1673031410846, 109 | "duration" : 0 110 | }, 111 | "status" : "passed", 112 | "steps" : [ ], 113 | "attachments" : [ ], 114 | "parameters" : [ ], 115 | "stepsCount" : 0, 116 | "hasContent" : false, 117 | "attachmentsCount" : 0, 118 | "shouldDisplayMessage" : false 119 | }, { 120 | "name" : "Checking that \"None\" equals to \"ztDRtlAUKf6\"", 121 | "time" : { 122 | "start" : 1673031410846, 123 | "stop" : 1673031410846, 124 | "duration" : 0 125 | }, 126 | "status" : "passed", 127 | "steps" : [ ], 128 | "attachments" : [ ], 129 | "parameters" : [ ], 130 | "stepsCount" : 0, 131 | "hasContent" : false, 132 | "attachmentsCount" : 0, 133 | "shouldDisplayMessage" : false 134 | }, { 135 | "name" : "Checking that \"None\" equals to \"['gYQWMN434ykB', 'rG94nnV1ft', '8wOgYSC35jy0P', 'uhf4Y3Xdpcj8', '4H4pMhYNR', 'BZgzrfWeoq1', 'ydM7fXMInvv', 'CB4lRjjAR', 'X7Euenqo2KcXF', 'WVnjy9xEyexAb']\"", 136 | "time" : { 137 | "start" : 1673031410846, 138 | "stop" : 1673031410846, 139 | "duration" : 0 140 | }, 141 | "status" : "passed", 142 | "steps" : [ ], 143 | "attachments" : [ ], 144 | "parameters" : [ ], 145 | "stepsCount" : 0, 146 | "hasContent" : false, 147 | "attachmentsCount" : 0, 148 | "shouldDisplayMessage" : false 149 | }, { 150 | "name" : "Checking that \"None\" equals to \"JEkiOgBiMQnGO\"", 151 | "time" : { 152 | "start" : 1673031410846, 153 | "stop" : 1673031410846, 154 | "duration" : 0 155 | }, 156 | "status" : "passed", 157 | "steps" : [ ], 158 | "attachments" : [ ], 159 | "parameters" : [ ], 160 | "stepsCount" : 0, 161 | "hasContent" : false, 162 | "attachmentsCount" : 0, 163 | "shouldDisplayMessage" : false 164 | }, { 165 | "name" : "Validating schema for instance", 166 | "time" : { 167 | "start" : 1673031410846, 168 | "stop" : 1673031410846, 169 | "duration" : 0 170 | }, 171 | "status" : "passed", 172 | "steps" : [ ], 173 | "attachments" : [ ], 174 | "parameters" : [ ], 175 | "stepsCount" : 0, 176 | "hasContent" : false, 177 | "attachmentsCount" : 0, 178 | "shouldDisplayMessage" : false 179 | } ], 180 | "attachments" : [ ], 181 | "parameters" : [ ], 182 | "stepsCount" : 7, 183 | "hasContent" : true, 184 | "attachmentsCount" : 0, 185 | "shouldDisplayMessage" : false 186 | }, 187 | "afterStages" : [ { 188 | "name" : "function_question::0", 189 | "time" : { 190 | "start" : 1673031410846, 191 | "stop" : 1673031411025, 192 | "duration" : 179 193 | }, 194 | "status" : "passed", 195 | "steps" : [ { 196 | "name" : "Deleting question with id \"220\"", 197 | "time" : { 198 | "start" : 1673031410846, 199 | "stop" : 1673031411025, 200 | "duration" : 179 201 | }, 202 | "status" : "passed", 203 | "steps" : [ { 204 | "name" : "Making DELETE request to \"/questions/220\"", 205 | "time" : { 206 | "start" : 1673031410846, 207 | "stop" : 1673031411025, 208 | "duration" : 179 209 | }, 210 | "status" : "passed", 211 | "steps" : [ ], 212 | "attachments" : [ ], 213 | "parameters" : [ ], 214 | "stepsCount" : 0, 215 | "hasContent" : false, 216 | "attachmentsCount" : 0, 217 | "shouldDisplayMessage" : false 218 | } ], 219 | "attachments" : [ ], 220 | "parameters" : [ { 221 | "name" : "question_id", 222 | "value" : "220" 223 | }, { 224 | "name" : "auth", 225 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 226 | } ], 227 | "stepsCount" : 1, 228 | "hasContent" : true, 229 | "attachmentsCount" : 0, 230 | "shouldDisplayMessage" : false 231 | } ], 232 | "attachments" : [ ], 233 | "parameters" : [ ], 234 | "stepsCount" : 2, 235 | "hasContent" : true, 236 | "attachmentsCount" : 0, 237 | "shouldDisplayMessage" : false 238 | } ], 239 | "labels" : [ { 240 | "name" : "feature", 241 | "value" : "Questions" 242 | }, { 243 | "name" : "story", 244 | "value" : "Questions API" 245 | }, { 246 | "name" : "tag", 247 | "value" : "questions" 248 | }, { 249 | "name" : "parentSuite", 250 | "value" : "tests" 251 | }, { 252 | "name" : "suite", 253 | "value" : "test_futurama_questions" 254 | }, { 255 | "name" : "subSuite", 256 | "value" : "TestQuestions" 257 | }, { 258 | "name" : "host", 259 | "value" : "LAPTOP-VDKHCJMI" 260 | }, { 261 | "name" : "thread", 262 | "value" : "12112-MainThread" 263 | }, { 264 | "name" : "framework", 265 | "value" : "pytest" 266 | }, { 267 | "name" : "language", 268 | "value" : "cpython3" 269 | }, { 270 | "name" : "package", 271 | "value" : "tests.test_futurama_questions" 272 | }, { 273 | "name" : "resultFormat", 274 | "value" : "allure2" 275 | } ], 276 | "parameters" : [ ], 277 | "links" : [ ], 278 | "hidden" : true, 279 | "retry" : true, 280 | "extra" : { 281 | "categories" : [ ], 282 | "tags" : [ "questions" ] 283 | }, 284 | "source" : "8c0354ea2e662f2.json", 285 | "parameterValues" : [ ] 286 | } -------------------------------------------------------------------------------- /docs/data/test-cases/a1c38fd761b68663.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "a1c38fd761b68663", 3 | "name" : "Update question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_update_question", 5 | "historyId" : "f4c5c08e36718f2b17a99131abd1ba92", 6 | "time" : { 7 | "start" : 1673031592333, 8 | "stop" : 1673031592690, 9 | "duration" : 357 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ { 15 | "name" : "function_question", 16 | "time" : { 17 | "start" : 1673031591930, 18 | "stop" : 1673031592333, 19 | "duration" : 403 20 | }, 21 | "status" : "passed", 22 | "steps" : [ { 23 | "name" : "Creating question", 24 | "time" : { 25 | "start" : 1673031591932, 26 | "stop" : 1673031592333, 27 | "duration" : 401 28 | }, 29 | "status" : "passed", 30 | "steps" : [ { 31 | "name" : "Making POST request to \"/questions\"", 32 | "time" : { 33 | "start" : 1673031591932, 34 | "stop" : 1673031592333, 35 | "duration" : 401 36 | }, 37 | "status" : "passed", 38 | "steps" : [ ], 39 | "attachments" : [ ], 40 | "parameters" : [ ], 41 | "stepsCount" : 0, 42 | "hasContent" : false, 43 | "attachmentsCount" : 0, 44 | "shouldDisplayMessage" : false 45 | } ], 46 | "attachments" : [ ], 47 | "parameters" : [ { 48 | "name" : "payload", 49 | "value" : "DefaultQuestion(id=678, question='F0Udr2hk5', possible_answers=['hpQuizVUbNam93', 'G6LmJHmnlCz', 'tRPuCz8tmYN', 'lCmuTh7EVFYmQsS', 'xYQggMITdk', '0hL3EKInLtGAuAK', 'zV4ClHAG3bau', 'fkUsDOeDIq0E', 'RGVDMPAP1'], correct_answer='xNlZ91NgQ')" 50 | }, { 51 | "name" : "auth", 52 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 53 | } ], 54 | "stepsCount" : 1, 55 | "hasContent" : true, 56 | "attachmentsCount" : 0, 57 | "shouldDisplayMessage" : false 58 | } ], 59 | "attachments" : [ ], 60 | "parameters" : [ ], 61 | "stepsCount" : 2, 62 | "hasContent" : true, 63 | "attachmentsCount" : 0, 64 | "shouldDisplayMessage" : false 65 | } ], 66 | "testStage" : { 67 | "status" : "passed", 68 | "steps" : [ { 69 | "name" : "Updating question with id \"678\"", 70 | "time" : { 71 | "start" : 1673031592333, 72 | "stop" : 1673031592690, 73 | "duration" : 357 74 | }, 75 | "status" : "passed", 76 | "steps" : [ { 77 | "name" : "Making PATCH request to \"/questions/678\"", 78 | "time" : { 79 | "start" : 1673031592333, 80 | "stop" : 1673031592690, 81 | "duration" : 357 82 | }, 83 | "status" : "passed", 84 | "steps" : [ ], 85 | "attachments" : [ ], 86 | "parameters" : [ ], 87 | "stepsCount" : 0, 88 | "hasContent" : false, 89 | "attachmentsCount" : 0, 90 | "shouldDisplayMessage" : false 91 | } ], 92 | "attachments" : [ ], 93 | "parameters" : [ { 94 | "name" : "question_id", 95 | "value" : "678" 96 | }, { 97 | "name" : "payload", 98 | "value" : "UpdateQuestion(question='XyMtVtMmuWC', possible_answers=['I5Lj4AhphIpN7', 'w5Ir1JtwOlFv', '4hGOOxByOkSyro', 'vZQ9ntNTiQIM', 'r3cwcX9HLJ', 'tpG1Csp6OS4Gaw', 'O7tcWePrBBf', 'Nvh7auI1ezov9xL', 'fBKwYgOL8gSCrl', '95aq718eDvDMgk', 'hmmkD7hzWy', 'adANwKaj9pbk'], correct_answer='TxF6KSOFdeCka')" 99 | }, { 100 | "name" : "auth", 101 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 102 | } ], 103 | "stepsCount" : 1, 104 | "hasContent" : true, 105 | "attachmentsCount" : 0, 106 | "shouldDisplayMessage" : false 107 | }, { 108 | "name" : "Checking that \"Question \"question\"\" equals to \"XyMtVtMmuWC\"", 109 | "time" : { 110 | "start" : 1673031592690, 111 | "stop" : 1673031592690, 112 | "duration" : 0 113 | }, 114 | "status" : "passed", 115 | "steps" : [ ], 116 | "attachments" : [ ], 117 | "parameters" : [ ], 118 | "stepsCount" : 0, 119 | "hasContent" : false, 120 | "attachmentsCount" : 0, 121 | "shouldDisplayMessage" : false 122 | }, { 123 | "name" : "Checking that \"Question \"possibleAnswers\"\" equals to \"['I5Lj4AhphIpN7', 'w5Ir1JtwOlFv', '4hGOOxByOkSyro', 'vZQ9ntNTiQIM', 'r3cwcX9HLJ', 'tpG1Csp6OS4Gaw', 'O7tcWePrBBf', 'Nvh7auI1ezov9xL', 'fBKwYgOL8gSCrl', '95aq718eDvDMgk', 'hmmkD7hzWy', 'adANwKaj9pbk']\"", 124 | "time" : { 125 | "start" : 1673031592690, 126 | "stop" : 1673031592690, 127 | "duration" : 0 128 | }, 129 | "status" : "passed", 130 | "steps" : [ ], 131 | "attachments" : [ ], 132 | "parameters" : [ ], 133 | "stepsCount" : 0, 134 | "hasContent" : false, 135 | "attachmentsCount" : 0, 136 | "shouldDisplayMessage" : false 137 | }, { 138 | "name" : "Checking that \"Question \"correctAnswer\"\" equals to \"TxF6KSOFdeCka\"", 139 | "time" : { 140 | "start" : 1673031592690, 141 | "stop" : 1673031592690, 142 | "duration" : 0 143 | }, 144 | "status" : "passed", 145 | "steps" : [ ], 146 | "attachments" : [ ], 147 | "parameters" : [ ], 148 | "stepsCount" : 0, 149 | "hasContent" : false, 150 | "attachmentsCount" : 0, 151 | "shouldDisplayMessage" : false 152 | }, { 153 | "name" : "Validating schema", 154 | "time" : { 155 | "start" : 1673031592690, 156 | "stop" : 1673031592690, 157 | "duration" : 0 158 | }, 159 | "status" : "passed", 160 | "steps" : [ ], 161 | "attachments" : [ ], 162 | "parameters" : [ { 163 | "name" : "instance", 164 | "value" : "{'id': 678, 'question': 'XyMtVtMmuWC', 'possibleAnswers': ['I5Lj4AhphIpN7', 'w5Ir1JtwOlFv', '4hGOOxByOkSyro', 'vZQ9ntNTiQIM', 'r3cwcX9HLJ', 'tpG1Csp6OS4Gaw', 'O7tcWePrBBf', 'Nvh7auI1ezov9xL', 'fBKwYgOL8gSCrl', '95aq718eDvDMgk', 'hmmkD7hzWy', 'adANwKaj9pbk'], 'correctAnswer': 'TxF6KSOFdeCka'}" 165 | }, { 166 | "name" : "schema", 167 | "value" : "{'title': 'DefaultQuestion', 'type': 'object', 'properties': {'id': {'title': 'Id', 'type': 'integer'}, 'question': {'title': 'Question', 'type': 'string'}, 'possibleAnswers': {'title': 'Possibleanswers', 'type': 'array', 'items': {'type': 'string'}}, 'correctAnswer': {'title': 'Correctanswer', 'type': 'string'}}}" 168 | } ], 169 | "stepsCount" : 0, 170 | "hasContent" : true, 171 | "attachmentsCount" : 0, 172 | "shouldDisplayMessage" : false 173 | } ], 174 | "attachments" : [ ], 175 | "parameters" : [ ], 176 | "stepsCount" : 6, 177 | "hasContent" : true, 178 | "attachmentsCount" : 0, 179 | "shouldDisplayMessage" : false 180 | }, 181 | "afterStages" : [ { 182 | "name" : "function_question::0", 183 | "time" : { 184 | "start" : 1673031592690, 185 | "stop" : 1673031592867, 186 | "duration" : 177 187 | }, 188 | "status" : "passed", 189 | "steps" : [ { 190 | "name" : "Deleting question with id \"678\"", 191 | "time" : { 192 | "start" : 1673031592690, 193 | "stop" : 1673031592867, 194 | "duration" : 177 195 | }, 196 | "status" : "passed", 197 | "steps" : [ { 198 | "name" : "Making DELETE request to \"/questions/678\"", 199 | "time" : { 200 | "start" : 1673031592690, 201 | "stop" : 1673031592867, 202 | "duration" : 177 203 | }, 204 | "status" : "passed", 205 | "steps" : [ ], 206 | "attachments" : [ ], 207 | "parameters" : [ ], 208 | "stepsCount" : 0, 209 | "hasContent" : false, 210 | "attachmentsCount" : 0, 211 | "shouldDisplayMessage" : false 212 | } ], 213 | "attachments" : [ ], 214 | "parameters" : [ { 215 | "name" : "question_id", 216 | "value" : "678" 217 | }, { 218 | "name" : "auth", 219 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 220 | } ], 221 | "stepsCount" : 1, 222 | "hasContent" : true, 223 | "attachmentsCount" : 0, 224 | "shouldDisplayMessage" : false 225 | } ], 226 | "attachments" : [ ], 227 | "parameters" : [ ], 228 | "stepsCount" : 2, 229 | "hasContent" : true, 230 | "attachmentsCount" : 0, 231 | "shouldDisplayMessage" : false 232 | } ], 233 | "labels" : [ { 234 | "name" : "feature", 235 | "value" : "Questions" 236 | }, { 237 | "name" : "story", 238 | "value" : "Questions API" 239 | }, { 240 | "name" : "tag", 241 | "value" : "questions" 242 | }, { 243 | "name" : "parentSuite", 244 | "value" : "tests" 245 | }, { 246 | "name" : "suite", 247 | "value" : "test_futurama_questions" 248 | }, { 249 | "name" : "subSuite", 250 | "value" : "TestQuestions" 251 | }, { 252 | "name" : "host", 253 | "value" : "LAPTOP-VDKHCJMI" 254 | }, { 255 | "name" : "thread", 256 | "value" : "27528-MainThread" 257 | }, { 258 | "name" : "framework", 259 | "value" : "pytest" 260 | }, { 261 | "name" : "language", 262 | "value" : "cpython3" 263 | }, { 264 | "name" : "package", 265 | "value" : "tests.test_futurama_questions" 266 | }, { 267 | "name" : "resultFormat", 268 | "value" : "allure2" 269 | } ], 270 | "parameters" : [ ], 271 | "links" : [ ], 272 | "hidden" : true, 273 | "retry" : true, 274 | "extra" : { 275 | "categories" : [ ], 276 | "tags" : [ "questions" ] 277 | }, 278 | "source" : "a1c38fd761b68663.json", 279 | "parameterValues" : [ ] 280 | } -------------------------------------------------------------------------------- /docs/data/test-cases/a9b11d77f00b1bd3.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "a9b11d77f00b1bd3", 3 | "name" : "Update question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_update_question", 5 | "historyId" : "f4c5c08e36718f2b17a99131abd1ba92", 6 | "time" : { 7 | "start" : 1673031411395, 8 | "stop" : 1673031411717, 9 | "duration" : 322 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ { 15 | "name" : "function_question", 16 | "time" : { 17 | "start" : 1673031411025, 18 | "stop" : 1673031411394, 19 | "duration" : 369 20 | }, 21 | "status" : "passed", 22 | "steps" : [ { 23 | "name" : "Creating question", 24 | "time" : { 25 | "start" : 1673031411032, 26 | "stop" : 1673031411394, 27 | "duration" : 362 28 | }, 29 | "status" : "passed", 30 | "steps" : [ { 31 | "name" : "Making POST request to \"/questions\"", 32 | "time" : { 33 | "start" : 1673031411032, 34 | "stop" : 1673031411394, 35 | "duration" : 362 36 | }, 37 | "status" : "passed", 38 | "steps" : [ ], 39 | "attachments" : [ ], 40 | "parameters" : [ ], 41 | "stepsCount" : 0, 42 | "hasContent" : false, 43 | "attachmentsCount" : 0, 44 | "shouldDisplayMessage" : false 45 | } ], 46 | "attachments" : [ ], 47 | "parameters" : [ { 48 | "name" : "payload", 49 | "value" : "DefaultQuestion(id=813, question='O8gyTxinRCk', possible_answers=['P3FESQfcehC', 'zViy6p4av', 'N9YUF97F0p', 'VOAU6D8i9Y2', 'w3lIIGIS8', 'dbmji4z9dGyk', 'jJBss3cw2', 'f3AUJFT2I2CdbBx', 'Dh0L7QkADeZo0', 'x8OI4o0aB'], correct_answer='g3isjfppFmN')" 50 | }, { 51 | "name" : "auth", 52 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 53 | } ], 54 | "stepsCount" : 1, 55 | "hasContent" : true, 56 | "attachmentsCount" : 0, 57 | "shouldDisplayMessage" : false 58 | } ], 59 | "attachments" : [ ], 60 | "parameters" : [ ], 61 | "stepsCount" : 2, 62 | "hasContent" : true, 63 | "attachmentsCount" : 0, 64 | "shouldDisplayMessage" : false 65 | } ], 66 | "testStage" : { 67 | "status" : "passed", 68 | "steps" : [ { 69 | "name" : "Updating question with id \"813\"", 70 | "time" : { 71 | "start" : 1673031411395, 72 | "stop" : 1673031411715, 73 | "duration" : 320 74 | }, 75 | "status" : "passed", 76 | "steps" : [ { 77 | "name" : "Making PATCH request to \"/questions/813\"", 78 | "time" : { 79 | "start" : 1673031411395, 80 | "stop" : 1673031411715, 81 | "duration" : 320 82 | }, 83 | "status" : "passed", 84 | "steps" : [ ], 85 | "attachments" : [ ], 86 | "parameters" : [ ], 87 | "stepsCount" : 0, 88 | "hasContent" : false, 89 | "attachmentsCount" : 0, 90 | "shouldDisplayMessage" : false 91 | } ], 92 | "attachments" : [ ], 93 | "parameters" : [ { 94 | "name" : "question_id", 95 | "value" : "813" 96 | }, { 97 | "name" : "payload", 98 | "value" : "UpdateQuestion(question='RymfTtkvoTUP5', possible_answers=['oei6Kj7ZCLmi', 'islcK97MRya2TR', 'VPbqUg4TI87wi', '2v7OYgkKw7VpxTB', '0BAysLuEBIZ', 'WuwcLYicNlY', 'O2K29s6nhbrpK', 'SYmi5SpWpJ5', 'bYc89MY5wN', 'xm5uQibQCco7I'], correct_answer='CDZguazesfOA')" 99 | }, { 100 | "name" : "auth", 101 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 102 | } ], 103 | "stepsCount" : 1, 104 | "hasContent" : true, 105 | "attachmentsCount" : 0, 106 | "shouldDisplayMessage" : false 107 | }, { 108 | "name" : "Checking that \"None\" equals to \"RymfTtkvoTUP5\"", 109 | "time" : { 110 | "start" : 1673031411715, 111 | "stop" : 1673031411715, 112 | "duration" : 0 113 | }, 114 | "status" : "passed", 115 | "steps" : [ ], 116 | "attachments" : [ ], 117 | "parameters" : [ ], 118 | "stepsCount" : 0, 119 | "hasContent" : false, 120 | "attachmentsCount" : 0, 121 | "shouldDisplayMessage" : false 122 | }, { 123 | "name" : "Checking that \"None\" equals to \"['oei6Kj7ZCLmi', 'islcK97MRya2TR', 'VPbqUg4TI87wi', '2v7OYgkKw7VpxTB', '0BAysLuEBIZ', 'WuwcLYicNlY', 'O2K29s6nhbrpK', 'SYmi5SpWpJ5', 'bYc89MY5wN', 'xm5uQibQCco7I']\"", 124 | "time" : { 125 | "start" : 1673031411715, 126 | "stop" : 1673031411715, 127 | "duration" : 0 128 | }, 129 | "status" : "passed", 130 | "steps" : [ ], 131 | "attachments" : [ ], 132 | "parameters" : [ ], 133 | "stepsCount" : 0, 134 | "hasContent" : false, 135 | "attachmentsCount" : 0, 136 | "shouldDisplayMessage" : false 137 | }, { 138 | "name" : "Checking that \"None\" equals to \"CDZguazesfOA\"", 139 | "time" : { 140 | "start" : 1673031411715, 141 | "stop" : 1673031411715, 142 | "duration" : 0 143 | }, 144 | "status" : "passed", 145 | "steps" : [ ], 146 | "attachments" : [ ], 147 | "parameters" : [ ], 148 | "stepsCount" : 0, 149 | "hasContent" : false, 150 | "attachmentsCount" : 0, 151 | "shouldDisplayMessage" : false 152 | }, { 153 | "name" : "Validating schema for instance", 154 | "time" : { 155 | "start" : 1673031411715, 156 | "stop" : 1673031411717, 157 | "duration" : 2 158 | }, 159 | "status" : "passed", 160 | "steps" : [ ], 161 | "attachments" : [ ], 162 | "parameters" : [ ], 163 | "stepsCount" : 0, 164 | "hasContent" : false, 165 | "attachmentsCount" : 0, 166 | "shouldDisplayMessage" : false 167 | } ], 168 | "attachments" : [ ], 169 | "parameters" : [ ], 170 | "stepsCount" : 6, 171 | "hasContent" : true, 172 | "attachmentsCount" : 0, 173 | "shouldDisplayMessage" : false 174 | }, 175 | "afterStages" : [ { 176 | "name" : "function_question::0", 177 | "time" : { 178 | "start" : 1673031411718, 179 | "stop" : 1673031411877, 180 | "duration" : 159 181 | }, 182 | "status" : "passed", 183 | "steps" : [ { 184 | "name" : "Deleting question with id \"813\"", 185 | "time" : { 186 | "start" : 1673031411718, 187 | "stop" : 1673031411877, 188 | "duration" : 159 189 | }, 190 | "status" : "passed", 191 | "steps" : [ { 192 | "name" : "Making DELETE request to \"/questions/813\"", 193 | "time" : { 194 | "start" : 1673031411718, 195 | "stop" : 1673031411877, 196 | "duration" : 159 197 | }, 198 | "status" : "passed", 199 | "steps" : [ ], 200 | "attachments" : [ ], 201 | "parameters" : [ ], 202 | "stepsCount" : 0, 203 | "hasContent" : false, 204 | "attachmentsCount" : 0, 205 | "shouldDisplayMessage" : false 206 | } ], 207 | "attachments" : [ ], 208 | "parameters" : [ { 209 | "name" : "question_id", 210 | "value" : "813" 211 | }, { 212 | "name" : "auth", 213 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 214 | } ], 215 | "stepsCount" : 1, 216 | "hasContent" : true, 217 | "attachmentsCount" : 0, 218 | "shouldDisplayMessage" : false 219 | } ], 220 | "attachments" : [ ], 221 | "parameters" : [ ], 222 | "stepsCount" : 2, 223 | "hasContent" : true, 224 | "attachmentsCount" : 0, 225 | "shouldDisplayMessage" : false 226 | } ], 227 | "labels" : [ { 228 | "name" : "feature", 229 | "value" : "Questions" 230 | }, { 231 | "name" : "story", 232 | "value" : "Questions API" 233 | }, { 234 | "name" : "tag", 235 | "value" : "questions" 236 | }, { 237 | "name" : "parentSuite", 238 | "value" : "tests" 239 | }, { 240 | "name" : "suite", 241 | "value" : "test_futurama_questions" 242 | }, { 243 | "name" : "subSuite", 244 | "value" : "TestQuestions" 245 | }, { 246 | "name" : "host", 247 | "value" : "LAPTOP-VDKHCJMI" 248 | }, { 249 | "name" : "thread", 250 | "value" : "12112-MainThread" 251 | }, { 252 | "name" : "framework", 253 | "value" : "pytest" 254 | }, { 255 | "name" : "language", 256 | "value" : "cpython3" 257 | }, { 258 | "name" : "package", 259 | "value" : "tests.test_futurama_questions" 260 | }, { 261 | "name" : "resultFormat", 262 | "value" : "allure2" 263 | } ], 264 | "parameters" : [ ], 265 | "links" : [ ], 266 | "hidden" : true, 267 | "retry" : true, 268 | "extra" : { 269 | "categories" : [ ], 270 | "tags" : [ "questions" ] 271 | }, 272 | "source" : "a9b11d77f00b1bd3.json", 273 | "parameterValues" : [ ] 274 | } -------------------------------------------------------------------------------- /docs/data/test-cases/af0136d2a8e8a70b.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "af0136d2a8e8a70b", 3 | "name" : "Update question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_update_question", 5 | "historyId" : "f4c5c08e36718f2b17a99131abd1ba92", 6 | "time" : { 7 | "start" : 1673031317050, 8 | "stop" : 1673031317417, 9 | "duration" : 367 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ { 15 | "name" : "function_question", 16 | "time" : { 17 | "start" : 1673031316654, 18 | "stop" : 1673031317050, 19 | "duration" : 396 20 | }, 21 | "status" : "passed", 22 | "steps" : [ { 23 | "name" : "Creating question", 24 | "time" : { 25 | "start" : 1673031316654, 26 | "stop" : 1673031317050, 27 | "duration" : 396 28 | }, 29 | "status" : "passed", 30 | "steps" : [ { 31 | "name" : "Making POST request to \"/questions\"", 32 | "time" : { 33 | "start" : 1673031316654, 34 | "stop" : 1673031317050, 35 | "duration" : 396 36 | }, 37 | "status" : "passed", 38 | "steps" : [ ], 39 | "attachments" : [ ], 40 | "parameters" : [ ], 41 | "stepsCount" : 0, 42 | "hasContent" : false, 43 | "attachmentsCount" : 0, 44 | "shouldDisplayMessage" : false 45 | } ], 46 | "attachments" : [ ], 47 | "parameters" : [ { 48 | "name" : "payload", 49 | "value" : "DefaultQuestion(id=984, question='7sqx0PXQlnYrLG', possible_answers=['pl6ghhcJi3hd6i', 'OfVWQsxvaLiw2Ek', 'SImWAa3AkdxYm9', '0XQC77ExfQlOxe', 'YuJaLLImxZRS', 'BeZyJLm4ca', 'pdpVpLafV99tsg5', 'wjs8XcUgC4', 'fs6C1pfZcoKx'], correct_answer='XAExSpRisee9R')" 50 | }, { 51 | "name" : "auth", 52 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 53 | } ], 54 | "stepsCount" : 1, 55 | "hasContent" : true, 56 | "attachmentsCount" : 0, 57 | "shouldDisplayMessage" : false 58 | } ], 59 | "attachments" : [ ], 60 | "parameters" : [ ], 61 | "stepsCount" : 2, 62 | "hasContent" : true, 63 | "attachmentsCount" : 0, 64 | "shouldDisplayMessage" : false 65 | } ], 66 | "testStage" : { 67 | "status" : "passed", 68 | "steps" : [ { 69 | "name" : "Updating question with id \"984\"", 70 | "time" : { 71 | "start" : 1673031317050, 72 | "stop" : 1673031317415, 73 | "duration" : 365 74 | }, 75 | "status" : "passed", 76 | "steps" : [ { 77 | "name" : "Making PATCH request to \"/questions/984\"", 78 | "time" : { 79 | "start" : 1673031317050, 80 | "stop" : 1673031317415, 81 | "duration" : 365 82 | }, 83 | "status" : "passed", 84 | "steps" : [ ], 85 | "attachments" : [ ], 86 | "parameters" : [ ], 87 | "stepsCount" : 0, 88 | "hasContent" : false, 89 | "attachmentsCount" : 0, 90 | "shouldDisplayMessage" : false 91 | } ], 92 | "attachments" : [ ], 93 | "parameters" : [ { 94 | "name" : "question_id", 95 | "value" : "984" 96 | }, { 97 | "name" : "payload", 98 | "value" : "UpdateQuestion(question='oIWXjiR0ugx', possible_answers=['P4qc9KE2Xa', 'm51gSj9Ss', 'LewU5SPlwAm', 'fL62gXPWxc', 'mgo1drr43r', 'Igg6eGrZquj', 'IawUnrl0vKU4TCT', 'v8CkFpcVtM2v7', 'oNHCeQthHn', 'RCGxgyNCWtRrIn'], correct_answer='CUJsdAmryhTDFt6')" 99 | }, { 100 | "name" : "auth", 101 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 102 | } ], 103 | "stepsCount" : 1, 104 | "hasContent" : true, 105 | "attachmentsCount" : 0, 106 | "shouldDisplayMessage" : false 107 | }, { 108 | "name" : "Checking that \"None\" equals to \"oIWXjiR0ugx\"", 109 | "time" : { 110 | "start" : 1673031317415, 111 | "stop" : 1673031317415, 112 | "duration" : 0 113 | }, 114 | "status" : "passed", 115 | "steps" : [ ], 116 | "attachments" : [ ], 117 | "parameters" : [ ], 118 | "stepsCount" : 0, 119 | "hasContent" : false, 120 | "attachmentsCount" : 0, 121 | "shouldDisplayMessage" : false 122 | }, { 123 | "name" : "Checking that \"None\" equals to \"['P4qc9KE2Xa', 'm51gSj9Ss', 'LewU5SPlwAm', 'fL62gXPWxc', 'mgo1drr43r', 'Igg6eGrZquj', 'IawUnrl0vKU4TCT', 'v8CkFpcVtM2v7', 'oNHCeQthHn', 'RCGxgyNCWtRrIn']\"", 124 | "time" : { 125 | "start" : 1673031317415, 126 | "stop" : 1673031317415, 127 | "duration" : 0 128 | }, 129 | "status" : "passed", 130 | "steps" : [ ], 131 | "attachments" : [ ], 132 | "parameters" : [ ], 133 | "stepsCount" : 0, 134 | "hasContent" : false, 135 | "attachmentsCount" : 0, 136 | "shouldDisplayMessage" : false 137 | }, { 138 | "name" : "Checking that \"None\" equals to \"CUJsdAmryhTDFt6\"", 139 | "time" : { 140 | "start" : 1673031317415, 141 | "stop" : 1673031317415, 142 | "duration" : 0 143 | }, 144 | "status" : "passed", 145 | "steps" : [ ], 146 | "attachments" : [ ], 147 | "parameters" : [ ], 148 | "stepsCount" : 0, 149 | "hasContent" : false, 150 | "attachmentsCount" : 0, 151 | "shouldDisplayMessage" : false 152 | }, { 153 | "name" : "Validating schema for instance", 154 | "time" : { 155 | "start" : 1673031317415, 156 | "stop" : 1673031317417, 157 | "duration" : 2 158 | }, 159 | "status" : "passed", 160 | "steps" : [ ], 161 | "attachments" : [ ], 162 | "parameters" : [ ], 163 | "stepsCount" : 0, 164 | "hasContent" : false, 165 | "attachmentsCount" : 0, 166 | "shouldDisplayMessage" : false 167 | } ], 168 | "attachments" : [ ], 169 | "parameters" : [ ], 170 | "stepsCount" : 6, 171 | "hasContent" : true, 172 | "attachmentsCount" : 0, 173 | "shouldDisplayMessage" : false 174 | }, 175 | "afterStages" : [ { 176 | "name" : "function_question::0", 177 | "time" : { 178 | "start" : 1673031317417, 179 | "stop" : 1673031317602, 180 | "duration" : 185 181 | }, 182 | "status" : "passed", 183 | "steps" : [ { 184 | "name" : "Deleting question with id \"984\"", 185 | "time" : { 186 | "start" : 1673031317418, 187 | "stop" : 1673031317602, 188 | "duration" : 184 189 | }, 190 | "status" : "passed", 191 | "steps" : [ { 192 | "name" : "Making DELETE request to \"/questions/984\"", 193 | "time" : { 194 | "start" : 1673031317418, 195 | "stop" : 1673031317602, 196 | "duration" : 184 197 | }, 198 | "status" : "passed", 199 | "steps" : [ ], 200 | "attachments" : [ ], 201 | "parameters" : [ ], 202 | "stepsCount" : 0, 203 | "hasContent" : false, 204 | "attachmentsCount" : 0, 205 | "shouldDisplayMessage" : false 206 | } ], 207 | "attachments" : [ ], 208 | "parameters" : [ { 209 | "name" : "question_id", 210 | "value" : "984" 211 | }, { 212 | "name" : "auth", 213 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 214 | } ], 215 | "stepsCount" : 1, 216 | "hasContent" : true, 217 | "attachmentsCount" : 0, 218 | "shouldDisplayMessage" : false 219 | } ], 220 | "attachments" : [ ], 221 | "parameters" : [ ], 222 | "stepsCount" : 2, 223 | "hasContent" : true, 224 | "attachmentsCount" : 0, 225 | "shouldDisplayMessage" : false 226 | } ], 227 | "labels" : [ { 228 | "name" : "story", 229 | "value" : "Questions API" 230 | }, { 231 | "name" : "feature", 232 | "value" : "Questions" 233 | }, { 234 | "name" : "tag", 235 | "value" : "questions" 236 | }, { 237 | "name" : "parentSuite", 238 | "value" : "tests" 239 | }, { 240 | "name" : "suite", 241 | "value" : "test_futurama_questions" 242 | }, { 243 | "name" : "subSuite", 244 | "value" : "TestQuestions" 245 | }, { 246 | "name" : "host", 247 | "value" : "LAPTOP-VDKHCJMI" 248 | }, { 249 | "name" : "thread", 250 | "value" : "3260-MainThread" 251 | }, { 252 | "name" : "framework", 253 | "value" : "pytest" 254 | }, { 255 | "name" : "language", 256 | "value" : "cpython3" 257 | }, { 258 | "name" : "package", 259 | "value" : "tests.test_futurama_questions" 260 | }, { 261 | "name" : "resultFormat", 262 | "value" : "allure2" 263 | } ], 264 | "parameters" : [ ], 265 | "links" : [ ], 266 | "hidden" : true, 267 | "retry" : true, 268 | "extra" : { 269 | "categories" : [ ], 270 | "tags" : [ "questions" ] 271 | }, 272 | "source" : "af0136d2a8e8a70b.json", 273 | "parameterValues" : [ ] 274 | } -------------------------------------------------------------------------------- /docs/data/test-cases/b769914147874745.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "b769914147874745", 3 | "name" : "Create question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_create_question", 5 | "historyId" : "52b40a7afa47d7d6aef873594efdacd7", 6 | "time" : { 7 | "start" : 1673168335558, 8 | "stop" : 1673168335897, 9 | "duration" : 339 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ ], 15 | "testStage" : { 16 | "status" : "passed", 17 | "steps" : [ { 18 | "name" : "Creating question", 19 | "time" : { 20 | "start" : 1673168335558, 21 | "stop" : 1673168335887, 22 | "duration" : 329 23 | }, 24 | "status" : "passed", 25 | "steps" : [ { 26 | "name" : "Making POST request to \"'/questions'\"", 27 | "time" : { 28 | "start" : 1673168335558, 29 | "stop" : 1673168335887, 30 | "duration" : 329 31 | }, 32 | "status" : "passed", 33 | "steps" : [ ], 34 | "attachments" : [ ], 35 | "parameters" : [ { 36 | "name" : "url", 37 | "value" : "'/questions'" 38 | }, { 39 | "name" : "json", 40 | "value" : "{'id': 420, 'question': 'soBv1vHTf2l', 'possibleAnswers': ['hvvJ8bYzwQlQ', 'zcD3trHfgBY', 'K3EQCUDce', 'QecgV5Yz8', '2jWv8wPSSUMeu', 'AYZ7NcGwaw1CcxN', '9Bhs3LpDfGvkqzH', 'WSQAveHul0mkS1Y', 'NQTgBiBLiv', 'VIGis5uuN5', 'PS78BbIP8MV'], 'correctAnswer': 'bJsl4EgjOGnfGG'}" 41 | } ], 42 | "stepsCount" : 0, 43 | "hasContent" : true, 44 | "attachmentsCount" : 0, 45 | "shouldDisplayMessage" : false 46 | } ], 47 | "attachments" : [ ], 48 | "parameters" : [ { 49 | "name" : "payload", 50 | "value" : "DefaultQuestion(id=420, question='soBv1vHTf2l', possible_answers=['hvvJ8bYzwQlQ', 'zcD3trHfgBY', 'K3EQCUDce', 'QecgV5Yz8', '2jWv8wPSSUMeu', 'AYZ7NcGwaw1CcxN', '9Bhs3LpDfGvkqzH', 'WSQAveHul0mkS1Y', 'NQTgBiBLiv', 'VIGis5uuN5', 'PS78BbIP8MV'], correct_answer='bJsl4EgjOGnfGG')" 51 | }, { 52 | "name" : "auth", 53 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 54 | } ], 55 | "stepsCount" : 1, 56 | "hasContent" : true, 57 | "attachmentsCount" : 0, 58 | "shouldDisplayMessage" : false 59 | }, { 60 | "name" : "Checking that \"None\" equals to \"201\"", 61 | "time" : { 62 | "start" : 1673168335887, 63 | "stop" : 1673168335888, 64 | "duration" : 1 65 | }, 66 | "status" : "passed", 67 | "steps" : [ ], 68 | "attachments" : [ ], 69 | "parameters" : [ ], 70 | "stepsCount" : 0, 71 | "hasContent" : false, 72 | "attachmentsCount" : 0, 73 | "shouldDisplayMessage" : false 74 | }, { 75 | "name" : "Checking that \"Question \"id\"\" equals to \"420\"", 76 | "time" : { 77 | "start" : 1673168335888, 78 | "stop" : 1673168335888, 79 | "duration" : 0 80 | }, 81 | "status" : "passed", 82 | "steps" : [ ], 83 | "attachments" : [ ], 84 | "parameters" : [ ], 85 | "stepsCount" : 0, 86 | "hasContent" : false, 87 | "attachmentsCount" : 0, 88 | "shouldDisplayMessage" : false 89 | }, { 90 | "name" : "Checking that \"Question \"question\"\" equals to \"soBv1vHTf2l\"", 91 | "time" : { 92 | "start" : 1673168335888, 93 | "stop" : 1673168335888, 94 | "duration" : 0 95 | }, 96 | "status" : "passed", 97 | "steps" : [ ], 98 | "attachments" : [ ], 99 | "parameters" : [ ], 100 | "stepsCount" : 0, 101 | "hasContent" : false, 102 | "attachmentsCount" : 0, 103 | "shouldDisplayMessage" : false 104 | }, { 105 | "name" : "Checking that \"Question \"possibleAnswers\"\" equals to \"['hvvJ8bYzwQlQ', 'zcD3trHfgBY', 'K3EQCUDce', 'QecgV5Yz8', '2jWv8wPSSUMeu', 'AYZ7NcGwaw1CcxN', '9Bhs3LpDfGvkqzH', 'WSQAveHul0mkS1Y', 'NQTgBiBLiv', 'VIGis5uuN5', 'PS78BbIP8MV']\"", 106 | "time" : { 107 | "start" : 1673168335888, 108 | "stop" : 1673168335888, 109 | "duration" : 0 110 | }, 111 | "status" : "passed", 112 | "steps" : [ ], 113 | "attachments" : [ ], 114 | "parameters" : [ ], 115 | "stepsCount" : 0, 116 | "hasContent" : false, 117 | "attachmentsCount" : 0, 118 | "shouldDisplayMessage" : false 119 | }, { 120 | "name" : "Checking that \"Question \"correctAnswer\"\" equals to \"bJsl4EgjOGnfGG\"", 121 | "time" : { 122 | "start" : 1673168335888, 123 | "stop" : 1673168335888, 124 | "duration" : 0 125 | }, 126 | "status" : "passed", 127 | "steps" : [ ], 128 | "attachments" : [ ], 129 | "parameters" : [ ], 130 | "stepsCount" : 0, 131 | "hasContent" : false, 132 | "attachmentsCount" : 0, 133 | "shouldDisplayMessage" : false 134 | }, { 135 | "name" : "Validating schema", 136 | "time" : { 137 | "start" : 1673168335889, 138 | "stop" : 1673168335897, 139 | "duration" : 8 140 | }, 141 | "status" : "passed", 142 | "steps" : [ ], 143 | "attachments" : [ ], 144 | "parameters" : [ { 145 | "name" : "instance", 146 | "value" : "{'id': 420, 'question': 'soBv1vHTf2l', 'possibleAnswers': ['hvvJ8bYzwQlQ', 'zcD3trHfgBY', 'K3EQCUDce', 'QecgV5Yz8', '2jWv8wPSSUMeu', 'AYZ7NcGwaw1CcxN', '9Bhs3LpDfGvkqzH', 'WSQAveHul0mkS1Y', 'NQTgBiBLiv', 'VIGis5uuN5', 'PS78BbIP8MV'], 'correctAnswer': 'bJsl4EgjOGnfGG'}" 147 | }, { 148 | "name" : "schema", 149 | "value" : "{'title': 'DefaultQuestion', 'type': 'object', 'properties': {'id': {'title': 'Id', 'type': 'integer'}, 'question': {'title': 'Question', 'type': 'string'}, 'possibleAnswers': {'title': 'Possibleanswers', 'type': 'array', 'items': {'type': 'string'}}, 'correctAnswer': {'title': 'Correctanswer', 'type': 'string'}}}" 150 | } ], 151 | "stepsCount" : 0, 152 | "hasContent" : true, 153 | "attachmentsCount" : 0, 154 | "shouldDisplayMessage" : false 155 | } ], 156 | "attachments" : [ ], 157 | "parameters" : [ ], 158 | "stepsCount" : 8, 159 | "hasContent" : true, 160 | "attachmentsCount" : 0, 161 | "shouldDisplayMessage" : false 162 | }, 163 | "afterStages" : [ ], 164 | "labels" : [ { 165 | "name" : "story", 166 | "value" : "Questions API" 167 | }, { 168 | "name" : "feature", 169 | "value" : "Questions" 170 | }, { 171 | "name" : "tag", 172 | "value" : "questions" 173 | }, { 174 | "name" : "parentSuite", 175 | "value" : "tests" 176 | }, { 177 | "name" : "suite", 178 | "value" : "test_futurama_questions" 179 | }, { 180 | "name" : "subSuite", 181 | "value" : "TestQuestions" 182 | }, { 183 | "name" : "host", 184 | "value" : "LAPTOP-VDKHCJMI" 185 | }, { 186 | "name" : "thread", 187 | "value" : "27412-MainThread" 188 | }, { 189 | "name" : "framework", 190 | "value" : "pytest" 191 | }, { 192 | "name" : "language", 193 | "value" : "cpython3" 194 | }, { 195 | "name" : "package", 196 | "value" : "tests.test_futurama_questions" 197 | }, { 198 | "name" : "resultFormat", 199 | "value" : "allure2" 200 | } ], 201 | "parameters" : [ ], 202 | "links" : [ ], 203 | "hidden" : true, 204 | "retry" : true, 205 | "extra" : { 206 | "categories" : [ ], 207 | "tags" : [ "questions" ] 208 | }, 209 | "source" : "b769914147874745.json", 210 | "parameterValues" : [ ] 211 | } -------------------------------------------------------------------------------- /docs/data/test-cases/ba3702610d842626.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "ba3702610d842626", 3 | "name" : "Create question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_create_question", 5 | "historyId" : "52b40a7afa47d7d6aef873594efdacd7", 6 | "time" : { 7 | "start" : 1673168680406, 8 | "stop" : 1673168680710, 9 | "duration" : 304 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ ], 15 | "testStage" : { 16 | "status" : "passed", 17 | "steps" : [ { 18 | "name" : "Creating question", 19 | "time" : { 20 | "start" : 1673168680406, 21 | "stop" : 1673168680708, 22 | "duration" : 302 23 | }, 24 | "status" : "passed", 25 | "steps" : [ { 26 | "name" : "Making POST request to \"'/questions'\"", 27 | "time" : { 28 | "start" : 1673168680407, 29 | "stop" : 1673168680708, 30 | "duration" : 301 31 | }, 32 | "status" : "passed", 33 | "steps" : [ ], 34 | "attachments" : [ ], 35 | "parameters" : [ { 36 | "name" : "url", 37 | "value" : "'/questions'" 38 | }, { 39 | "name" : "json", 40 | "value" : "{'id': 172, 'question': 'JI1DlGQQmG3tFNl', 'possibleAnswers': ['fs6aps8GPklUED5', 'D1fDKXvC2A', 'ERwOUkuGK9mt', 'sIqHvWgGYCDGZBo', 'c49kxi3tEexH', 'tbmJ3cQlgaJ', '8Zw5sRp1J1Tz', 'R9NSKH5jB', 'On6gFcjIFI', 'qtxCEUDzF', 'XVbgkrD8OfXWd7', 'bYr1MPR4m6QOa8T', 'Lx7qK261ZV', 'sgXkw6yJLXCM'], 'correctAnswer': 'g6S5zGPoEw6fjM'}" 41 | } ], 42 | "stepsCount" : 0, 43 | "hasContent" : true, 44 | "attachmentsCount" : 0, 45 | "shouldDisplayMessage" : false 46 | } ], 47 | "attachments" : [ ], 48 | "parameters" : [ { 49 | "name" : "payload", 50 | "value" : "DefaultQuestion(id=172, question='JI1DlGQQmG3tFNl', possible_answers=['fs6aps8GPklUED5', 'D1fDKXvC2A', 'ERwOUkuGK9mt', 'sIqHvWgGYCDGZBo', 'c49kxi3tEexH', 'tbmJ3cQlgaJ', '8Zw5sRp1J1Tz', 'R9NSKH5jB', 'On6gFcjIFI', 'qtxCEUDzF', 'XVbgkrD8OfXWd7', 'bYr1MPR4m6QOa8T', 'Lx7qK261ZV', 'sgXkw6yJLXCM'], correct_answer='g6S5zGPoEw6fjM')" 51 | }, { 52 | "name" : "auth", 53 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 54 | } ], 55 | "stepsCount" : 1, 56 | "hasContent" : true, 57 | "attachmentsCount" : 0, 58 | "shouldDisplayMessage" : false 59 | }, { 60 | "name" : "Checking that \"Response status code\" equals to \"201\"", 61 | "time" : { 62 | "start" : 1673168680708, 63 | "stop" : 1673168680708, 64 | "duration" : 0 65 | }, 66 | "status" : "passed", 67 | "steps" : [ ], 68 | "attachments" : [ ], 69 | "parameters" : [ ], 70 | "stepsCount" : 0, 71 | "hasContent" : false, 72 | "attachmentsCount" : 0, 73 | "shouldDisplayMessage" : false 74 | }, { 75 | "name" : "Checking that \"Question \"id\"\" equals to \"172\"", 76 | "time" : { 77 | "start" : 1673168680708, 78 | "stop" : 1673168680708, 79 | "duration" : 0 80 | }, 81 | "status" : "passed", 82 | "steps" : [ ], 83 | "attachments" : [ ], 84 | "parameters" : [ ], 85 | "stepsCount" : 0, 86 | "hasContent" : false, 87 | "attachmentsCount" : 0, 88 | "shouldDisplayMessage" : false 89 | }, { 90 | "name" : "Checking that \"Question \"question\"\" equals to \"JI1DlGQQmG3tFNl\"", 91 | "time" : { 92 | "start" : 1673168680708, 93 | "stop" : 1673168680708, 94 | "duration" : 0 95 | }, 96 | "status" : "passed", 97 | "steps" : [ ], 98 | "attachments" : [ ], 99 | "parameters" : [ ], 100 | "stepsCount" : 0, 101 | "hasContent" : false, 102 | "attachmentsCount" : 0, 103 | "shouldDisplayMessage" : false 104 | }, { 105 | "name" : "Checking that \"Question \"possibleAnswers\"\" equals to \"['fs6aps8GPklUED5', 'D1fDKXvC2A', 'ERwOUkuGK9mt', 'sIqHvWgGYCDGZBo', 'c49kxi3tEexH', 'tbmJ3cQlgaJ', '8Zw5sRp1J1Tz', 'R9NSKH5jB', 'On6gFcjIFI', 'qtxCEUDzF', 'XVbgkrD8OfXWd7', 'bYr1MPR4m6QOa8T', 'Lx7qK261ZV', 'sgXkw6yJLXCM']\"", 106 | "time" : { 107 | "start" : 1673168680708, 108 | "stop" : 1673168680708, 109 | "duration" : 0 110 | }, 111 | "status" : "passed", 112 | "steps" : [ ], 113 | "attachments" : [ ], 114 | "parameters" : [ ], 115 | "stepsCount" : 0, 116 | "hasContent" : false, 117 | "attachmentsCount" : 0, 118 | "shouldDisplayMessage" : false 119 | }, { 120 | "name" : "Checking that \"Question \"correctAnswer\"\" equals to \"g6S5zGPoEw6fjM\"", 121 | "time" : { 122 | "start" : 1673168680708, 123 | "stop" : 1673168680708, 124 | "duration" : 0 125 | }, 126 | "status" : "passed", 127 | "steps" : [ ], 128 | "attachments" : [ ], 129 | "parameters" : [ ], 130 | "stepsCount" : 0, 131 | "hasContent" : false, 132 | "attachmentsCount" : 0, 133 | "shouldDisplayMessage" : false 134 | }, { 135 | "name" : "Validating schema", 136 | "time" : { 137 | "start" : 1673168680708, 138 | "stop" : 1673168680710, 139 | "duration" : 2 140 | }, 141 | "status" : "passed", 142 | "steps" : [ ], 143 | "attachments" : [ ], 144 | "parameters" : [ { 145 | "name" : "instance", 146 | "value" : "{'id': 172, 'question': 'JI1DlGQQmG3tFNl', 'possibleAnswers': ['fs6aps8GPklUED5', 'D1fDKXvC2A', 'ERwOUkuGK9mt', 'sIqHvWgGYCDGZBo', 'c49kxi3tEexH', 'tbmJ3cQlgaJ', '8Zw5sRp1J1Tz', 'R9NSKH5jB', 'On6gFcjIFI', 'qtxCEUDzF', 'XVbgkrD8OfXWd7', 'bYr1MPR4m6QOa8T', 'Lx7qK261ZV', 'sgXkw6yJLXCM'], 'correctAnswer': 'g6S5zGPoEw6fjM'}" 147 | }, { 148 | "name" : "schema", 149 | "value" : "{'title': 'DefaultQuestion', 'type': 'object', 'properties': {'id': {'title': 'Id', 'type': 'integer'}, 'question': {'title': 'Question', 'type': 'string'}, 'possibleAnswers': {'title': 'Possibleanswers', 'type': 'array', 'items': {'type': 'string'}}, 'correctAnswer': {'title': 'Correctanswer', 'type': 'string'}}}" 150 | } ], 151 | "stepsCount" : 0, 152 | "hasContent" : true, 153 | "attachmentsCount" : 0, 154 | "shouldDisplayMessage" : false 155 | } ], 156 | "attachments" : [ ], 157 | "parameters" : [ ], 158 | "stepsCount" : 8, 159 | "hasContent" : true, 160 | "attachmentsCount" : 0, 161 | "shouldDisplayMessage" : false 162 | }, 163 | "afterStages" : [ ], 164 | "labels" : [ { 165 | "name" : "feature", 166 | "value" : "Questions" 167 | }, { 168 | "name" : "story", 169 | "value" : "Questions API" 170 | }, { 171 | "name" : "tag", 172 | "value" : "questions" 173 | }, { 174 | "name" : "parentSuite", 175 | "value" : "tests" 176 | }, { 177 | "name" : "suite", 178 | "value" : "test_futurama_questions" 179 | }, { 180 | "name" : "subSuite", 181 | "value" : "TestQuestions" 182 | }, { 183 | "name" : "host", 184 | "value" : "LAPTOP-VDKHCJMI" 185 | }, { 186 | "name" : "thread", 187 | "value" : "11780-MainThread" 188 | }, { 189 | "name" : "framework", 190 | "value" : "pytest" 191 | }, { 192 | "name" : "language", 193 | "value" : "cpython3" 194 | }, { 195 | "name" : "package", 196 | "value" : "tests.test_futurama_questions" 197 | }, { 198 | "name" : "resultFormat", 199 | "value" : "allure2" 200 | } ], 201 | "parameters" : [ ], 202 | "links" : [ ], 203 | "hidden" : false, 204 | "retry" : false, 205 | "extra" : { 206 | "severity" : "normal", 207 | "retries" : [ { 208 | "uid" : "b769914147874745", 209 | "status" : "passed", 210 | "time" : { 211 | "start" : 1673168335558, 212 | "stop" : 1673168335897, 213 | "duration" : 339 214 | } 215 | }, { 216 | "uid" : "52895b4eafff92d9", 217 | "status" : "passed", 218 | "time" : { 219 | "start" : 1673032250851, 220 | "stop" : 1673032251161, 221 | "duration" : 310 222 | } 223 | }, { 224 | "uid" : "3275d8c3e83882a0", 225 | "status" : "passed", 226 | "time" : { 227 | "start" : 1673032078082, 228 | "stop" : 1673032078405, 229 | "duration" : 323 230 | } 231 | }, { 232 | "uid" : "46e8040145e6e564", 233 | "status" : "passed", 234 | "time" : { 235 | "start" : 1673031590800, 236 | "stop" : 1673031591147, 237 | "duration" : 347 238 | } 239 | }, { 240 | "uid" : "eb28d12d04a9d290", 241 | "status" : "passed", 242 | "time" : { 243 | "start" : 1673031409965, 244 | "stop" : 1673031410320, 245 | "duration" : 355 246 | } 247 | }, { 248 | "uid" : "4dee64acc1735fa6", 249 | "status" : "passed", 250 | "time" : { 251 | "start" : 1673031315504, 252 | "stop" : 1673031315863, 253 | "duration" : 359 254 | } 255 | } ], 256 | "categories" : [ ], 257 | "tags" : [ "questions" ] 258 | }, 259 | "source" : "ba3702610d842626.json", 260 | "parameterValues" : [ ] 261 | } -------------------------------------------------------------------------------- /docs/data/test-cases/bd21a8bbaaaeb709.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "bd21a8bbaaaeb709", 3 | "name" : "Get question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_get_question", 5 | "historyId" : "a23f81a1084a932685f76341222fe753", 6 | "time" : { 7 | "start" : 1673031316267, 8 | "stop" : 1673031316456, 9 | "duration" : 189 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ { 15 | "name" : "function_question", 16 | "time" : { 17 | "start" : 1673031315866, 18 | "stop" : 1673031316267, 19 | "duration" : 401 20 | }, 21 | "status" : "passed", 22 | "steps" : [ { 23 | "name" : "Creating question", 24 | "time" : { 25 | "start" : 1673031315867, 26 | "stop" : 1673031316266, 27 | "duration" : 399 28 | }, 29 | "status" : "passed", 30 | "steps" : [ { 31 | "name" : "Making POST request to \"/questions\"", 32 | "time" : { 33 | "start" : 1673031315867, 34 | "stop" : 1673031316266, 35 | "duration" : 399 36 | }, 37 | "status" : "passed", 38 | "steps" : [ ], 39 | "attachments" : [ ], 40 | "parameters" : [ ], 41 | "stepsCount" : 0, 42 | "hasContent" : false, 43 | "attachmentsCount" : 0, 44 | "shouldDisplayMessage" : false 45 | } ], 46 | "attachments" : [ ], 47 | "parameters" : [ { 48 | "name" : "payload", 49 | "value" : "DefaultQuestion(id=247, question='gzkfEoZI1NUh1T', possible_answers=['tc7AzBYFubf', 'p2RSaQT2cnB', 'IV5VmmQoLX4B', 'VSZTozhoKtxFZ', 'oHRyQYSHPhZQaP', '8XJVToKJYWB0J', '5kD51AoeTR', 'DwzMaaT0ht6cL', 'DWP4jcYJ5yUUi', 'XoQmJJjWxuvHO', '9Dj5Ex1dNmU', '83kENgYOgUt', 'NCDE4vQmz3isAX', 'b3OCHfDGuW'], correct_answer='5By1GAVp0C')" 50 | }, { 51 | "name" : "auth", 52 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 53 | } ], 54 | "stepsCount" : 1, 55 | "hasContent" : true, 56 | "attachmentsCount" : 0, 57 | "shouldDisplayMessage" : false 58 | } ], 59 | "attachments" : [ ], 60 | "parameters" : [ ], 61 | "stepsCount" : 2, 62 | "hasContent" : true, 63 | "attachmentsCount" : 0, 64 | "shouldDisplayMessage" : false 65 | } ], 66 | "testStage" : { 67 | "status" : "passed", 68 | "steps" : [ { 69 | "name" : "Getting question with id \"247\"", 70 | "time" : { 71 | "start" : 1673031316267, 72 | "stop" : 1673031316454, 73 | "duration" : 187 74 | }, 75 | "status" : "passed", 76 | "steps" : [ { 77 | "name" : "Making GET request to \"/questions/247\"", 78 | "time" : { 79 | "start" : 1673031316267, 80 | "stop" : 1673031316454, 81 | "duration" : 187 82 | }, 83 | "status" : "passed", 84 | "steps" : [ ], 85 | "attachments" : [ ], 86 | "parameters" : [ ], 87 | "stepsCount" : 0, 88 | "hasContent" : false, 89 | "attachmentsCount" : 0, 90 | "shouldDisplayMessage" : false 91 | } ], 92 | "attachments" : [ ], 93 | "parameters" : [ { 94 | "name" : "question_id", 95 | "value" : "247" 96 | }, { 97 | "name" : "auth", 98 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 99 | } ], 100 | "stepsCount" : 1, 101 | "hasContent" : true, 102 | "attachmentsCount" : 0, 103 | "shouldDisplayMessage" : false 104 | }, { 105 | "name" : "Checking that \"None\" equals to \"247\"", 106 | "time" : { 107 | "start" : 1673031316454, 108 | "stop" : 1673031316454, 109 | "duration" : 0 110 | }, 111 | "status" : "passed", 112 | "steps" : [ ], 113 | "attachments" : [ ], 114 | "parameters" : [ ], 115 | "stepsCount" : 0, 116 | "hasContent" : false, 117 | "attachmentsCount" : 0, 118 | "shouldDisplayMessage" : false 119 | }, { 120 | "name" : "Checking that \"None\" equals to \"gzkfEoZI1NUh1T\"", 121 | "time" : { 122 | "start" : 1673031316454, 123 | "stop" : 1673031316454, 124 | "duration" : 0 125 | }, 126 | "status" : "passed", 127 | "steps" : [ ], 128 | "attachments" : [ ], 129 | "parameters" : [ ], 130 | "stepsCount" : 0, 131 | "hasContent" : false, 132 | "attachmentsCount" : 0, 133 | "shouldDisplayMessage" : false 134 | }, { 135 | "name" : "Checking that \"None\" equals to \"['tc7AzBYFubf', 'p2RSaQT2cnB', 'IV5VmmQoLX4B', 'VSZTozhoKtxFZ', 'oHRyQYSHPhZQaP', '8XJVToKJYWB0J', '5kD51AoeTR', 'DwzMaaT0ht6cL', 'DWP4jcYJ5yUUi', 'XoQmJJjWxuvHO', '9Dj5Ex1dNmU', '83kENgYOgUt', 'NCDE4vQmz3isAX', 'b3OCHfDGuW']\"", 136 | "time" : { 137 | "start" : 1673031316454, 138 | "stop" : 1673031316454, 139 | "duration" : 0 140 | }, 141 | "status" : "passed", 142 | "steps" : [ ], 143 | "attachments" : [ ], 144 | "parameters" : [ ], 145 | "stepsCount" : 0, 146 | "hasContent" : false, 147 | "attachmentsCount" : 0, 148 | "shouldDisplayMessage" : false 149 | }, { 150 | "name" : "Checking that \"None\" equals to \"5By1GAVp0C\"", 151 | "time" : { 152 | "start" : 1673031316454, 153 | "stop" : 1673031316454, 154 | "duration" : 0 155 | }, 156 | "status" : "passed", 157 | "steps" : [ ], 158 | "attachments" : [ ], 159 | "parameters" : [ ], 160 | "stepsCount" : 0, 161 | "hasContent" : false, 162 | "attachmentsCount" : 0, 163 | "shouldDisplayMessage" : false 164 | }, { 165 | "name" : "Validating schema for instance", 166 | "time" : { 167 | "start" : 1673031316454, 168 | "stop" : 1673031316456, 169 | "duration" : 2 170 | }, 171 | "status" : "passed", 172 | "steps" : [ ], 173 | "attachments" : [ ], 174 | "parameters" : [ ], 175 | "stepsCount" : 0, 176 | "hasContent" : false, 177 | "attachmentsCount" : 0, 178 | "shouldDisplayMessage" : false 179 | } ], 180 | "attachments" : [ ], 181 | "parameters" : [ ], 182 | "stepsCount" : 7, 183 | "hasContent" : true, 184 | "attachmentsCount" : 0, 185 | "shouldDisplayMessage" : false 186 | }, 187 | "afterStages" : [ { 188 | "name" : "function_question::0", 189 | "time" : { 190 | "start" : 1673031316457, 191 | "stop" : 1673031316651, 192 | "duration" : 194 193 | }, 194 | "status" : "passed", 195 | "steps" : [ { 196 | "name" : "Deleting question with id \"247\"", 197 | "time" : { 198 | "start" : 1673031316458, 199 | "stop" : 1673031316651, 200 | "duration" : 193 201 | }, 202 | "status" : "passed", 203 | "steps" : [ { 204 | "name" : "Making DELETE request to \"/questions/247\"", 205 | "time" : { 206 | "start" : 1673031316458, 207 | "stop" : 1673031316651, 208 | "duration" : 193 209 | }, 210 | "status" : "passed", 211 | "steps" : [ ], 212 | "attachments" : [ ], 213 | "parameters" : [ ], 214 | "stepsCount" : 0, 215 | "hasContent" : false, 216 | "attachmentsCount" : 0, 217 | "shouldDisplayMessage" : false 218 | } ], 219 | "attachments" : [ ], 220 | "parameters" : [ { 221 | "name" : "question_id", 222 | "value" : "247" 223 | }, { 224 | "name" : "auth", 225 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 226 | } ], 227 | "stepsCount" : 1, 228 | "hasContent" : true, 229 | "attachmentsCount" : 0, 230 | "shouldDisplayMessage" : false 231 | } ], 232 | "attachments" : [ ], 233 | "parameters" : [ ], 234 | "stepsCount" : 2, 235 | "hasContent" : true, 236 | "attachmentsCount" : 0, 237 | "shouldDisplayMessage" : false 238 | } ], 239 | "labels" : [ { 240 | "name" : "story", 241 | "value" : "Questions API" 242 | }, { 243 | "name" : "feature", 244 | "value" : "Questions" 245 | }, { 246 | "name" : "tag", 247 | "value" : "questions" 248 | }, { 249 | "name" : "parentSuite", 250 | "value" : "tests" 251 | }, { 252 | "name" : "suite", 253 | "value" : "test_futurama_questions" 254 | }, { 255 | "name" : "subSuite", 256 | "value" : "TestQuestions" 257 | }, { 258 | "name" : "host", 259 | "value" : "LAPTOP-VDKHCJMI" 260 | }, { 261 | "name" : "thread", 262 | "value" : "3260-MainThread" 263 | }, { 264 | "name" : "framework", 265 | "value" : "pytest" 266 | }, { 267 | "name" : "language", 268 | "value" : "cpython3" 269 | }, { 270 | "name" : "package", 271 | "value" : "tests.test_futurama_questions" 272 | }, { 273 | "name" : "resultFormat", 274 | "value" : "allure2" 275 | } ], 276 | "parameters" : [ ], 277 | "links" : [ ], 278 | "hidden" : true, 279 | "retry" : true, 280 | "extra" : { 281 | "categories" : [ ], 282 | "tags" : [ "questions" ] 283 | }, 284 | "source" : "bd21a8bbaaaeb709.json", 285 | "parameterValues" : [ ] 286 | } -------------------------------------------------------------------------------- /docs/data/test-cases/ccbaef54508669f1.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "ccbaef54508669f1", 3 | "name" : "Delete question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_delete_question", 5 | "historyId" : "fbd3bb43d87ce6a7ed7b8bfdc667902a", 6 | "time" : { 7 | "start" : 1673032080320, 8 | "stop" : 1673032080653, 9 | "duration" : 333 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ { 15 | "name" : "function_question", 16 | "time" : { 17 | "start" : 1673032079963, 18 | "stop" : 1673032080320, 19 | "duration" : 357 20 | }, 21 | "status" : "passed", 22 | "steps" : [ { 23 | "name" : "Creating question", 24 | "time" : { 25 | "start" : 1673032079970, 26 | "stop" : 1673032080320, 27 | "duration" : 350 28 | }, 29 | "status" : "passed", 30 | "steps" : [ { 31 | "name" : "Making POST request to \"'APIRoutes.QUESTIONS'\"", 32 | "time" : { 33 | "start" : 1673032079970, 34 | "stop" : 1673032080320, 35 | "duration" : 350 36 | }, 37 | "status" : "passed", 38 | "steps" : [ ], 39 | "attachments" : [ ], 40 | "parameters" : [ { 41 | "name" : "url", 42 | "value" : "'APIRoutes.QUESTIONS'" 43 | }, { 44 | "name" : "json", 45 | "value" : "{'id': 160, 'question': 'DNwrQ8Ufoem', 'possibleAnswers': ['xXS7PMnb3q', 'n1McJ5p3X46F', '5rkYTSMnaFZerg', 'lw5D1Jt9UpSOHQk', 'Zzi5KUJKs7', '5aCf2bRKqasPQD', 'HZ6HMbjt4q4On', 'qcTvv5NgP9V', 'JRQBI0fJJTH', 'CUs9rVQeTL', 'pnuzBdpMcrWy'], 'correctAnswer': 'iYrIXlkQDI'}" 46 | } ], 47 | "stepsCount" : 0, 48 | "hasContent" : true, 49 | "attachmentsCount" : 0, 50 | "shouldDisplayMessage" : false 51 | } ], 52 | "attachments" : [ ], 53 | "parameters" : [ { 54 | "name" : "payload", 55 | "value" : "DefaultQuestion(id=160, question='DNwrQ8Ufoem', possible_answers=['xXS7PMnb3q', 'n1McJ5p3X46F', '5rkYTSMnaFZerg', 'lw5D1Jt9UpSOHQk', 'Zzi5KUJKs7', '5aCf2bRKqasPQD', 'HZ6HMbjt4q4On', 'qcTvv5NgP9V', 'JRQBI0fJJTH', 'CUs9rVQeTL', 'pnuzBdpMcrWy'], correct_answer='iYrIXlkQDI')" 56 | }, { 57 | "name" : "auth", 58 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 59 | } ], 60 | "stepsCount" : 1, 61 | "hasContent" : true, 62 | "attachmentsCount" : 0, 63 | "shouldDisplayMessage" : false 64 | } ], 65 | "attachments" : [ ], 66 | "parameters" : [ ], 67 | "stepsCount" : 2, 68 | "hasContent" : true, 69 | "attachmentsCount" : 0, 70 | "shouldDisplayMessage" : false 71 | } ], 72 | "testStage" : { 73 | "status" : "passed", 74 | "steps" : [ { 75 | "name" : "Deleting question with id \"160\"", 76 | "time" : { 77 | "start" : 1673032080320, 78 | "stop" : 1673032080492, 79 | "duration" : 172 80 | }, 81 | "status" : "passed", 82 | "steps" : [ { 83 | "name" : "Making DELETE request to \"'/questions/160'\"", 84 | "time" : { 85 | "start" : 1673032080320, 86 | "stop" : 1673032080492, 87 | "duration" : 172 88 | }, 89 | "status" : "passed", 90 | "steps" : [ ], 91 | "attachments" : [ ], 92 | "parameters" : [ { 93 | "name" : "url", 94 | "value" : "'/questions/160'" 95 | } ], 96 | "stepsCount" : 0, 97 | "hasContent" : true, 98 | "attachmentsCount" : 0, 99 | "shouldDisplayMessage" : false 100 | } ], 101 | "attachments" : [ ], 102 | "parameters" : [ { 103 | "name" : "question_id", 104 | "value" : "160" 105 | }, { 106 | "name" : "auth", 107 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 108 | } ], 109 | "stepsCount" : 1, 110 | "hasContent" : true, 111 | "attachmentsCount" : 0, 112 | "shouldDisplayMessage" : false 113 | }, { 114 | "name" : "Getting question with id \"160\"", 115 | "time" : { 116 | "start" : 1673032080492, 117 | "stop" : 1673032080653, 118 | "duration" : 161 119 | }, 120 | "status" : "passed", 121 | "steps" : [ { 122 | "name" : "Making GET request to \"'/questions/160'\"", 123 | "time" : { 124 | "start" : 1673032080492, 125 | "stop" : 1673032080653, 126 | "duration" : 161 127 | }, 128 | "status" : "passed", 129 | "steps" : [ ], 130 | "attachments" : [ ], 131 | "parameters" : [ { 132 | "name" : "url", 133 | "value" : "'/questions/160'" 134 | } ], 135 | "stepsCount" : 0, 136 | "hasContent" : true, 137 | "attachmentsCount" : 0, 138 | "shouldDisplayMessage" : false 139 | } ], 140 | "attachments" : [ ], 141 | "parameters" : [ { 142 | "name" : "question_id", 143 | "value" : "160" 144 | }, { 145 | "name" : "auth", 146 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 147 | } ], 148 | "stepsCount" : 1, 149 | "hasContent" : true, 150 | "attachmentsCount" : 0, 151 | "shouldDisplayMessage" : false 152 | }, { 153 | "name" : "Checking that \"None\" equals to \"200\"", 154 | "time" : { 155 | "start" : 1673032080653, 156 | "stop" : 1673032080653, 157 | "duration" : 0 158 | }, 159 | "status" : "passed", 160 | "steps" : [ ], 161 | "attachments" : [ ], 162 | "parameters" : [ ], 163 | "stepsCount" : 0, 164 | "hasContent" : false, 165 | "attachmentsCount" : 0, 166 | "shouldDisplayMessage" : false 167 | }, { 168 | "name" : "Checking that \"None\" equals to \"404\"", 169 | "time" : { 170 | "start" : 1673032080653, 171 | "stop" : 1673032080653, 172 | "duration" : 0 173 | }, 174 | "status" : "passed", 175 | "steps" : [ ], 176 | "attachments" : [ ], 177 | "parameters" : [ ], 178 | "stepsCount" : 0, 179 | "hasContent" : false, 180 | "attachmentsCount" : 0, 181 | "shouldDisplayMessage" : false 182 | } ], 183 | "attachments" : [ ], 184 | "parameters" : [ ], 185 | "stepsCount" : 6, 186 | "hasContent" : true, 187 | "attachmentsCount" : 0, 188 | "shouldDisplayMessage" : false 189 | }, 190 | "afterStages" : [ { 191 | "name" : "function_question::0", 192 | "time" : { 193 | "start" : 1673032080653, 194 | "stop" : 1673032080816, 195 | "duration" : 163 196 | }, 197 | "status" : "passed", 198 | "steps" : [ { 199 | "name" : "Deleting question with id \"160\"", 200 | "time" : { 201 | "start" : 1673032080653, 202 | "stop" : 1673032080816, 203 | "duration" : 163 204 | }, 205 | "status" : "passed", 206 | "steps" : [ { 207 | "name" : "Making DELETE request to \"'/questions/160'\"", 208 | "time" : { 209 | "start" : 1673032080653, 210 | "stop" : 1673032080816, 211 | "duration" : 163 212 | }, 213 | "status" : "passed", 214 | "steps" : [ ], 215 | "attachments" : [ ], 216 | "parameters" : [ { 217 | "name" : "url", 218 | "value" : "'/questions/160'" 219 | } ], 220 | "stepsCount" : 0, 221 | "hasContent" : true, 222 | "attachmentsCount" : 0, 223 | "shouldDisplayMessage" : false 224 | } ], 225 | "attachments" : [ ], 226 | "parameters" : [ { 227 | "name" : "question_id", 228 | "value" : "160" 229 | }, { 230 | "name" : "auth", 231 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 232 | } ], 233 | "stepsCount" : 1, 234 | "hasContent" : true, 235 | "attachmentsCount" : 0, 236 | "shouldDisplayMessage" : false 237 | } ], 238 | "attachments" : [ ], 239 | "parameters" : [ ], 240 | "stepsCount" : 2, 241 | "hasContent" : true, 242 | "attachmentsCount" : 0, 243 | "shouldDisplayMessage" : false 244 | } ], 245 | "labels" : [ { 246 | "name" : "feature", 247 | "value" : "Questions" 248 | }, { 249 | "name" : "story", 250 | "value" : "Questions API" 251 | }, { 252 | "name" : "tag", 253 | "value" : "questions" 254 | }, { 255 | "name" : "parentSuite", 256 | "value" : "tests" 257 | }, { 258 | "name" : "suite", 259 | "value" : "test_futurama_questions" 260 | }, { 261 | "name" : "subSuite", 262 | "value" : "TestQuestions" 263 | }, { 264 | "name" : "host", 265 | "value" : "LAPTOP-VDKHCJMI" 266 | }, { 267 | "name" : "thread", 268 | "value" : "19868-MainThread" 269 | }, { 270 | "name" : "framework", 271 | "value" : "pytest" 272 | }, { 273 | "name" : "language", 274 | "value" : "cpython3" 275 | }, { 276 | "name" : "package", 277 | "value" : "tests.test_futurama_questions" 278 | }, { 279 | "name" : "resultFormat", 280 | "value" : "allure2" 281 | } ], 282 | "parameters" : [ ], 283 | "links" : [ ], 284 | "hidden" : true, 285 | "retry" : true, 286 | "extra" : { 287 | "categories" : [ ], 288 | "tags" : [ "questions" ] 289 | }, 290 | "source" : "ccbaef54508669f1.json", 291 | "parameterValues" : [ ] 292 | } -------------------------------------------------------------------------------- /docs/data/test-cases/d59dd00c30520052.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "d59dd00c30520052", 3 | "name" : "Delete question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_delete_question", 5 | "historyId" : "fbd3bb43d87ce6a7ed7b8bfdc667902a", 6 | "time" : { 7 | "start" : 1673031318012, 8 | "stop" : 1673031318377, 9 | "duration" : 365 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ { 15 | "name" : "function_question", 16 | "time" : { 17 | "start" : 1673031317605, 18 | "stop" : 1673031318012, 19 | "duration" : 407 20 | }, 21 | "status" : "passed", 22 | "steps" : [ { 23 | "name" : "Creating question", 24 | "time" : { 25 | "start" : 1673031317605, 26 | "stop" : 1673031318011, 27 | "duration" : 406 28 | }, 29 | "status" : "passed", 30 | "steps" : [ { 31 | "name" : "Making POST request to \"/questions\"", 32 | "time" : { 33 | "start" : 1673031317606, 34 | "stop" : 1673031318011, 35 | "duration" : 405 36 | }, 37 | "status" : "passed", 38 | "steps" : [ ], 39 | "attachments" : [ ], 40 | "parameters" : [ ], 41 | "stepsCount" : 0, 42 | "hasContent" : false, 43 | "attachmentsCount" : 0, 44 | "shouldDisplayMessage" : false 45 | } ], 46 | "attachments" : [ ], 47 | "parameters" : [ { 48 | "name" : "payload", 49 | "value" : "DefaultQuestion(id=846, question='1D70XdHDB', possible_answers=['e3AiZckVgnuaND', '9kxG4j6vNyz', 'gNHzMQS9g', 'CHzvDeqPky', 'WEWkjGt3wS', 'zQYgY6AmX4SuJHh', 'DBe68DY7zM8i', '4tdutHY5aLqboqm', 'Y5zMojCJaJMv', 'x6ePG20NTealw', 'BcvuAaoaBWQ5', 'KLHL18Qlp6B', 'TqnappKYYJ6', '8m4i2qD9Xs'], correct_answer='FkrbgiVvo7Eq')" 50 | }, { 51 | "name" : "auth", 52 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 53 | } ], 54 | "stepsCount" : 1, 55 | "hasContent" : true, 56 | "attachmentsCount" : 0, 57 | "shouldDisplayMessage" : false 58 | } ], 59 | "attachments" : [ ], 60 | "parameters" : [ ], 61 | "stepsCount" : 2, 62 | "hasContent" : true, 63 | "attachmentsCount" : 0, 64 | "shouldDisplayMessage" : false 65 | } ], 66 | "testStage" : { 67 | "status" : "passed", 68 | "steps" : [ { 69 | "name" : "Deleting question with id \"846\"", 70 | "time" : { 71 | "start" : 1673031318012, 72 | "stop" : 1673031318197, 73 | "duration" : 185 74 | }, 75 | "status" : "passed", 76 | "steps" : [ { 77 | "name" : "Making DELETE request to \"/questions/846\"", 78 | "time" : { 79 | "start" : 1673031318012, 80 | "stop" : 1673031318197, 81 | "duration" : 185 82 | }, 83 | "status" : "passed", 84 | "steps" : [ ], 85 | "attachments" : [ ], 86 | "parameters" : [ ], 87 | "stepsCount" : 0, 88 | "hasContent" : false, 89 | "attachmentsCount" : 0, 90 | "shouldDisplayMessage" : false 91 | } ], 92 | "attachments" : [ ], 93 | "parameters" : [ { 94 | "name" : "question_id", 95 | "value" : "846" 96 | }, { 97 | "name" : "auth", 98 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 99 | } ], 100 | "stepsCount" : 1, 101 | "hasContent" : true, 102 | "attachmentsCount" : 0, 103 | "shouldDisplayMessage" : false 104 | }, { 105 | "name" : "Getting question with id \"846\"", 106 | "time" : { 107 | "start" : 1673031318197, 108 | "stop" : 1673031318377, 109 | "duration" : 180 110 | }, 111 | "status" : "passed", 112 | "steps" : [ { 113 | "name" : "Making GET request to \"/questions/846\"", 114 | "time" : { 115 | "start" : 1673031318197, 116 | "stop" : 1673031318377, 117 | "duration" : 180 118 | }, 119 | "status" : "passed", 120 | "steps" : [ ], 121 | "attachments" : [ ], 122 | "parameters" : [ ], 123 | "stepsCount" : 0, 124 | "hasContent" : false, 125 | "attachmentsCount" : 0, 126 | "shouldDisplayMessage" : false 127 | } ], 128 | "attachments" : [ ], 129 | "parameters" : [ { 130 | "name" : "question_id", 131 | "value" : "846" 132 | }, { 133 | "name" : "auth", 134 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 135 | } ], 136 | "stepsCount" : 1, 137 | "hasContent" : true, 138 | "attachmentsCount" : 0, 139 | "shouldDisplayMessage" : false 140 | } ], 141 | "attachments" : [ ], 142 | "parameters" : [ ], 143 | "stepsCount" : 4, 144 | "hasContent" : true, 145 | "attachmentsCount" : 0, 146 | "shouldDisplayMessage" : false 147 | }, 148 | "afterStages" : [ { 149 | "name" : "function_question::0", 150 | "time" : { 151 | "start" : 1673031318377, 152 | "stop" : 1673031318553, 153 | "duration" : 176 154 | }, 155 | "status" : "passed", 156 | "steps" : [ { 157 | "name" : "Deleting question with id \"846\"", 158 | "time" : { 159 | "start" : 1673031318377, 160 | "stop" : 1673031318553, 161 | "duration" : 176 162 | }, 163 | "status" : "passed", 164 | "steps" : [ { 165 | "name" : "Making DELETE request to \"/questions/846\"", 166 | "time" : { 167 | "start" : 1673031318377, 168 | "stop" : 1673031318553, 169 | "duration" : 176 170 | }, 171 | "status" : "passed", 172 | "steps" : [ ], 173 | "attachments" : [ ], 174 | "parameters" : [ ], 175 | "stepsCount" : 0, 176 | "hasContent" : false, 177 | "attachmentsCount" : 0, 178 | "shouldDisplayMessage" : false 179 | } ], 180 | "attachments" : [ ], 181 | "parameters" : [ { 182 | "name" : "question_id", 183 | "value" : "846" 184 | }, { 185 | "name" : "auth", 186 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 187 | } ], 188 | "stepsCount" : 1, 189 | "hasContent" : true, 190 | "attachmentsCount" : 0, 191 | "shouldDisplayMessage" : false 192 | } ], 193 | "attachments" : [ ], 194 | "parameters" : [ ], 195 | "stepsCount" : 2, 196 | "hasContent" : true, 197 | "attachmentsCount" : 0, 198 | "shouldDisplayMessage" : false 199 | } ], 200 | "labels" : [ { 201 | "name" : "story", 202 | "value" : "Questions API" 203 | }, { 204 | "name" : "feature", 205 | "value" : "Questions" 206 | }, { 207 | "name" : "tag", 208 | "value" : "questions" 209 | }, { 210 | "name" : "parentSuite", 211 | "value" : "tests" 212 | }, { 213 | "name" : "suite", 214 | "value" : "test_futurama_questions" 215 | }, { 216 | "name" : "subSuite", 217 | "value" : "TestQuestions" 218 | }, { 219 | "name" : "host", 220 | "value" : "LAPTOP-VDKHCJMI" 221 | }, { 222 | "name" : "thread", 223 | "value" : "3260-MainThread" 224 | }, { 225 | "name" : "framework", 226 | "value" : "pytest" 227 | }, { 228 | "name" : "language", 229 | "value" : "cpython3" 230 | }, { 231 | "name" : "package", 232 | "value" : "tests.test_futurama_questions" 233 | }, { 234 | "name" : "resultFormat", 235 | "value" : "allure2" 236 | } ], 237 | "parameters" : [ ], 238 | "links" : [ ], 239 | "hidden" : true, 240 | "retry" : true, 241 | "extra" : { 242 | "categories" : [ ], 243 | "tags" : [ "questions" ] 244 | }, 245 | "source" : "d59dd00c30520052.json", 246 | "parameterValues" : [ ] 247 | } -------------------------------------------------------------------------------- /docs/data/test-cases/eb28d12d04a9d290.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "eb28d12d04a9d290", 3 | "name" : "Create question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_create_question", 5 | "historyId" : "52b40a7afa47d7d6aef873594efdacd7", 6 | "time" : { 7 | "start" : 1673031409965, 8 | "stop" : 1673031410320, 9 | "duration" : 355 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ ], 15 | "testStage" : { 16 | "status" : "passed", 17 | "steps" : [ { 18 | "name" : "Creating question", 19 | "time" : { 20 | "start" : 1673031409965, 21 | "stop" : 1673031410304, 22 | "duration" : 339 23 | }, 24 | "status" : "passed", 25 | "steps" : [ { 26 | "name" : "Making POST request to \"/questions\"", 27 | "time" : { 28 | "start" : 1673031409966, 29 | "stop" : 1673031410304, 30 | "duration" : 338 31 | }, 32 | "status" : "passed", 33 | "steps" : [ ], 34 | "attachments" : [ ], 35 | "parameters" : [ ], 36 | "stepsCount" : 0, 37 | "hasContent" : false, 38 | "attachmentsCount" : 0, 39 | "shouldDisplayMessage" : false 40 | } ], 41 | "attachments" : [ ], 42 | "parameters" : [ { 43 | "name" : "payload", 44 | "value" : "DefaultQuestion(id=887, question='BtiNd0PDvTf', possible_answers=['IHzhvdEHz', 'POT3NUMrK8R3w', 'tUaAKHEIK', 'ZAt36u9yAU', 'J5p6sNViNx', 'YmqsG8YbhgVhk3f', 'PTJLz3kk5fWom', 'TfWCqOdgnO', '9XqXc6Ucox8KC', 'gRvf3jjVMbFdl4E', 'qRSsUCNrbYIeSrD'], correct_answer='DoxUl1VwtZmcq')" 45 | }, { 46 | "name" : "auth", 47 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 48 | } ], 49 | "stepsCount" : 1, 50 | "hasContent" : true, 51 | "attachmentsCount" : 0, 52 | "shouldDisplayMessage" : false 53 | }, { 54 | "name" : "Checking that \"Question \"id\"\" equals to \"887\"", 55 | "time" : { 56 | "start" : 1673031410304, 57 | "stop" : 1673031410304, 58 | "duration" : 0 59 | }, 60 | "status" : "passed", 61 | "steps" : [ ], 62 | "attachments" : [ ], 63 | "parameters" : [ ], 64 | "stepsCount" : 0, 65 | "hasContent" : false, 66 | "attachmentsCount" : 0, 67 | "shouldDisplayMessage" : false 68 | }, { 69 | "name" : "Checking that \"None\" equals to \"BtiNd0PDvTf\"", 70 | "time" : { 71 | "start" : 1673031410304, 72 | "stop" : 1673031410304, 73 | "duration" : 0 74 | }, 75 | "status" : "passed", 76 | "steps" : [ ], 77 | "attachments" : [ ], 78 | "parameters" : [ ], 79 | "stepsCount" : 0, 80 | "hasContent" : false, 81 | "attachmentsCount" : 0, 82 | "shouldDisplayMessage" : false 83 | }, { 84 | "name" : "Checking that \"None\" equals to \"['IHzhvdEHz', 'POT3NUMrK8R3w', 'tUaAKHEIK', 'ZAt36u9yAU', 'J5p6sNViNx', 'YmqsG8YbhgVhk3f', 'PTJLz3kk5fWom', 'TfWCqOdgnO', '9XqXc6Ucox8KC', 'gRvf3jjVMbFdl4E', 'qRSsUCNrbYIeSrD']\"", 85 | "time" : { 86 | "start" : 1673031410304, 87 | "stop" : 1673031410304, 88 | "duration" : 0 89 | }, 90 | "status" : "passed", 91 | "steps" : [ ], 92 | "attachments" : [ ], 93 | "parameters" : [ ], 94 | "stepsCount" : 0, 95 | "hasContent" : false, 96 | "attachmentsCount" : 0, 97 | "shouldDisplayMessage" : false 98 | }, { 99 | "name" : "Checking that \"None\" equals to \"DoxUl1VwtZmcq\"", 100 | "time" : { 101 | "start" : 1673031410304, 102 | "stop" : 1673031410304, 103 | "duration" : 0 104 | }, 105 | "status" : "passed", 106 | "steps" : [ ], 107 | "attachments" : [ ], 108 | "parameters" : [ ], 109 | "stepsCount" : 0, 110 | "hasContent" : false, 111 | "attachmentsCount" : 0, 112 | "shouldDisplayMessage" : false 113 | }, { 114 | "name" : "Validating schema for instance", 115 | "time" : { 116 | "start" : 1673031410304, 117 | "stop" : 1673031410320, 118 | "duration" : 16 119 | }, 120 | "status" : "passed", 121 | "steps" : [ ], 122 | "attachments" : [ ], 123 | "parameters" : [ ], 124 | "stepsCount" : 0, 125 | "hasContent" : false, 126 | "attachmentsCount" : 0, 127 | "shouldDisplayMessage" : false 128 | } ], 129 | "attachments" : [ ], 130 | "parameters" : [ ], 131 | "stepsCount" : 7, 132 | "hasContent" : true, 133 | "attachmentsCount" : 0, 134 | "shouldDisplayMessage" : false 135 | }, 136 | "afterStages" : [ ], 137 | "labels" : [ { 138 | "name" : "feature", 139 | "value" : "Questions" 140 | }, { 141 | "name" : "story", 142 | "value" : "Questions API" 143 | }, { 144 | "name" : "tag", 145 | "value" : "questions" 146 | }, { 147 | "name" : "parentSuite", 148 | "value" : "tests" 149 | }, { 150 | "name" : "suite", 151 | "value" : "test_futurama_questions" 152 | }, { 153 | "name" : "subSuite", 154 | "value" : "TestQuestions" 155 | }, { 156 | "name" : "host", 157 | "value" : "LAPTOP-VDKHCJMI" 158 | }, { 159 | "name" : "thread", 160 | "value" : "12112-MainThread" 161 | }, { 162 | "name" : "framework", 163 | "value" : "pytest" 164 | }, { 165 | "name" : "language", 166 | "value" : "cpython3" 167 | }, { 168 | "name" : "package", 169 | "value" : "tests.test_futurama_questions" 170 | }, { 171 | "name" : "resultFormat", 172 | "value" : "allure2" 173 | } ], 174 | "parameters" : [ ], 175 | "links" : [ ], 176 | "hidden" : true, 177 | "retry" : true, 178 | "extra" : { 179 | "categories" : [ ], 180 | "tags" : [ "questions" ] 181 | }, 182 | "source" : "eb28d12d04a9d290.json", 183 | "parameterValues" : [ ] 184 | } -------------------------------------------------------------------------------- /docs/data/test-cases/fbb96751104953b7.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "fbb96751104953b7", 3 | "name" : "Delete question", 4 | "fullName" : "tests.test_futurama_questions.TestQuestions#test_delete_question", 5 | "historyId" : "fbd3bb43d87ce6a7ed7b8bfdc667902a", 6 | "time" : { 7 | "start" : 1673168337872, 8 | "stop" : 1673168338209, 9 | "duration" : 337 10 | }, 11 | "status" : "passed", 12 | "flaky" : false, 13 | "newFailed" : false, 14 | "beforeStages" : [ { 15 | "name" : "function_question", 16 | "time" : { 17 | "start" : 1673168337493, 18 | "stop" : 1673168337871, 19 | "duration" : 378 20 | }, 21 | "status" : "passed", 22 | "steps" : [ { 23 | "name" : "Creating question", 24 | "time" : { 25 | "start" : 1673168337493, 26 | "stop" : 1673168337871, 27 | "duration" : 378 28 | }, 29 | "status" : "passed", 30 | "steps" : [ { 31 | "name" : "Making POST request to \"'/questions'\"", 32 | "time" : { 33 | "start" : 1673168337493, 34 | "stop" : 1673168337871, 35 | "duration" : 378 36 | }, 37 | "status" : "passed", 38 | "steps" : [ ], 39 | "attachments" : [ ], 40 | "parameters" : [ { 41 | "name" : "url", 42 | "value" : "'/questions'" 43 | }, { 44 | "name" : "json", 45 | "value" : "{'id': 445, 'question': 'xcvVoq8sK', 'possibleAnswers': ['yW3VHHrxe', 'JCl1zo5CN9PVGe', 'zf4lCpxhFs', 'O9YaXLxDF4a1mg', 'RjlCbsfNG2bfHb', 'OueDPAMKb', 'm4XbAAf7Y', 'MBxvtnH80tya5zw', 'fFjiqaU8FDT', 'FjKZ89qALWs', 'MIBVxvwtpvKO5Lz', 'EAMLFP3eYr', 'Ji9vudUqQ', 'rLaC04R8P3N'], 'correctAnswer': '1TP4UvqmboIB'}" 46 | } ], 47 | "stepsCount" : 0, 48 | "hasContent" : true, 49 | "attachmentsCount" : 0, 50 | "shouldDisplayMessage" : false 51 | } ], 52 | "attachments" : [ ], 53 | "parameters" : [ { 54 | "name" : "payload", 55 | "value" : "DefaultQuestion(id=445, question='xcvVoq8sK', possible_answers=['yW3VHHrxe', 'JCl1zo5CN9PVGe', 'zf4lCpxhFs', 'O9YaXLxDF4a1mg', 'RjlCbsfNG2bfHb', 'OueDPAMKb', 'm4XbAAf7Y', 'MBxvtnH80tya5zw', 'fFjiqaU8FDT', 'FjKZ89qALWs', 'MIBVxvwtpvKO5Lz', 'EAMLFP3eYr', 'Ji9vudUqQ', 'rLaC04R8P3N'], correct_answer='1TP4UvqmboIB')" 56 | }, { 57 | "name" : "auth", 58 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 59 | } ], 60 | "stepsCount" : 1, 61 | "hasContent" : true, 62 | "attachmentsCount" : 0, 63 | "shouldDisplayMessage" : false 64 | } ], 65 | "attachments" : [ ], 66 | "parameters" : [ ], 67 | "stepsCount" : 2, 68 | "hasContent" : true, 69 | "attachmentsCount" : 0, 70 | "shouldDisplayMessage" : false 71 | } ], 72 | "testStage" : { 73 | "status" : "passed", 74 | "steps" : [ { 75 | "name" : "Deleting question with id \"445\"", 76 | "time" : { 77 | "start" : 1673168337873, 78 | "stop" : 1673168338042, 79 | "duration" : 169 80 | }, 81 | "status" : "passed", 82 | "steps" : [ { 83 | "name" : "Making DELETE request to \"'/questions/445'\"", 84 | "time" : { 85 | "start" : 1673168337874, 86 | "stop" : 1673168338042, 87 | "duration" : 168 88 | }, 89 | "status" : "passed", 90 | "steps" : [ ], 91 | "attachments" : [ ], 92 | "parameters" : [ { 93 | "name" : "url", 94 | "value" : "'/questions/445'" 95 | } ], 96 | "stepsCount" : 0, 97 | "hasContent" : true, 98 | "attachmentsCount" : 0, 99 | "shouldDisplayMessage" : false 100 | } ], 101 | "attachments" : [ ], 102 | "parameters" : [ { 103 | "name" : "question_id", 104 | "value" : "445" 105 | }, { 106 | "name" : "auth", 107 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 108 | } ], 109 | "stepsCount" : 1, 110 | "hasContent" : true, 111 | "attachmentsCount" : 0, 112 | "shouldDisplayMessage" : false 113 | }, { 114 | "name" : "Getting question with id \"445\"", 115 | "time" : { 116 | "start" : 1673168338042, 117 | "stop" : 1673168338209, 118 | "duration" : 167 119 | }, 120 | "status" : "passed", 121 | "steps" : [ { 122 | "name" : "Making GET request to \"'/questions/445'\"", 123 | "time" : { 124 | "start" : 1673168338043, 125 | "stop" : 1673168338209, 126 | "duration" : 166 127 | }, 128 | "status" : "passed", 129 | "steps" : [ ], 130 | "attachments" : [ ], 131 | "parameters" : [ { 132 | "name" : "url", 133 | "value" : "'/questions/445'" 134 | } ], 135 | "stepsCount" : 0, 136 | "hasContent" : true, 137 | "attachmentsCount" : 0, 138 | "shouldDisplayMessage" : false 139 | } ], 140 | "attachments" : [ ], 141 | "parameters" : [ { 142 | "name" : "question_id", 143 | "value" : "445" 144 | }, { 145 | "name" : "auth", 146 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 147 | } ], 148 | "stepsCount" : 1, 149 | "hasContent" : true, 150 | "attachmentsCount" : 0, 151 | "shouldDisplayMessage" : false 152 | }, { 153 | "name" : "Checking that \"None\" equals to \"200\"", 154 | "time" : { 155 | "start" : 1673168338209, 156 | "stop" : 1673168338209, 157 | "duration" : 0 158 | }, 159 | "status" : "passed", 160 | "steps" : [ ], 161 | "attachments" : [ ], 162 | "parameters" : [ ], 163 | "stepsCount" : 0, 164 | "hasContent" : false, 165 | "attachmentsCount" : 0, 166 | "shouldDisplayMessage" : false 167 | }, { 168 | "name" : "Checking that \"None\" equals to \"404\"", 169 | "time" : { 170 | "start" : 1673168338209, 171 | "stop" : 1673168338209, 172 | "duration" : 0 173 | }, 174 | "status" : "passed", 175 | "steps" : [ ], 176 | "attachments" : [ ], 177 | "parameters" : [ ], 178 | "stepsCount" : 0, 179 | "hasContent" : false, 180 | "attachmentsCount" : 0, 181 | "shouldDisplayMessage" : false 182 | } ], 183 | "attachments" : [ ], 184 | "parameters" : [ ], 185 | "stepsCount" : 6, 186 | "hasContent" : true, 187 | "attachmentsCount" : 0, 188 | "shouldDisplayMessage" : false 189 | }, 190 | "afterStages" : [ { 191 | "name" : "function_question::0", 192 | "time" : { 193 | "start" : 1673168338210, 194 | "stop" : 1673168338380, 195 | "duration" : 170 196 | }, 197 | "status" : "passed", 198 | "steps" : [ { 199 | "name" : "Deleting question with id \"445\"", 200 | "time" : { 201 | "start" : 1673168338210, 202 | "stop" : 1673168338380, 203 | "duration" : 170 204 | }, 205 | "status" : "passed", 206 | "steps" : [ { 207 | "name" : "Making DELETE request to \"'/questions/445'\"", 208 | "time" : { 209 | "start" : 1673168338210, 210 | "stop" : 1673168338380, 211 | "duration" : 170 212 | }, 213 | "status" : "passed", 214 | "steps" : [ ], 215 | "attachments" : [ ], 216 | "parameters" : [ { 217 | "name" : "url", 218 | "value" : "'/questions/445'" 219 | } ], 220 | "stepsCount" : 0, 221 | "hasContent" : true, 222 | "attachmentsCount" : 0, 223 | "shouldDisplayMessage" : false 224 | } ], 225 | "attachments" : [ ], 226 | "parameters" : [ { 227 | "name" : "question_id", 228 | "value" : "445" 229 | }, { 230 | "name" : "auth", 231 | "value" : "Authentication(auth_token=None, user=AuthUser(email='some@gmail.com', password='some'))" 232 | } ], 233 | "stepsCount" : 1, 234 | "hasContent" : true, 235 | "attachmentsCount" : 0, 236 | "shouldDisplayMessage" : false 237 | } ], 238 | "attachments" : [ ], 239 | "parameters" : [ ], 240 | "stepsCount" : 2, 241 | "hasContent" : true, 242 | "attachmentsCount" : 0, 243 | "shouldDisplayMessage" : false 244 | } ], 245 | "labels" : [ { 246 | "name" : "story", 247 | "value" : "Questions API" 248 | }, { 249 | "name" : "feature", 250 | "value" : "Questions" 251 | }, { 252 | "name" : "tag", 253 | "value" : "questions" 254 | }, { 255 | "name" : "parentSuite", 256 | "value" : "tests" 257 | }, { 258 | "name" : "suite", 259 | "value" : "test_futurama_questions" 260 | }, { 261 | "name" : "subSuite", 262 | "value" : "TestQuestions" 263 | }, { 264 | "name" : "host", 265 | "value" : "LAPTOP-VDKHCJMI" 266 | }, { 267 | "name" : "thread", 268 | "value" : "27412-MainThread" 269 | }, { 270 | "name" : "framework", 271 | "value" : "pytest" 272 | }, { 273 | "name" : "language", 274 | "value" : "cpython3" 275 | }, { 276 | "name" : "package", 277 | "value" : "tests.test_futurama_questions" 278 | }, { 279 | "name" : "resultFormat", 280 | "value" : "allure2" 281 | } ], 282 | "parameters" : [ ], 283 | "links" : [ ], 284 | "hidden" : true, 285 | "retry" : true, 286 | "extra" : { 287 | "categories" : [ ], 288 | "tags" : [ "questions" ] 289 | }, 290 | "source" : "fbb96751104953b7.json", 291 | "parameterValues" : [ ] 292 | } -------------------------------------------------------------------------------- /docs/export/influxDbData.txt: -------------------------------------------------------------------------------- 1 | launch_status failed=0 1673168739000000000 2 | launch_status broken=0 1673168739000000000 3 | launch_status passed=5 1673168739000000000 4 | launch_status skipped=0 1673168739000000000 5 | launch_status unknown=0 1673168739000000000 6 | launch_time duration=3067 1673168739000000000 7 | launch_time min_duration=155 1673168739000000000 8 | launch_time max_duration=641 1673168739000000000 9 | launch_time sum_duration=1712 1673168739000000000 10 | launch_retries retries=30 1673168739000000000 11 | launch_retries run=5 1673168739000000000 12 | -------------------------------------------------------------------------------- /docs/export/mail.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |' + data.error + ''; 86 | }, 87 | }); 88 | var AttachmentView = Backbone.Marionette.View.extend({ 89 | regions: { 90 | subView: '.screen-diff-view', 91 | }, 92 | template: function () { 93 | return ''; 94 | }, 95 | onRender: function () { 96 | jQuery 97 | .getJSON(this.options.sourceUrl) 98 | .then(this.renderScreenDiffView.bind(this), this.renderErrorView.bind(this)); 99 | }, 100 | renderErrorView: function (error) { 101 | console.log(error); 102 | this.showChildView( 103 | 'subView', 104 | new ErrorView({ 105 | error: error.statusText, 106 | }), 107 | ); 108 | }, 109 | renderScreenDiffView: function (data) { 110 | this.showChildView( 111 | 'subView', 112 | new ScreenDiffView({ 113 | diffImage: data.diff, 114 | actualImage: data.actual, 115 | expectedImage: data.expected, 116 | }), 117 | ); 118 | }, 119 | }); 120 | 121 | var ScreenDiffView = Backbone.Marionette.View.extend({ 122 | className: 'pane__section', 123 | events: function () { 124 | return { 125 | ['click [name="screen-diff-type-' + this.cid + '"]']: 'onDiffTypeChange', 126 | 'mousemove .screen-diff__overlay': 'onOverlayMove', 127 | }; 128 | }, 129 | initialize: function (options) { 130 | this.diffImage = options.diffImage; 131 | this.actualImage = options.actualImage; 132 | this.expectedImage = options.expectedImage; 133 | this.radioName = 'screen-diff-type-' + this.cid; 134 | }, 135 | templateContext: function () { 136 | return { 137 | diffType: settings.get('diffType'), 138 | diffImage: this.diffImage, 139 | actualImage: this.actualImage, 140 | expectedImage: this.expectedImage, 141 | radioName: this.radioName, 142 | }; 143 | }, 144 | template: function (data) { 145 | if (!data.diffImage && !data.actualImage && !data.expectedImage) { 146 | return ''; 147 | } 148 | 149 | return ( 150 | '