{"id":20173002,"url":"https://github.com/humansignal/ls-frontend-test","last_synced_at":"2025-05-07T01:34:32.594Z","repository":{"id":207382457,"uuid":"621456501","full_name":"HumanSignal/ls-frontend-test","owner":"HumanSignal","description":"Frontend test suite with Cypress","archived":false,"fork":false,"pushed_at":"2024-01-31T15:45:14.000Z","size":246,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-02-01T16:56:57.478Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/HumanSignal.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}},"created_at":"2023-03-30T17:44:43.000Z","updated_at":"2023-11-15T12:36:59.000Z","dependencies_parsed_at":"2024-01-30T16:51:21.865Z","dependency_job_id":"e69e7b40-6db4-4588-aa70-0878b1827086","html_url":"https://github.com/HumanSignal/ls-frontend-test","commit_stats":null,"previous_names":["humansignal/ls-frontend-test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanSignal%2Fls-frontend-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanSignal%2Fls-frontend-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanSignal%2Fls-frontend-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanSignal%2Fls-frontend-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HumanSignal","download_url":"https://codeload.github.com/HumanSignal/ls-frontend-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224552087,"owners_count":17330237,"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":[],"created_at":"2024-11-14T01:33:06.659Z","updated_at":"2024-11-14T01:33:07.089Z","avatar_url":"https://github.com/HumanSignal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is pre-configured Cypress testing environment packed with helpers for each UI element that exists in Label Studio\n\n# Install\n\nIf you want to install it to a new repo, run the following\n\n```bash\n# Create test folder\nmkdir __test__\n# Change dir\ncd __test__\n# Init new package with all defaults\nyarn init --yes\n# Add ls-test to the package\nyarn add git+ssh://git@github.com/heartexlabs/ls-frontend-test.git\n# Run a built-in init script to setup your environment\nyarn run lstest init\n```\n\nIt will init a new module package and will install everything you need.\n\nAfter that run\n- `yarn test` for console-based testing\n- `yarn test:ui` from Cypress UI\n\n# Using helpers\nIn you spec file:\n\n```javascript\n// For LSF Specific helpers\nimport { LabelStudio } from '@heartexlabs/ls-test/helpers/LSF';\n\n// Or for all available helpers\nimport { LSF } from '@heartexlabs/ls-test/helpers';\n\n// Usage\ndescribe('Test', () =\u003e {\n  it(\"Should pass\", () =\u003e {\n    LSF.LabelStudio.init({\n      config: '\u003cView\u003e\u003c/View\u003e',\n      task: { annotations: [], predictions: [] }\n    });\n  });\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumansignal%2Fls-frontend-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumansignal%2Fls-frontend-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumansignal%2Fls-frontend-test/lists"}