* fix(client): remove algolia and hot keys from landing pages Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
15 lines
421 B
JavaScript
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');
|
|
});
|
|
});
|