{"id":24502757,"url":"https://github.com/sul-dlss/folio_qa_tests","last_synced_at":"2025-06-17T19:40:01.761Z","repository":{"id":38328723,"uuid":"444991906","full_name":"sul-dlss/folio_qa_tests","owner":"sul-dlss","description":"QA Tests for migrating and loading data to SUL's FOLIO LSP.","archived":false,"fork":false,"pushed_at":"2024-02-26T02:34:35.000Z","size":111,"stargazers_count":0,"open_issues_count":21,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-06-01T08:52:55.022Z","etag":null,"topics":["cypress","javascript","libsys","testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"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/sul-dlss.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":"2022-01-06T00:35:22.000Z","updated_at":"2022-03-04T20:14:54.000Z","dependencies_parsed_at":"2024-11-21T05:12:38.178Z","dependency_job_id":"ea72dff2-21cb-440d-96cd-d73f2f04bf3b","html_url":"https://github.com/sul-dlss/folio_qa_tests","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sul-dlss/folio_qa_tests","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sul-dlss%2Ffolio_qa_tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sul-dlss%2Ffolio_qa_tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sul-dlss%2Ffolio_qa_tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sul-dlss%2Ffolio_qa_tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sul-dlss","download_url":"https://codeload.github.com/sul-dlss/folio_qa_tests/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sul-dlss%2Ffolio_qa_tests/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260427394,"owners_count":23007504,"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":["cypress","javascript","libsys","testing"],"created_at":"2025-01-21T23:13:51.306Z","updated_at":"2025-06-17T19:39:56.750Z","avatar_url":"https://github.com/sul-dlss.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FOLIO Quality Assurance Testing for Stanford University Libraries\nThis repository contains [Cypress][CYPRESS] tests\nused to confirm that we correctly migrated data from our Symphony\nILS as well as reference data into our FOLIO Library Services Platform.\n\n## Set-up\n1. Clone this repository\n1. Run `npm install` to install [Cypress][CYPRESS] and it's dependencies.\n\n## Configuration\nBefore running these tests, you'll need to set the FOLIO URL and user credentials\nin either a local `cypress.env.json` file (see https://docs.cypress.io/guides/guides/environment-variables#Option-2-cypress-env-json) or as\nenvironmental variables with a `CYPRESS_` prefix i.e. `export CYPRESS_FOLIO_USER=test_user`.\n\nCurrently these values need to be set:\n- **FOLIO_URL** URL to a running FOLIO Instance\n- **FOLIO_USER** An existing FOLIO username\n- **FOLIO_PASSWORD** Password for the FOLIO user\n\n## Running the Tests\nAfter configuration and installation, you can run the [Cypress][CYPRESS]\ntest runner GUI by entering `npm test` from the command-line in the root\ndirectory. To directly run the tests without the GUI, `npx cypress run`.\n\n## Logging Into FOLIO, Logging Out and Resetting Tests\nIn each test, add the following `before()` and `after()` hooks to log in and out of FOLIO for each test.\n```\ndescribe('FOLIO tests', () =\u003e {\n  before(() =\u003e {\n    const userEnv = Cypress.env('SOME_USER_FROM_ENV')\n    const passEnv = Cypress.env('SOME_PASS_FROM_ENV')\n    cy.login(userEnv, passEnv)\n  })\n\n  after(() =\u003e {\n    cy.logout()\n  })\n\n  // Tests ...\n})\n```\nIf the test requires a specific type of test user that exists in the FOLIO instance, add those credentials\nto the `cypress.env.json` file.\n\nIf a test suite should fail before the `after()` logout hook is called, you may need to manually log out in the\ntest browser interface in order to sucessfully re-run the tests.\n\n[CYPRESS]: https://cypress.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsul-dlss%2Ffolio_qa_tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsul-dlss%2Ffolio_qa_tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsul-dlss%2Ffolio_qa_tests/lists"}