wip new react ui
This commit is contained in:
parent
4ee649c7f1
commit
eb4c327eff
|
|
@ -3,9 +3,9 @@
|
|||
import { iteratee } from "lodash"
|
||||
|
||||
describe("Friends Index page", () => {
|
||||
describe('Unauthenticate user', () => {
|
||||
describe('For unauthenticated user', () => {
|
||||
beforeEach(() => {
|
||||
cy.stubAuthenticate()
|
||||
cy.stubUnauthenticate()
|
||||
cy.visit('/friends')
|
||||
})
|
||||
|
||||
|
|
@ -18,6 +18,18 @@ describe("Friends Index page", () => {
|
|||
|
||||
})
|
||||
|
||||
describe("For authenticated user", () => {
|
||||
beforeEach(() => {
|
||||
cy.stubAuthenticate()
|
||||
cy.intercept('GET', '/filter', { fixture: 'people' })
|
||||
cy.visit('/friends')
|
||||
|
||||
})
|
||||
|
||||
it("should list musicians", () => {
|
||||
cy.get('[data-testid=peopleListTable]').should('exist')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
})
|
||||
|
|
@ -13,7 +13,7 @@ import Footer from '../components/footer/Footer';
|
|||
import loadable from '@loadable/component';
|
||||
import AppContext from '../context/Context';
|
||||
import ProductProvider from '../components/e-commerce/ProductProvider';
|
||||
import SidePanelModal from '../components/side-panel/SidePanelModal';
|
||||
// import SidePanelModal from '../components/side-panel/SidePanelModal';
|
||||
import { getPageName } from '../helpers/utils';
|
||||
|
||||
import { useAuth } from '../context/AuthContext';
|
||||
|
|
@ -48,7 +48,7 @@ const DashboardLayout = ({ location }) => {
|
|||
</Switch>
|
||||
{!isKanban && <Footer />}
|
||||
</div>
|
||||
<SidePanelModal path={location.pathname} />
|
||||
{/* <SidePanelModal path={location.pathname} /> */}
|
||||
</ProductProvider>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue