Skip to content

Commit

Permalink
fps deprecate some options (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
paweltomaszewskisaucelabs authored May 22, 2024
1 parent 0c74c59 commit 787387a
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 19 deletions.
7 changes: 7 additions & 0 deletions visual-js/.changeset/loud-timers-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@saucelabs/nightwatch-sauce-visual-service": minor
"@saucelabs/wdio-sauce-visual-service": minor
"@saucelabs/visual": minor
---

deprecate some full page options
2 changes: 1 addition & 1 deletion visual-js/visual/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"./package.json": "./package.json"
},
"scripts": {
"copy-schema": "cp ../../../backend/src/generated/schema.graphql schema/__generated__/schema.graphql",
"copy-schema": "cp ../../../iris/backend/src/generated/schema.graphql schema/__generated__/schema.graphql",
"build": "tsup",
"watch": "tsc-watch --declaration -p .",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
Expand Down
39 changes: 26 additions & 13 deletions visual-js/visual/schema/__generated__/schema.graphql

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 15 additions & 3 deletions visual-js/visual/src/graphql/__generated__/graphql.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions visual-js/visual/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export type FullPageScreenshotOptions =
| boolean
| {
/**
* Adjust address bar padding on iOS and Android for viewport cutout.
* @deprecated this field will be removed soon
*/
addressBarShadowPadding?: number;
/**
Expand All @@ -23,7 +23,7 @@ export type FullPageScreenshotOptions =
*/
hideScrollBars?: boolean;
/**
* Adjust toolbar padding on iOS and Android for viewport cutout.
* @deprecated this field will be removed soon
*/
toolBarShadowPadding?: number;
/**
Expand Down

0 comments on commit 787387a

Please sign in to comment.