describe('My TestSuite', function() it('Verify title of page', function() cy.visit("https://demo.nopcommerce.com/") cy.title().should('eq','nopCommerce demo store')
describe('My TestSuite', function() it('Verify title of page', function() cy.visit("https://demo.nopcommerce.com/") cy.title().should('eq','nopCommerce demo store')
The function goes between the curly brackets.
/// <reference types="cypress" />
describe('My TestSuite', function() {
it('Verify title of page', function() {
cy.visit("https://demo.nopcommerce.com/")
cy.title().should('eq','nopCommerce demo store')
})
})