Skip to content

Commit

Permalink
Add a workaround for IE11 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoCardoso committed Nov 14, 2018
1 parent 111a40b commit c1bfbbd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/login-test.html
Expand Up @@ -118,6 +118,11 @@
// Remove `allow-redirect` to create an async call from iron-form
loginForm.removeAttribute('allow-redirect');

// FIXME: Workaround for IE11 issue that breaks if it tries to send a request using an empty string
// Can be removed once we introduce the `login` event
const formElement = login.shadowRoot.querySelector('form');
formElement.setAttribute('action', '/');

const submitSpy = sinon.spy(login, 'submit');

MockInteractions.pressEnter(password);
Expand Down

0 comments on commit c1bfbbd

Please sign in to comment.