Skip to content

Commit

Permalink
fix failing tcs
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyBlaise99 committed Apr 28, 2024
1 parent 7fa0f99 commit d085fdb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('code highlighting works properly', () => {
cy.get('.hljs-comment').contains('* Represents a Git Author.')
.parent() // .line-content
.parent() // .code
.should('have.css', 'background-color', 'rgb(230, 255, 237)'); // #e6ffed
.should('have.css', 'background-color', 'rgb(191, 246, 207)'); // #BFF6CF
});

it('should highlight code when multiple authors are merged in a repo group', () => {
Expand All @@ -62,7 +62,7 @@ describe('code highlighting works properly', () => {
cy.get('.hljs-comment').contains('* MUI Colors module') // eugenepeh
.parent() // .line-content
.parent() // .code
.should('have.css', 'background-color', 'rgba(30, 144, 255, 0.19)') // #1e90ff, transparencyValue 30
.should('have.css', 'background-color', 'rgba(30, 144, 255, 0.314)') // #1e90ff, transparencyValue 50
.then((firstAuthorColor) => {
// eslint-disable-next-line quotes
cy.get('.line-content').contains("'red': (") // jamessspanggg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ describe('credit background colour', () => {
// open the code panel
cy.get('.icon-button.fa-code')
.should('exist')
.first()
.click();

// frontend/src/styles/_colors.scss
Expand Down

0 comments on commit d085fdb

Please sign in to comment.