From 8b52a0f02cb3a86217673a6efd9ae4cf6346188a Mon Sep 17 00:00:00 2001 From: Saara Satokangas Date: Wed, 16 Sep 2020 18:12:43 +0300 Subject: [PATCH] Fix broken cypress-test color --- cypress/integration/sidebar.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/sidebar.spec.js b/cypress/integration/sidebar.spec.js index 6d3557c2..3fffde30 100644 --- a/cypress/integration/sidebar.spec.js +++ b/cypress/integration/sidebar.spec.js @@ -47,7 +47,7 @@ describe('Sidebar tests', function () { expect(res).to.be.eq(1100) ) - cy.get('[data-cy=textarea-review_of_last_years_situation_report] > [style="color: red;"]').then( + cy.get('[data-cy=textarea-review_of_last_years_situation_report] > [style="color: rgb(230, 78, 64);"]').then( (el) => { expect(el.text()).to.be.eq('1100/1000') }