{"action":"opened","issue":{"url":"https://api.github.com/repos/cibernox/ember-power-select/issues/1170","repository_url":"https://api.github.com/repos/cibernox/ember-power-select","labels_url":"https://api.github.com/repos/cibernox/ember-power-select/issues/1170/labels{/name}","comments_url":"https://api.github.com/repos/cibernox/ember-power-select/issues/1170/comments","events_url":"https://api.github.com/repos/cibernox/ember-power-select/issues/1170/events","html_url":"https://github.com/cibernox/ember-power-select/issues/1170","id":371917372,"node_id":"MDU6SXNzdWUzNzE5MTczNzI=","number":1170,"title":"Upgraded from 1.10.2 to 2.0.9 - integration tests stopped working","user":{"login":"Pingu69","id":35593416,"node_id":"MDQ6VXNlcjM1NTkzNDE2","avatar_url":"https://avatars0.githubusercontent.com/u/35593416?v=4","gravatar_id":"","url":"https://api.github.com/users/Pingu69","html_url":"https://github.com/Pingu69","followers_url":"https://api.github.com/users/Pingu69/followers","following_url":"https://api.github.com/users/Pingu69/following{/other_user}","gists_url":"https://api.github.com/users/Pingu69/gists{/gist_id}","starred_url":"https://api.github.com/users/Pingu69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pingu69/subscriptions","organizations_url":"https://api.github.com/users/Pingu69/orgs","repos_url":"https://api.github.com/users/Pingu69/repos","events_url":"https://api.github.com/users/Pingu69/events{/privacy}","received_events_url":"https://api.github.com/users/Pingu69/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-19T11:28:40Z","updated_at":"2018-10-19T11:28:40Z","closed_at":null,"author_association":"NONE","body":"After upgrading my application to use version 2.0.9 my integration tests where I use `clickTrigger` or `selectChoose` started failing. \r\n\r\nHere is a example of a test where it fails: \r\n\r\n`test('should show a select-box if there are any users who could be assigned', function(assert) {\r\n  const UsersToChooseFrom = A([\r\n    EmberObject.create({\r\n      username: 'Pavol',\r\n    }),\r\n    EmberObject.create({\r\n      username: 'Peter',\r\n    }),\r\n  ]);\r\n\r\n  this.set('UsersToChooseFrom', UsersToChooseFrom);\r\n\r\n  this.set('canPerformUserAssignments', true);\r\n\r\n  this.render(hbs`{{assigned-users-card \r\n  assignUser=assignUser \r\n  canPerformUserAssignments=canPerformUserAssignments\r\n  UsersToChooseFrom=UsersToChooseFrom\r\n  }}`);\r\n\r\n  const html = this.$();\r\n\r\n  assert.equal(html.find('.ember-power-select-trigger').length, 1,\r\n    'ember-power-select component is shown');\r\n\r\n  assert.equal(html.find('.ember-power-select-placeholder').text().trim(), 'Assign another user',\r\n    \"selectbox's placeholder is correct\");\r\n\r\n  clickTrigger();\r\n\r\n  assert.equal(html.find('li.ember-power-select-option:eq(0)').text().trim(), 'Pavol', 'name of 1st user passed to selectbox is shown');\r\n  assert.equal(html.find('li.ember-power-select-option:eq(1)').text().trim(), 'Peter', 'name of 2nd user passed to selectbox is shown');\r\n});`"}}
{"actor":{"display_login":"Pingu69"}}