diff --git a/ui/cypress/tests/datalake/timeRangeSelectors.spec.ts b/ui/cypress/tests/datalake/timeRangeSelectors.spec.ts index 21a1604fb3..8c20887d53 100644 --- a/ui/cypress/tests/datalake/timeRangeSelectors.spec.ts +++ b/ui/cypress/tests/datalake/timeRangeSelectors.spec.ts @@ -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); } diff --git a/ui/package.json b/ui/package.json index a0b9eb57ff..7be2dd3efd 100644 --- a/ui/package.json +++ b/ui/package.json @@ -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" },