{"id":17548801,"url":"https://github.com/lslezak/d-installer-test-cypress","last_synced_at":"2025-08-01T20:12:14.844Z","repository":{"id":64000823,"uuid":"572448228","full_name":"lslezak/d-installer-test-cypress","owner":"lslezak","description":"Experimental integration tests for the D-Installer (using the Cypress framework)","archived":false,"fork":false,"pushed_at":"2022-12-14T08:51:28.000Z","size":195,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T06:33:17.205Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lslezak.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}},"created_at":"2022-11-30T09:48:32.000Z","updated_at":"2022-11-30T09:50:21.000Z","dependencies_parsed_at":"2023-01-14T18:01:07.947Z","dependency_job_id":null,"html_url":"https://github.com/lslezak/d-installer-test-cypress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lslezak/d-installer-test-cypress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lslezak%2Fd-installer-test-cypress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lslezak%2Fd-installer-test-cypress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lslezak%2Fd-installer-test-cypress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lslezak%2Fd-installer-test-cypress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lslezak","download_url":"https://codeload.github.com/lslezak/d-installer-test-cypress/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lslezak%2Fd-installer-test-cypress/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268290751,"owners_count":24226646,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-21T02:44:12.529Z","updated_at":"2025-08-01T20:12:14.811Z","avatar_url":"https://github.com/lslezak.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Experimental End-to-End Tests for the D-Installer\n\nThis is a testing repository with integrations tests for the\n[D-Installer](https://github.com/yast/d-installer) project.\n\n![Cypress running D-Installer tests](doc/d-installer-cypress.png)\n\n## Cypress\n\nThese tests use the [Cypress](https://www.cypress.io/) testing framework.\n\n## Installation\n\nCheckout this repository and run this command in it:\n\n```shell\nnpm install\n```\n\nThis will install the NPM packages into the `node_modules` subdirectory\nand download the Cypress framework into the `~/.cache/Cypress` directory.\n\n*Note: The uncompressed Cypress needs about 0.5GB, make sure you have enough\nspace in your $HOME directory.*\n\n## Editing the Tests\n\n- `cypress.config.js` - Cypress configuration, see [documentation](\n  https://docs.cypress.io/guides/references/configuration) for more details\n- `cypress/support/e2e.js` - the main file loaded before all tests\n- `cypress/support/commands.js` - extends the Cypress functionality,\n  define helper methods (loaded from `e2e.js`)\n- `cypress/e2e/\\*.cy.js` - individual test files\n\n## Running the Tests\n\n### Setting the Target\n\nThis project defines the default URL as `https://localhost:9090` which\nexpects the D-Installer is running locally. If you want to run the test against\nan instance which is running elsewhere use set the `CYPRESS_BASE_URL` environment\nvariable.\n\n```\nCYPRESS_BASE_URL=https://192.168.1.12:9090\n```\n\n### Interactive Session\n\nYou can run the tests interactively using a GUI frontend:\n\n```\nnpx cypress open\n```\n\nJust click a test file to run it. Cypress watches the tests and re-runs them\nif they are modified.\n\n### Command Line Session\n\nOr you can run the tests from command line. To run all tests using the embedded\nElectron browser:\n\n```\nnpx cypress run\n```\n\nTo use a specific browser from the current system:\n\n```\nnpx cypress run --browser chrome\n```\n\nYou can list the available browsers with:\n\n```\nnpx cypress info\n```\n\nTo run just a specific test:\n\n```\nnpx cypress run --browser chrome --spec cypress/e2e/login.cy.js\n```\n\nThe tests are by default run in headless mode, if want to see the actions\nin a browser use the `--headed` option.\n\n## Cypress Documentation\n\n- https://docs.cypress.io/\n- https://www.youtube.com/watch?v=5XQOK0v_YRE\n- https://github.com/cypress-io/cypress-realworld-app\n- https://github.com/cypress-io/cypress-example-recipes","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flslezak%2Fd-installer-test-cypress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flslezak%2Fd-installer-test-cypress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flslezak%2Fd-installer-test-cypress/lists"}