Skip to content

Commit

Permalink
Updated test to see if teleport is redone when overlay is opened again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tulio Garcia committed Dec 18, 2018
1 parent bd36601 commit 005909a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/login-overlay-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@
overlay.opened = false;
titleElements = overlayElement.querySelectorAll('[slot=title]');
expect(titleElements.length).to.be.equal(0);

overlay.opened = true;
titleElements = overlayElement.querySelectorAll('[slot=title]');
expect(titleElements.length).to.be.equal(1);
expect(titleElements[0].textContent).to.be.equal('Teleported title');
});

it('should cache queries', function() {
Expand Down

0 comments on commit 005909a

Please sign in to comment.