2020-08-24 16:47:33 +06:00
|
|
|
/* global cy */
|
|
|
|
|
2021-03-11 00:31:46 +05:30
|
|
|
describe('The `Update my account settings` button works properly', function () {
|
2020-08-24 16:47:33 +06:00
|
|
|
beforeEach(() => {
|
2020-09-03 14:21:16 +03:00
|
|
|
cy.login();
|
2020-08-24 16:47:33 +06:00
|
|
|
});
|
|
|
|
|
2021-03-11 00:31:46 +05:30
|
|
|
it('Should take user to their account settings when clicked', function () {
|
2020-09-23 17:15:21 +02:00
|
|
|
cy.contains('Update my account settings').click();
|
2020-08-24 16:47:33 +06:00
|
|
|
cy.url().should('include', '/settings');
|
|
|
|
});
|
|
|
|
});
|