Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
loop rows for subtest names
Browse files Browse the repository at this point in the history
racheljay committed Sep 7, 2023
1 parent 5aea1b5 commit 687ea1d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion webapp/components/new-test-results-history-grid.js
Original file line number Diff line number Diff line change
@@ -264,7 +264,12 @@ class TestResultsGrid extends PathInfo(PolymerElement) {

this.historicalData = await fetch('/api/history', options)
.then(r => r.json()).then(data => data.results);
this.subtestNames = Object.keys(this.historicalData[BROWSER_NAMES[0]]);

this.subtestNames = []
rows.forEach(row => {
this.subtestNames.push(row.name)
})
// this.subtestNames = Object.keys(this.historicalData[BROWSER_NAMES[0]]);
console.log(this.subtestNames)
}
}

0 comments on commit 687ea1d

Please sign in to comment.