Skip to content

Commit

Permalink
fix(cypress): test
Browse files Browse the repository at this point in the history
  • Loading branch information
Shoaibdev7 committed Oct 19, 2024
1 parent 1cff25e commit d4f4698
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ Cypress.Commands.add('initialSetup', (username, budget) => {

cy.visit('/', {
onBeforeLoad(win) {
win.localStorage.setItem('featureFlags', JSON.stringify({ chatInterfaceFeatureFlag: true }))

// @ts-ignore
win.CYPRESS_USER = username || '' // eslint-disable-line no-param-reassign

Expand Down
2 changes: 1 addition & 1 deletion src/components/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ export const App = () => {
<Wrapper direction="row">
<FormProvider {...form}>
<LazyMainToolbar />
{!universeQuestionIsOpen && chatInterfaceFeatureFlag && <LazySideBar />}
{!universeQuestionIsOpen && <LazySideBar />}
<LazyUniverse />
<Overlay />
<AppBar />
Expand Down

0 comments on commit d4f4698

Please sign in to comment.