Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
Convert test-build to string to ensure it works with numbers (#1008)
Browse files Browse the repository at this point in the history
- When the test-build is a number, the toUppercase will fail
  otherwise.
- People will use teamcity/jenkins build IDs for test-build
  • Loading branch information
pschuermann authored and diemol committed Jul 19, 2019
1 parent cec7f04 commit a40de3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/js/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function searchTestsList() {
$(".list-group-item").each(function(){
$(this).hide();
const currentKeyword = $(this).text().toUpperCase() + $(this).data("browser").toUpperCase() +
$(this).data("platform").toUpperCase() + $(this).data("test-build").toUpperCase() +
$(this).data("platform").toUpperCase() + $(this).data("test-build").toString().toUpperCase() +
$(this).data("test-status").toUpperCase() + $(this).data("proxy-name").toUpperCase() +
$(this).data("time-zone").toUpperCase();
let allTokensFound = true;
Expand Down

0 comments on commit a40de3a

Please sign in to comment.