mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-25 14:01:29 -05:00
* feat: add stripe donate page test for non donors * fix: revert changes to see if ev is passed correctly * feat: download artifacts * fix: add quotations for spec args with global patterns * fix: remove firefox from cypress donation tests * fix: trigger action on main push * Apply suggestions from code review Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * feat: remove matrix and simplify Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
15 lines
427 B
JavaScript
15 lines
427 B
JavaScript
describe('Settings', () => {
|
|
before(() => {
|
|
cy.login();
|
|
});
|
|
it('should be possible to reset your progress', () => {
|
|
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');
|
|
});
|
|
});
|