Issue
I m trying to use fixtures element inside exec but it doesnt work.
cy.exec('ssh ${this.config.ssh} ${this.config.path} ')
Could you please help me? Is it possible to use fixture in this way?
Solution
Try to import with 'require'
I use fixtures like this: const quote = require('../fixtures/quote.json')
Answered By - Vitor Araujo Answer Checked By - Timothy Miller (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.