Skip to content

Commit

Permalink
Set additional search views to enabled (#4117)
Browse files Browse the repository at this point in the history
* SEt additional search views to enabled

Signed-off-by: Olga Bulat <obulat@gmail.com>

* Fix Playwright tests

Signed-off-by: Olga Bulat <obulat@gmail.com>

---------

Signed-off-by: Olga Bulat <obulat@gmail.com>
  • Loading branch information
obulat authored Apr 15, 2024
1 parent 0659236 commit 47b6d0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions frontend/feat/feature-flags.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
"storage": "cookie"
},
"additional_search_views": {
"status": "switchable",
"status": "enabled",
"description": "Toggle additional search views for tag/creator/source.",
"defaultState": "on",
"storage": "cookie"
},
"additional_search_types": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/test/playwright/e2e/preferences.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const getFeatureCookies = async (page: Page, cookieName: string) => {
const getFeaturesToTest = () => {
const testableFeatures = {
fetch_sensitive: "off",
additional_search_views: "on",
analytics: "on",
} as const
for (const [name, state] of Object.entries(testableFeatures)) {
const flag = featureData.features[name as FlagName] as FeatureFlag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { supportedMediaTypes } from "~/constants/media"

test.describe.configure({ mode: "parallel" })

for (const isOn of [true, false]) {
for (const isOn of [true]) {
for (const mediaType of supportedMediaTypes) {
for (const dir of languageDirections) {
breakpoints.describeEvery(({ breakpoint, expectSnapshot }) => {
Expand Down

0 comments on commit 47b6d0f

Please sign in to comment.