feat: render nav conditionally

This commit is contained in:
Ahmad Abdolsaheb
2020-09-03 14:21:16 +03:00
committed by Mrugesh Mohapatra
parent 422bacd15d
commit 1a66eac990
29 changed files with 640 additions and 180 deletions

View File

@ -2,18 +2,7 @@
describe('The `Update my account settings` button works properly', function() {
beforeEach(() => {
cy.visit('/');
cy.contains("Get started (it's free)").click();
});
it('Should get rendered', function() {
cy.contains('View my Portfolio').should(
'have.class',
'btn btn-lg btn-primary btn-block'
);
cy.contains('View my Portfolio').should('be.visible');
cy.login();
});
it('Should take user to their account settings when clicked', function() {