-
Notifications
You must be signed in to change notification settings - Fork 0
Custom Commands
Manuel edited this page May 27, 2024
·
3 revisions
Fills the login form with provided user credentials.
Parameters:
- userCredentials -Object containing user credentials.
Fills the signup form with provided user credentials.
Parameters:
- userCredentials -Object containing user credentials.
Fills the account information form with provided data.
Parameters:
- userCredentials -User credentials object containing account data.
Signs up a user with provided user credentials.
Parameters:
- userCredentials -Object containing user credentials.
Fills the payment details form with provided data.
Parameters:
- paymentData -Object containing payment details.
Adds a product to the cart.
Parameters:
- productNumber -Index of the product to add.
Adds a product to the cart.
Parameters:
- element -Selector of the element to retrieve.
- text -Expected text content of the element.
Searches for a product using the search box.
Parameters:
- productQuery -The query string for the product search.
Retrieves user details by making an API request.
Parameters:
- email -Email of the user.
Logins a user by making an API request.
Parameters:
- userCredentials -Object containing user credentials.
Registers a user by making an API request.
Parameters:
- userCredentials -Object containing user credentials.
Deletes a user account by making an API request.
Parameters:
- userCredentials -Object containing user credentials.