Skip to content

Commit

Permalink
Add getRootElement to API.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Feb 1, 2018
1 parent 683218f commit 93e39a4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
- [setupApplicationContext](#setupapplicationcontext)
- [teardownApplicationContext](#teardownapplicationcontext)
- [validateErrorHandler](#validateerrorhandler)
- [getRootElement](#getrootelement)
- [find](#find)
- [findAll](#findall)

Expand Down Expand Up @@ -544,6 +545,12 @@ test('Ember.onerror is functioning properly', function(assert) {

Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** object with `isValid` and `message`

## getRootElement

Get the root element of the application under test (usually `#ember-testing`)

Returns **[Element](https://developer.mozilla.org/docs/Web/API/Element)** the root element

## find

Find the first element matched by the given selector. Equivalent to calling
Expand Down

0 comments on commit 93e39a4

Please sign in to comment.