Skip to content

Commit

Permalink
test: tests color before and after color switch
Browse files Browse the repository at this point in the history
  • Loading branch information
irinelenache committed May 18, 2021
1 parent 40fc11f commit 09e7e56
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ describe('Palette Switch component', function () {

it('Changes the color palette by clicking', function () {
cy.visit('/');
cy.get('')
cy.get('body').should('have.css', 'background-color', 'rgb(255, 255, 255)');
cy.get('h2').should('have.css', 'color', 'rgb(57, 57, 57)');
cy.get('.icon > svg > path').click();
cy.get('h2').should('have.css', 'color', 'rgb(255, 255, 255)');
});

it('Removes collor palette from website', function () {});
Expand Down

0 comments on commit 09e7e56

Please sign in to comment.