-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from GeordieP/styles
App Restyle
- Loading branch information
Showing
51 changed files
with
1,468 additions
and
540 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,27 +2,27 @@ describe('Sign up and log out', () => { | |
// first user that signs up to this app is given admin permissions. | ||
it('Create first user and log out', () => { | ||
cy.app_signup('AdminUser', 'test', '[email protected]', 'Admin User'); | ||
cy.contains('Log Out').click(); | ||
cy.get('#logout').click(); | ||
}); | ||
|
||
it('Create second user and log out', () => { | ||
cy.app_signup('SecondUser', 'test', '[email protected]', 'Second User'); | ||
cy.contains('Log Out').click(); | ||
cy.get('#logout').click(); | ||
}); | ||
}); | ||
|
||
describe('Log in and log out, verify permissions are correct', () => { | ||
it('Log in admin account, verify admin permissions, log out', () => { | ||
cy.app_login('[email protected]', 'test',); | ||
cy.contains('New Project'); | ||
cy.contains('Log Out').click(); | ||
cy.get('#logout').click(); | ||
cy.url().should('eq', 'http://localhost:3000/'); | ||
}); | ||
|
||
it('Log in user account, verify no admin permissions, log out', () => { | ||
cy.app_login('[email protected]', 'test'); | ||
cy.contains('New Project').should('not.exist'); | ||
cy.contains('Log Out').click(); | ||
cy.get('#logout').click(); | ||
cy.url().should('eq', 'http://localhost:3000/'); | ||
}) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
.Comment-body { | ||
background: var(--col-bgPrimary); | ||
margin: var(--spc-xsmall) 0; | ||
padding: var(--spc-small); | ||
border-radius: var(--rad-small); | ||
box-shadow: 0 4px 8px rgba(var(--rgb-bgAccentHighContrast), 0.07); | ||
.Comment { | ||
margin-top: var(--spc-xlarge); | ||
} | ||
|
||
& span { | ||
color: rgba(var(--rgb-primary), 0.3); | ||
} | ||
.Comment-author, .Comment-date { | ||
color: rgba(var(--rgb-primary), 0.4); | ||
} | ||
|
||
.Comment-body { | ||
margin: var(--spc-small) 0 0 var(--spc-med); | ||
} |
Oops, something went wrong.