Skip to content

Commit

Permalink
adding support for label
Browse files Browse the repository at this point in the history
  • Loading branch information
prklm10 committed Oct 25, 2024
1 parent e136734 commit b627535
Show file tree
Hide file tree
Showing 5 changed files with 6,442 additions and 1 deletion.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module.exports = async function percyScreenshot(driver, name, options = {}) {
scrollableId,
sync,
testCase,
labels,
androidScrollAreaPercentage,
scrollSpeed
} = options;
Expand Down Expand Up @@ -60,6 +61,7 @@ module.exports = async function percyScreenshot(driver, name, options = {}) {
scrollableId = name.scrollableId;
sync = name.sync;
testCase = name.testCase;
labels = name.labels;
androidScrollAreaPercentage = name.androidScrollAreaPercentage;
scrollSpeed = name.scrollSpeed;
options = name;
Expand Down Expand Up @@ -115,6 +117,7 @@ module.exports = async function percyScreenshot(driver, name, options = {}) {
scrollableId,
sync,
testCase,
labels,
thTestCaseExecutionId,
androidScrollAreaPercentage,
scrollSpeed
Expand Down
Loading

0 comments on commit b627535

Please sign in to comment.