adventurous-xylophone-14195
02/08/2023, 5:03 PMlet searchproduct = "tv";
describe('NetOnNet Suite', function(){
this.beforeEach(function(){
cy.visit('www.netonnet.se');
});
if('Get Method', function(){
cy.get('#search-form').type(searchproduct)
cy.get('#searchSubmit').click();
});enough-truck-68085
02/08/2023, 5:19 PMif needs to it and you are missing closing brackets for your test function.
If you need guidance on how to get started with Cypress I'd recommend
https://docs.cypress.io/guides/end-to-end-testing/writing-your-first-end-to-end-test
Additionally, there's a ton of resources from the community if you need further help on how to get started.
let searchproduct = 'tv'
describe('NetOnNet Suite', function () {
beforeEach(function () {
cy.visit('www.netonnet.se')
})
it('Get Method', function () {
cy.get('#search-form').type(searchproduct)
cy.get('#searchSubmit').click()
})
})adventurous-xylophone-14195
02/08/2023, 5:48 PMadventurous-xylophone-14195
02/08/2023, 7:10 PMenough-truck-68085
02/08/2023, 9:25 PM