Files
freeCodeCamp/cypress/integration/settings/settings.js
Ahmad Abdolsaheb b3f2c64de8 fix(client): remove algolia and hot keys modules from landing pages (#42394)
* fix(client): remove algolia and hot keys from landing pages

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-06-24 12:50:36 +03:00

15 lines
421 B
JavaScript

/* global cy */
describe('Settings', () => {
it('should be possible to reset your progress', () => {
cy.login();
cy.visit('/settings');
cy.contains('Reset all of my progress').click();
cy.contains('Reset everything. I want to start from the beginning').click();
cy.location().should(loc => {
expect(loc.pathname).to.eq('/');
});
cy.contains('Your progress has been reset');
});
});