Skip to content

Commit

Permalink
add cy.searchProduct
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrizmaselli committed Nov 6, 2023
1 parent bfc0063 commit 60e9d0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 29 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { testSetup, updateRetry } from '../support/common/support'
import { pickupTestCase } from '../support/outputvalidation.js'
import { searchProduct } from '../support/search_product.js'

describe('Test pickup in checkout with one of the pickup points created in 2.2 testcase', () => {
// Load test setup
Expand All @@ -11,7 +10,7 @@ describe('Test pickup in checkout with one of the pickup points created in 2.2 t

it(`${prefix} - Adding product to cart`, updateRetry(2), () => {
// Search the product
searchProduct(productName)
cy.searchProduct(productName)
// Add product to cart
cy.addProduct(productName)
})
Expand Down
27 changes: 0 additions & 27 deletions cypress/support/search_product.js

This file was deleted.

0 comments on commit 60e9d0d

Please sign in to comment.