/// describe(' -> ', () => { beforeEach(() => { localStorage.setItem('profileSelected', true) cy.visit('/browse') cy.window() .its('store') .invoke('getState') .as('reduxState') }) it('fetches trending, top-rated, and netflix originals successfully', () => { cy.get('@reduxState') .its('trending') .its('ids') .should('have.length', 20) cy.get('@reduxState') .its('toprated') .its('ids') .should('have.length', 20) cy.get('@reduxState') .its('netflixOriginals') .its('ids') .should('have.length', 20) }) it('Ensure that the first video of trending section is placed on the