Skip to content

Commit 0923140

Browse files
committed
feat: create report dir on setup of tests
1 parent f7f0fd1 commit 0923140

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/plugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { createReport } from './reporter'
1515
const testStatuses = []
1616

1717
const setupFolders = () => {
18-
createDir([paths.dir.baseline, paths.dir.comparison, paths.dir.diff])
18+
createDir([paths.dir.baseline, paths.dir.comparison, paths.dir.diff, paths.reportDir])
1919
}
2020

2121
const tearDownDirs = () => {

src/reporter/__snapshots__/reporter.test.js.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports[`Reporter create report should create html template 1`] = `
77
<meta charset=\\"utf-8\\">
88
<meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1\\">
99
<meta name=\\"description\\" content=\\"[% title %]\\">
10-
<title>Wdio Image Diff Report</title>
10+
<title>Cypress Image Diff Report</title>
1111
<link rel=\\"stylesheet\\" href=\\"https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css\\">
1212
<style type=\\"text/css\\">
1313
body {

src/reporter/template.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<meta name="description" content="[% title %]">
7-
<title>Wdio Image Diff Report</title>
7+
<title>Cypress Image Diff Report</title>
88
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
99
<style type="text/css">
1010
body {

0 commit comments

Comments
 (0)