Skip to content

Commit

Permalink
Merge pull request #71 from AbuBakkar32/abu-bakkar
Browse files Browse the repository at this point in the history
search_products_and_verify_cart_after_login.cy.js updated
  • Loading branch information
AbuBakkar32 authored Oct 15, 2024
2 parents 23a796d + e467b46 commit 943926c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions cypress/e2e/search_products_and_verify_cart_after_login.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,18 @@ describe('Search Products and Verify Cart After Login', () => {
// to get the verification number number and check the visibility of product
// Product can't not be visible if you cannot add your product on your add to cart menu

cy.get('#cart_info_table_list_product > tobody > tr').should('have.visible')
cy.contains('Product are available').should('be.visible')

const productList = []
var i = 0
for (i = 0; i < 100; i++) {
productList.push(i)
}
console.log(productList)

const productList1 = Array.from({length: 100}, (_, i) => i);
console.log(productList1);
// cy.get('#cart_info_table_list_product > tobody > tr').should('have.visible')
// cy.contains('Product are available').should('be.visible')
//
// const productList = []
// var i = 0
// for (i = 0; i < 100; i++) {
// productList.push(i)
// }
// console.log(productList)
//
// const productList1 = Array.from({length: 100}, (_, i) => i);
// console.log(productList1);

});
});

0 comments on commit 943926c

Please sign in to comment.