{"id":21762754,"url":"https://github.com/nulib/rdc-test-runner","last_synced_at":"2026-04-17T01:31:07.617Z","repository":{"id":199352053,"uuid":"702698046","full_name":"nulib/rdc-test-runner","owner":"nulib","description":"End to end tests for NULib applications using the Playwright testing framework","archived":false,"fork":false,"pushed_at":"2023-11-10T19:52:43.000Z","size":180,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-03-21T04:42:56.436Z","etag":null,"topics":["playwright","testing","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/nulib.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}},"created_at":"2023-10-09T20:29:33.000Z","updated_at":"2023-10-09T20:30:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"ffe24874-9895-4ae4-a1b1-0868cf58e3aa","html_url":"https://github.com/nulib/rdc-test-runner","commit_stats":null,"previous_names":["nulib/rdc-test-runner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nulib/rdc-test-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nulib%2Frdc-test-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nulib%2Frdc-test-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nulib%2Frdc-test-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nulib%2Frdc-test-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nulib","download_url":"https://codeload.github.com/nulib/rdc-test-runner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nulib%2Frdc-test-runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31911428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["playwright","testing","typescript"],"created_at":"2024-11-26T12:13:02.823Z","updated_at":"2026-04-17T01:31:07.599Z","avatar_url":"https://github.com/nulib.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RDC Test Runner\n\nA repository of [Playwright](https://playwright.dev/) tests for running and writing end to end tests. This repository tests can be organized into folders representing NULib applications. The tests can be run locally or in a CI environment.\n\n## Getting Started\n\n### Install\n\nRun the following from a terminal window on your machine\n\n```bash\n# Clone the repository (only need to do this once)\ngit clone git@github.com:nulib/rdc-test-runner.git\n\n# Navigate into your new folder\ncd rdc-test-runner\n\n# Install dependencies\nnpm install # if you get errors, try `npm install --legacy-peer-deps`\n```\n\n#### VSCode\n\nVSCode is an IDE application that can be used to write and run tests.\n\nInstall [VSCode](https://code.visualstudio.com/download) and the following extensions:\n\n- [Playwright Test for VSCode](https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright)\n\n### Set up Authenticated User\n\nWe'll set up a user that can log in to the application. This user will be used to run tests that require authentication. Create a new file in the root of the repository called `.env` and add the following lines to it:\n\n```bash\nAUTH_USER=[VALUE_GOES_HERE]\nAUTH_PASSWORD=[VALUE_GOES_HERE]\n```\n\nContact a member of the NULib RDC team for the values to use for `AUTH_USER` and `AUTH_PASSWORD`.\n\n## Run tests\n\nTests can be run locally or in a CI environment.\n\n### Locally\n\nTest scripts/files for Digital Collections are located in the `/tests/dc` directory. For example, to run Digital Collections tests locally, use the following command:\n\n```bash\n# Run Digital Collections tests\nnpx playwright test tests/dc\n\n# Run All tests\nnpx playwright test tests\n```\n\n### CI Environment\n\nTests are configured to run in a CI environment using GitHub Actions. The configuration for the tests is located in the `.github/workflows` directory. The configuration is set up to run tests on a schedule (coming soon) and when a pull request is created or updated.\n\nTo manually run tests in the CI Environment:\n\n1. In a browser, open the repo homepage: https://github.com/nulib/rdc-test-runner\n2. Click the \"Actions\" tab\n3. Click the \"Playwright Tests\" workflow (see screenshot below)\n\n![Github Actions Workflow Button Screenshot](./assets/git-actions-screenshot.png)\n\n4. Click the \"Run workflow\" button (see screenshot below)\n\n![Github Actions Workflow Button Screenshot](./assets/git-actions-screenshot-run.png)\n\n## Write new tests\n\nFor detailed info and best practices on writing tests, view the Playwright documentation: https://playwright.dev/docs/intro\n\nIt's recommended to write and edit tests directly within VSCode, using the [Playwright Test for VSCode extension](https://playwright.dev/docs/getting-started-vscode). The extension provides syntax highlighting, code completion, and other features to help write tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnulib%2Frdc-test-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnulib%2Frdc-test-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnulib%2Frdc-test-runner/lists"}