diff --git a/frontend/cypress/integration/feature/feature.spec.ts b/frontend/cypress/integration/feature/feature.spec.ts index c05f6c180c..fb2ea6321f 100644 --- a/frontend/cypress/integration/feature/feature.spec.ts +++ b/frontend/cypress/integration/feature/feature.spec.ts @@ -29,8 +29,8 @@ describe('feature', () => { } }); - // cy.deleteFeature_API(featureToggleName, projectName); - // cy.deleteProject_API(projectName); + cy.deleteFeature_API(featureToggleName, projectName); + cy.deleteProject_API(projectName); }); beforeEach(() => { diff --git a/frontend/cypress/support/UI.ts b/frontend/cypress/support/UI.ts index 54a66f8c77..d9801a4943 100644 --- a/frontend/cypress/support/UI.ts +++ b/frontend/cypress/support/UI.ts @@ -153,7 +153,6 @@ export const addFlexibleRolloutStrategyToFeature_UI = ( ); cy.wait(500); // Takes a bit to load the screen - this will wait until it finds it or fail - console.log('Waiting for strategy to load'); cy.get('[data-testid=FLEXIBLE_STRATEGY_STICKINESS_ID]'); if (ENTERPRISE) { cy.get('[data-testid=ADD_CONSTRAINT_ID]').click(); diff --git a/frontend/src/hooks/useTrafficData.ts b/frontend/src/hooks/useTrafficData.ts index 00c6e184d9..bbd7b74ef6 100644 --- a/frontend/src/hooks/useTrafficData.ts +++ b/frontend/src/hooks/useTrafficData.ts @@ -62,7 +62,7 @@ export const toSelectablePeriod = ( dayCount, label: label || - "date.toLocaleString('en-US', { month: 'long', year: 'numeric' })", + date.toLocaleString('en-US', { month: 'long', year: 'numeric' }), }; };