{"id":21116912,"url":"https://github.com/sunagatov/iced-latte-qa","last_synced_at":"2025-06-16T03:33:09.489Z","repository":{"id":199565409,"uuid":"679374017","full_name":"Sunagatov/Iced-Latte-QA","owner":"Sunagatov","description":"a online Marketplace for coffee retail (QA)","archived":false,"fork":false,"pushed_at":"2024-04-10T10:50:14.000Z","size":603,"stargazers_count":94,"open_issues_count":1,"forks_count":28,"subscribers_count":2,"default_branch":"development","last_synced_at":"2024-04-13T22:43:29.421Z","etag":null,"topics":["python","qa-automation-test"],"latest_commit_sha":null,"homepage":"https://iced-latte.uk","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sunagatov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-08-16T17:36:43.000Z","updated_at":"2024-04-20T21:26:05.015Z","dependencies_parsed_at":"2023-11-11T23:22:11.291Z","dependency_job_id":"991f101e-b157-471c-862f-d485013745be","html_url":"https://github.com/Sunagatov/Iced-Latte-QA","commit_stats":null,"previous_names":["sunagatov/online-store-qa","sunagatov/iced-latte-qa"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sunagatov/Iced-Latte-QA","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunagatov%2FIced-Latte-QA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunagatov%2FIced-Latte-QA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunagatov%2FIced-Latte-QA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunagatov%2FIced-Latte-QA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sunagatov","download_url":"https://codeload.github.com/Sunagatov/Iced-Latte-QA/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunagatov%2FIced-Latte-QA/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260090545,"owners_count":22957244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["python","qa-automation-test"],"created_at":"2024-11-20T02:36:58.957Z","updated_at":"2025-06-16T03:33:09.469Z","avatar_url":"https://github.com/Sunagatov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Iced Latte QA\n[![Total Lines of Code](https://tokei.rs/b1/github/Sunagatov/Iced-Latte-QA?category=lines)](https://github.com/Sunagatov/Iced-Latte-QA)\n\nAutomated tests in Python for project Iced Latte -\u003e https://github.com/Sunagatov/Iced-Latte/\n\n## Instruction\nFor running tests should be created configs.py in root directory of format:\n```Python\nHOST = '\u003cURL:port to app Online-Store\u003e'\nHOST_DB = '\u003cURL to database of service\u003e'\nPORT_DB = '\u003cport to database of service\u003e'\nDB_NAME = '\u003cname database\u003e'\nDB_USER = '\u003cusername for connect to database\u003e'\nDB_PASS = '\u003cpassword for connect to database\u003e'\nDEFAULT_PASSWORD = '\u003cdefault password for test users\u003e'\nJWT_SECRET = '\u003cdefault secret for JWT\u003e'\n```\n## Start Local Iced-Latte Backend\n\n```sh\n./start_be.sh\n```\n\nor\n\n```sh\n./start_be.sh [tag]\n# for example\n./start_be.sh development-bf1ba24\n```\n\n\u003e Notes: \n\u003e * optional parameter is a tag from the Docker Hub for [BE image](https://hub.docker.com/r/zufarexplainedit/iced-latte-backend/tags), default is the latest tag\n\u003e * it might be necessary to make script executable before the first run `chmod +x ./start_be.sh`\n\u003e * the script will pull the specified version of BE image and start BE, Postgres and Minio\n\u003e * if the tag on DockerHub is different from the latest commit on BE `development` branch, the script will print warning\n\u003e * periodically clean up the system by running [`docker rm`](https://docs.docker.com/engine/reference/commandline/container_rm/)\n\nSwagger will be available here [http://localhost:8083/api/docs/swagger-ui/index.html](http://localhost:8083/api/docs/swagger-ui/index.html).\n\nTo check the logs use:\n\n```sh\ndocker-compose -f docker-compose.local.yml logs --tail 500\n```\n\n## Report\n(!) BE SURE TO INSTALL ALLURE -\u003e https://allurereport.org/docs/gettingstarted/installation/\n\nTo get the Allure report on the local computer, follow these steps in root directory:\n```bash\npython -m pytest ./tests --alluredir=allure_report --clean-alluredir\nallure serve allure_report\n```\n\n## Pre-commit hooks\nFor running pre-commit hooks should be installed pre-commit -\u003e https://pre-commit.com/#install\n```bash\npre-commit install\n```\nTo run pre-commit hooks, execute next command before commit:\n```bash\npre-commit run --all-files\n```\n\n## Database Navigator\n\n\u003e For Ultimate Edition consider using [Database Tools and SQL plugin](https://www.jetbrains.com/help/idea/relational-databases.html)\n\nInstall Database Navigator Plugin:\n\n1. double click **Shift**\n2. type **Plugins**\n3. type **Database Navigator** \u003e click **Install**\n4. navigate to **View** \u003e **Tool Windows** \u003e **DB Browser**\n5. click New Connection \n6. select PostgesSQL\n\nGo to **View** \u003e **Tool Windows** \u003e **DB Browser**.\n\nAdd new PostgresSQL connection:\n * Host `127.0.0.1`\n * Database `testdb`\n * User `postgres`\n * Password `postgres`\n\n![](db_navigator_setup.png)\n\nEnjoy!\n\n![](db_navigator.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunagatov%2Ficed-latte-qa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunagatov%2Ficed-latte-qa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunagatov%2Ficed-latte-qa/lists"}