Skip to content

Commit

Permalink
chore: enable lint
Browse files Browse the repository at this point in the history
  • Loading branch information
renanrbs committed Nov 8, 2018
1 parent 0ea1119 commit 9ec4c7c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ module.exports = {
main: (browser) => {
browser.url(`http://localhost:8777/${customCode ? 'regression' : ''}/index.html`)
.saveScreenshot(`./reports/${component}/${component}-start.png`)
.execute(function () { /* eslint-disable-line*/
.execute(function () {
const tableList = [];
const tables = document.querySelectorAll('sling-table');
tables.forEach(e =>
tableList.push(e.shadowRoot.querySelectorAll('tr'),
));
return tableList;
}, [], function (tableList) { /* eslint-disable-line*/
}, [], function (tableList) {
tableList.value.forEach((table, i) => {
table.forEach((row) => {
browser.elementIdClick(row.ELEMENT);
Expand Down

0 comments on commit 9ec4c7c

Please sign in to comment.