Storing Regex value in Cypress config

后端 未结 0 527
时光取名叫无心
时光取名叫无心 2021-01-15 16:29

How can I store Regex value in cypress config file? I\'m using the following regex in the test:

cy.get(\'.company_highlight\').contains(/JPM|Morgan/g)
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题