Skip to content

Commit

Permalink
fix(#3372): Try to reproduce ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
tenthe committed Dec 5, 2024
1 parent 4c6a990 commit 66cb99d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ui/cypress/tests/datalake/timeRangeSelectors.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ function getLocalizedDateString(date: Date) {
}

function getLocalizedTimeString(date: Date) {
// date.toISOString().substr(11, 8); // idea for fix of test
return date.toLocaleTimeString().slice(0, 8);
}

Expand Down
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"format:fix": "prettier --write .",
"lint-staged": "lint-staged",
"test-cypress-open": "cypress open --env DEVELOPMENT=true",
"test-cypress-smoke": "npx cypress run --spec 'cypress/tests/**/*.smoke.spec.ts'",
"test-cypress-smoke": "npx cypress run --spec 'cypress/tests/datalake/timeRangeSelectors.spec.ts'",
"test-cypress-all": "npx cypress run --spec 'cypress/tests/**/*.spec.ts'",
"prepare": "cd ../ && husky install ./ui/.husky"
},
Expand Down

0 comments on commit 66cb99d

Please sign in to comment.