Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

378
Views
In Cypress, how to pass optional parameter in Step Implementation

In below scenario the "model" parameter is optional because it is only needed for one bank. And for other bank we don't need this model parameter. But I want to make one single "When" syntax implementation to make it resuable for all of the bank

Scenario Outline : Merchant creates an account in abc bank. Given I am a merchant When I create a "" "" with "" Then I should receive a response And I should received expected details Examples: |type | bank | model| |abc | xyz | Test |

Step Implementation file: When('I create a {string} {string} with {string}', (type, bank, model) => {

 })
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!