feat: render nav conditionally
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
422bacd15d
commit
1a66eac990
@ -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() {
|
||||
|
Reference in New Issue
Block a user