{"id":15547903,"url":"https://github.com/goenning/typescript-selenium-example","last_synced_at":"2025-03-16T10:31:30.983Z","repository":{"id":142685705,"uuid":"95819993","full_name":"goenning/typescript-selenium-example","owner":"goenning","description":"Example of Page Object with Selenium, Node.js and Typescript","archived":false,"fork":false,"pushed_at":"2022-09-15T04:23:35.000Z","size":31,"stargazers_count":117,"open_issues_count":6,"forks_count":62,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-16T01:23:41.881Z","etag":null,"topics":["e2e","integration-tests","selenium","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goenning.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-29T21:08:44.000Z","updated_at":"2025-03-09T09:26:25.000Z","dependencies_parsed_at":"2023-05-19T15:31:30.943Z","dependency_job_id":null,"html_url":"https://github.com/goenning/typescript-selenium-example","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/goenning%2Ftypescript-selenium-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goenning%2Ftypescript-selenium-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goenning%2Ftypescript-selenium-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goenning%2Ftypescript-selenium-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goenning","download_url":"https://codeload.github.com/goenning/typescript-selenium-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243858794,"owners_count":20359257,"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":["e2e","integration-tests","selenium","typescript"],"created_at":"2024-10-02T13:12:48.620Z","updated_at":"2025-03-16T10:31:30.681Z","avatar_url":"https://github.com/goenning.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeScript + Selenium example\n\nThis is a working example of using `Selenium`, `TypeScript` and [Page Object Pattern](https://martinfowler.com/bliki/PageObject.html).\nThese are real test cases that run against a [Fider](http://getfider.com) instance.\nCheck out a running example of the application at [http://demo.fider.io](http://demo.fider.io).\n\nThe tests are available in both TDD and BDD style.\n\n# How it is structured\n\n```\n.\n├── lib/\n├── pages/\n├── specs/\n├── tests/\n└── config.ts\n```\n\n- `lib`: Think of this as a \"framework\". Ideally should be a separate module distributed on `npm`\n- `pages`: These are your `Page Object` models. Each Page of your application should have a PageObject that maps all the elements and actions\n- `specs`: All your BDD-style tests goes here\n- `tests`: All your TDD-style/classic tests goes here\n- `config.ts`: General configuration and settings that are read by tests\n\n## Test Case #1: Unauthenticated cannot submit ideas\n\n`Unauthenticated users` should NOT be see `Description field` and `Submit button` after typing the title.\n\n## Test Case #2: Authenticated can submit ideas\n\n`Authenticated users` should be able to submit new ideas by clicking on `Submit button` after typing the title.\nAfter new idea is submitted, user should be redirect to the new idea's display page.\n\n# See the tests\n\n- TDD: [tests/test.ts](tests/test.ts)\n- BDD: [specs/spec.ts](specs/spec.ts)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoenning%2Ftypescript-selenium-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoenning%2Ftypescript-selenium-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoenning%2Ftypescript-selenium-example/lists"}