Cypress - Writing Tests
Examine this Cypress test snippet and identify the issue:
describe('Feature Tests', () => {
beforeEach(() => {
cy.visit('/profile')
})
afterEach(() =>
cy.clearLocalStorage()
)
it('should update profile', () => {
cy.get('#update').click()
})
})