diff --git a/cypress.e2e.config.ts b/cypress.e2e.config.ts index cb683960213..1b5344ee3bf 100644 --- a/cypress.e2e.config.ts +++ b/cypress.e2e.config.ts @@ -34,7 +34,7 @@ export default defineConfig({ // cypress default is 'top' this means sometimes the element is underneath the top navbar // not what a human would do... so, set it to center to avoid this weird behavior scrollBehavior: 'center', - retries: {runMode: 2}, + retries: { runMode: 2 }, e2e: { // We've imported your old cypress plugins here. // You may want to clean this up later by importing these. @@ -101,11 +101,19 @@ export default defineConfig({ .on('error', (err) => console.log('Redis client error', err)) .connect() // Clear cache - for await (const key of redisClient.scanIterator({ TYPE: 'string', MATCH: '*cache*', COUNT: 500 })) { + for await (const key of redisClient.scanIterator({ + TYPE: 'string', + MATCH: '*cache*', + COUNT: 500, + })) { await redisClient.del(key) } // Also clear the more ephemeral async query statuses - for await (const key of redisClient.scanIterator({ TYPE: 'string', MATCH: 'query_async*', COUNT: 500 })) { + for await (const key of redisClient.scanIterator({ + TYPE: 'string', + MATCH: 'query_async*', + COUNT: 500, + })) { await redisClient.del(key) } await redisClient.quit() @@ -117,5 +125,6 @@ export default defineConfig({ }, baseUrl: 'http://localhost:8000', specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}', + chromeWebSecurity: false, }, }) diff --git a/frontend/__snapshots__/filters-cohort-filters-fields-person-properties--basic--dark.png b/frontend/__snapshots__/filters-cohort-filters-fields-person-properties--basic--dark.png index 9d2f7741f2a..ce9d0f124d8 100644 Binary files a/frontend/__snapshots__/filters-cohort-filters-fields-person-properties--basic--dark.png and b/frontend/__snapshots__/filters-cohort-filters-fields-person-properties--basic--dark.png differ diff --git a/frontend/__snapshots__/filters-cohort-filters-fields-person-properties--basic--light.png b/frontend/__snapshots__/filters-cohort-filters-fields-person-properties--basic--light.png index dca3d5e9622..d5702c46ffe 100644 Binary files a/frontend/__snapshots__/filters-cohort-filters-fields-person-properties--basic--light.png and b/frontend/__snapshots__/filters-cohort-filters-fields-person-properties--basic--light.png differ diff --git a/frontend/__snapshots__/scenes-other-onboarding--onboarding-billing--light.png b/frontend/__snapshots__/scenes-other-onboarding--onboarding-billing--light.png index 6ca4b01cb7c..11b61b4b71d 100644 Binary files a/frontend/__snapshots__/scenes-other-onboarding--onboarding-billing--light.png and b/frontend/__snapshots__/scenes-other-onboarding--onboarding-billing--light.png differ diff --git a/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.tsx b/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.tsx index 79e9116dd84..1c5c897b291 100644 --- a/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.tsx +++ b/frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.tsx @@ -73,7 +73,7 @@ export function OperatorValueSelect({ }: OperatorValueSelectProps): JSX.Element { const propertyDefinition = propertyDefinitions.find((pd) => pd.name === propertyKey) - const isCohortProperty = propertyKey === 'id' + const isCohortProperty = propertyKey === 'id' && type === PropertyFilterType.Cohort // DateTime properties should not default to Exact const isDateTimeProperty = propertyDefinition?.property_type == PropertyType.DateTime