{"id":21430097,"url":"https://github.com/cuba-platform/sample-ui-test","last_synced_at":"2025-03-16T21:44:46.524Z","repository":{"id":150932318,"uuid":"133527879","full_name":"cuba-platform/sample-ui-test","owner":"cuba-platform","description":"Sample application: UI Tests for CUBA Platform applications","archived":false,"fork":false,"pushed_at":"2019-12-06T09:46:29.000Z","size":152,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T08:19:29.801Z","etag":null,"topics":["cuba-platform","cuba-sample","sample","testing"],"latest_commit_sha":null,"homepage":"","language":"Groovy","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/cuba-platform.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":"2018-05-15T14:25:49.000Z","updated_at":"2021-12-22T14:00:07.000Z","dependencies_parsed_at":"2023-04-28T00:01:40.413Z","dependency_job_id":null,"html_url":"https://github.com/cuba-platform/sample-ui-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-ui-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-ui-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-ui-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-ui-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuba-platform","download_url":"https://codeload.github.com/cuba-platform/sample-ui-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243940063,"owners_count":20372044,"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":["cuba-platform","cuba-sample","sample","testing"],"created_at":"2024-11-22T22:20:40.935Z","updated_at":"2025-03-16T21:44:46.501Z","avatar_url":"https://github.com/cuba-platform.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UI Tests\n\nThis is a small project based on CUBA platform. This application is designed to show features of the [masquerade](https://github.com/cuba-platform/masquerade) library for the CUBA apps automation UI tests.\n\nThe project covers the following aspects:\n\n- Simple login test\n   - Example of LoginWindow class as an abstraction of the Login Window screen\n- Create a new user in the system\n   - Example of UserBrowser and UserEdit classes as an abstractions of the User Browser and User Edit screens\n\nRun the following tasks in the terminal to start application with Gradle:\n\n```\n    gradlew setupTomcat deploy createDb start\n```\n\nor click the *Start Application Server* option to start the application from Studio.\n\nIn order to run tests, do the following:\n\n- to run the simple test or the test class you need to edit standard\n  test configuration for the test project in IntelliJ. To do so, click the\n  *Select Run/Debug Configuration* button and select *Edit Configurations*  in the\n  drop-down list. In the VM options field, add the following:\n\n      -Dselenide.browser=chrome -Dwebdriver.chrome.driver=\u003cyour_path\u003e/chromedriver.exe\n\n  where `\u003cyour_path\u003e` is the path to the chrome driver on your computer.\n\n  After that, select the simple test or the test class you want to run, right\n  click on it and select *Debug* option.\n\n- to run all tests from the command line, use the `testUi` Gradle task:\n\n```\n    gradlew testUi -Dselenide.browser=chrome -Dwebdriver.chrome.driver=\u003cyour_path\u003e/chromedriver.exe\n```\n\n   where `\u003cyour_path\u003e` is the path to the chrome driver on your computer.\n   \nBased on CUBA Platform 7.1.2\n\n## Issues\nPlease use https://www.cuba-platform.com/discuss for discussion, support, and reporting problems coressponding to this sample.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuba-platform%2Fsample-ui-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuba-platform%2Fsample-ui-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuba-platform%2Fsample-ui-test/lists"}