Skip to content

Commit

Permalink
fix($screenshot): fixed an error in screenshot path (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
RABrown1986 committed Feb 23, 2021
1 parent a1a7443 commit f96186a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function takeScreenshot(options) {
if (!fs.existsSync('./cypress/screenshots/cypresssociallogin/')) {
fs.mkdirSync('./cypress/screenshots/cypresssociallogin/', {recursive: true})
}
page.screenshot({path: `'./cypress/screenshots/cypresssociallogin/SocialLoginError.png`})
page.screenshot({path: './cypress/screenshots/cypresssociallogin/SocialLoginError.png'})
}
}

Expand Down

0 comments on commit f96186a

Please sign in to comment.