Skip to content

Commit

Permalink
fix(tests): fixed event integration test (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidturissini authored and ekashida committed May 25, 2018
1 parent ba321e0 commit 7402138
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,14 @@ function assertValidGuid(guid) {
}

function clickSlottedButton() {
browser.element('button#slotted').click();
browser.execute(function () {
document.querySelector('button#slotted').click()
});
}
function clickChildButton() {
browser.element('button#child').click();
browser.execute(function () {
document.querySelector('button#child').click()
});
}

function isEventLogged(guid) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<button id="clear" onclick={handleClearButtonClick}>clear logs</button>

<ol class="logs">
<template for:each={logs} for:item="log">
<template for:each={_logs} for:item="log">
<li key={log.eventName}><pre>{log.eventName}</pre></li>
</template>
</ol>
Expand Down

0 comments on commit 7402138

Please sign in to comment.