{"id":28932995,"url":"https://github.com/davyjoneslocker/ember-cli-test-interactions","last_synced_at":"2025-10-11T17:32:40.021Z","repository":{"id":35743495,"uuid":"40022478","full_name":"DavyJonesLocker/ember-cli-test-interactions","owner":"DavyJonesLocker","description":"Ember acceptance test helpers.","archived":false,"fork":false,"pushed_at":"2017-07-24T15:44:01.000Z","size":39,"stargazers_count":3,"open_issues_count":6,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-22T17:11:27.778Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DavyJonesLocker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-31T19:55:59.000Z","updated_at":"2017-09-01T20:53:47.000Z","dependencies_parsed_at":"2022-09-17T11:25:56.808Z","dependency_job_id":null,"html_url":"https://github.com/DavyJonesLocker/ember-cli-test-interactions","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DavyJonesLocker/ember-cli-test-interactions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavyJonesLocker%2Fember-cli-test-interactions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavyJonesLocker%2Fember-cli-test-interactions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavyJonesLocker%2Fember-cli-test-interactions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavyJonesLocker%2Fember-cli-test-interactions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavyJonesLocker","download_url":"https://codeload.github.com/DavyJonesLocker/ember-cli-test-interactions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavyJonesLocker%2Fember-cli-test-interactions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008112,"owners_count":26084396,"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-10-11T02:00:06.511Z","response_time":55,"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":"2025-06-22T17:10:34.569Z","updated_at":"2025-10-11T17:32:40.016Z","avatar_url":"https://github.com/DavyJonesLocker.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-cli-test-interactions\n\n**[ember-cli-test-interactions is built and maintained by DockYard, contact us for expert Ember.js consulting](https://dockyard.com/ember-consulting)**.\n\nEmber-cli Test Interactions is a library providing some convenience test\nhelper functions. It allows for more expressive acceptance tests and\ncuts out alot of the boiler plate functions required to find elements\nbefore acting upon them.\n\nFor example, compare filling in an HTML `input` with and without the\nlibrary:\n\n```javascript\n// with ember-cli-test-interactions\nfillInByLabel('Name', 'Jane Doe');\n\n// without\nconst label = find(\"label:contains('Jane Doe')\");\nconst input = find(`#${label.attr('for')}`);\nfillIn(input, 'Jane Doe');\n```\n\n## Install\nFor ember-cli \u003e= `0.2.3`:\n```shell\nember install ember-cli-test-interactions\n```\n\nFor ember-cli \u003c `0.2.3`:\n```shell\nember install:addon ember-cli-test-interactions\n```\n\n## Use\nOnce the addon is installed, the helper functions will be available for\nimport via `'../tests/helpers/interactions'`.\n\nImport the functions you need in each of your acceptance test files:\n\n```javascript\nimport { module, test } from 'qunit';\nimport { clickLink } from '../tests/helpers/interactions';\n\ntest('clicking name transitions to route of the user', function(assert) {\n  visit('/');\n  andThen(clickLink('Jane Doe'));\n  andThen(() =\u003e {\n    assert.equal(url, '/users/jane-doe', \"expected current path to be\nJane Doe's\");\n  });\n});\n```\n\n## Legal ##\n[DockYard](http://dockyard.com/ember-consulting), Inc. \u0026copy; 2015\n\n[@dockyard](http://twitter.com/dockyard)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavyjoneslocker%2Fember-cli-test-interactions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavyjoneslocker%2Fember-cli-test-interactions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavyjoneslocker%2Fember-cli-test-interactions/lists"}