From ab799f16be180a6e13509ae46850afafde869df2 Mon Sep 17 00:00:00 2001 From: Hammad1007 Date: Wed, 20 Dec 2023 19:42:14 +0500 Subject: [PATCH] Update code --- content-placeholder/cypress/e2e/test1.spec.cy.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/content-placeholder/cypress/e2e/test1.spec.cy.js b/content-placeholder/cypress/e2e/test1.spec.cy.js index c2584a9..e0c8858 100644 --- a/content-placeholder/cypress/e2e/test1.spec.cy.js +++ b/content-placeholder/cypress/e2e/test1.spec.cy.js @@ -7,7 +7,12 @@ describe('Project 6: Content Placeholder', () => { }) - it('Background color', () => { + it('Body is visible', () => { + cy.get('body').should('be.visible') + }) + it('Background color', () => { + cy.get('body').should('have.css', 'background-color', 'rgb(236, 240, 241)') }) + }) \ No newline at end of file