From 295a16cb40a8144c7ed004399c7b9e9799e1b352 Mon Sep 17 00:00:00 2001 From: stazrouti Date: Tue, 13 Feb 2024 21:21:13 +0100 Subject: [PATCH] adjust comments --- cypress/e2e/Vehicle _Models.cy.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cypress/e2e/Vehicle _Models.cy.js b/cypress/e2e/Vehicle _Models.cy.js index 9f76330..ca31b87 100644 --- a/cypress/e2e/Vehicle _Models.cy.js +++ b/cypress/e2e/Vehicle _Models.cy.js @@ -1,13 +1,12 @@ it("show car details", () => { cy.visit("http://localhost:3000/"); - cy.get('.pick-container__title') // replace with the actual selector for your modal + cy.get('.pick-container__title') .should('be.visible') // Check if the modal is visible .contains('Vehicle Models'); cy.get('.pick-description__table__col').should('be.visible').contains('Audi'); cy.get('.pick-description__table__col').should('be.visible').contains('AC'); - /* cy.get('BMW 320 ModernLine'); */ cy.get('#btn4').click(); cy.get('.pick-description__table__col').should('be.visible').contains('320'); cy.get('.pick-description__table__col').should('be.visible').contains('BMW');