{"id":20955808,"url":"https://github.com/areal060781/mobile-taf-pytest","last_synced_at":"2026-04-27T00:31:08.688Z","repository":{"id":125077578,"uuid":"375380831","full_name":"areal060781/mobile-taf-pytest","owner":"areal060781","description":"E2E UI automation project for a mobile application","archived":false,"fork":false,"pushed_at":"2023-02-10T23:18:27.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-02T05:40:14.766Z","etag":null,"topics":["appium","e2e","python3","selenium"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/areal060781.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-09T14:18:02.000Z","updated_at":"2023-09-20T15:06:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"e070293a-4c07-4d0b-9cbe-7ba719262198","html_url":"https://github.com/areal060781/mobile-taf-pytest","commit_stats":null,"previous_names":["areal060781/mobile-taf-pytest"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/areal060781/mobile-taf-pytest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areal060781%2Fmobile-taf-pytest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areal060781%2Fmobile-taf-pytest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areal060781%2Fmobile-taf-pytest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areal060781%2Fmobile-taf-pytest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/areal060781","download_url":"https://codeload.github.com/areal060781/mobile-taf-pytest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areal060781%2Fmobile-taf-pytest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32318417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appium","e2e","python3","selenium"],"created_at":"2024-11-19T01:21:16.027Z","updated_at":"2026-04-27T00:31:08.673Z","avatar_url":"https://github.com/areal060781.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# E2E Automation testing project\n\n## Requirements\n* Python 3.9\n* Pipenv\n* Selenium webdriver\n* Appium\n\n## Installation\nInstall dependencies and activate the virtual environment\nFrom project root, run:\n```sh\npipenv install --dev\npipenv shell\n```\n\n## Configuration\nAdjust the valuies in data.py, \n\n## Executing testcases\nFrom project root, run:\n\n```sh\npytest\npytest file.py::Class::test_case\npytest tests/test_name.py -s -v\n```\n\n### Executing testcases and publish results with ZS4J\nFrom project root, run the following command to use ZS4J Report API, a .report.json file will be generated and a new text execution will be created automatically\n[`POST /testexecutions`](https://support.smartbear.com/zephyr-scale-cloud/api-docs/#operation/createTestExecution)\n```sh\npytest --tm4j\n```\n\n### Executing tests and uploading results to Zephyr Scale manually\nIn order to instruct pytest to generate the JUnit XML results file, all that is required is to execute the tests with `--junitxml` parameter followed by the xml file name. Here is an example:\n\n```\npytest --junitxml=output/junitxml_report.xml\n```\n\nThe command line above will execute the pytest tests and generate the JUnit XML results file `output/junitxml_report.xml`. Then, this file containing the test results can be uploaded to Zephyr Scale using the following API endpoint: [`POST /automations/executions/junit`](https://support.smartbear.com/zephyr-scale-cloud/api-docs/#operation/createJUnitExecutions).\n\nThe above mentioned API accepts either a single XML file as well as a .zip file containing multiple XML files. The POST request will create a new test cycle in Zephyr Scale containing the results and will respond with the key of the created test cycle.\n\nBelow, an example using curl of how to use the API endpoint for uploading one single file:\n\n```\ncurl -H \"Authorization: Bearer ${TOKEN}\" -F \"file=@TestSuites.xml;type=application/xml\" https://api.zephyrscale.smartbear.com/v2/automations/executions/junit?projectKey=\"JQA\"\u0026autoCreateTestCases=true\n```\n\nNote the query parameters on the URL. The projectKey specifies what project will be used to create the test cycle. The autoCreateTestCase will create a test case using the pytest test method name when no matching test case is found.\n\n\n## Planned project structure\n```\nautomation-project/\n├── conf/                         # Configuration files\n├── output/                       # Testing execution results\n|   ├── logs/\n|   ├── reports/\n|   └── screenshoots/\n├── pageobjects/                  # Page Object Model classes\n├── tests/                        # Test cases\n|   ├── fixtures/\n|   └── test_login.py\n└── utils/                        # Libraries for common use\n    ├── pytest_zs4j_reporter/\n    └── zs4j_reporter_api/\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareal060781%2Fmobile-taf-pytest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fareal060781%2Fmobile-taf-pytest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareal060781%2Fmobile-taf-pytest/lists"}