jam-cloud/jam-ui/cypress/integration/friends/friends-list.spec.js

23 lines
525 B
JavaScript

/// <reference types="cypress" />
import { iteratee } from "lodash"
describe("Friends Index page", () => {
describe('Unauthenticate user', () => {
beforeEach(() => {
cy.stubAuthenticate()
cy.visit('/friends')
})
it("should not list musicians", () => {
cy.contains("Find New Friends").should('exist')
cy.contains("Update Search").should('exist')
cy.contains("Reset Filters").should('exist')
cy.get('[data-testid=peopleListTable]').should('not.exist')
})
})
})