emberjs / emberjs/ember-test-helpers

Components are always wrapped in divs, even if tagName is defined

Open
#559 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
188
Forks
254
PR merge metrics
No merged PRs in 30d

Description

Recreating the issue created in ember.js repo which was closed asking to open in ember-test-helpers library.
https://github.com/emberjs/ember.js/issues/12937

When a component has its `tagName` property set to anything other than div, I'd expect the rendered tag to be that specified by tagName, but instead the required form is still wrapped in a div in integration tests. Eg:

```js
// some-component.js
Ember.Component.extend({
tagName: 'form'
})
```

Expected HTML

```

```

Actual HTML

```


```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.