Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav300 committed Apr 28, 2021
1 parent 6ec652a commit 1f7eecf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/terra-functional-testing/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Unreleased

* Updated
* Fixed
* Update specPath in BaseCompare to replace `node_modules` with `tests/wdio/__snapshot__`

## 1.2.0 - (April 23, 2021)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class BaseCompare {

// Added to allow for test reusability from terra repositories
if (specPath.includes('node_modules')) {
specPath = specPath.replace('node_modules', 'tests/wdio/__snapshots__');
specPath = specPath.replace('node_modules', path.join('tests', 'wdio', '__snapshots__'));
}

const baseScreenshotPath = path.join(this.baseScreenshotDir, specPath, '__snapshots__');
Expand Down

0 comments on commit 1f7eecf

Please sign in to comment.