@lambdatest/smartui-cli 4.0.12 → 4.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.cjs +8 -1
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -739,6 +739,10 @@ var SnapshotSchema = {
739
739
  },
740
740
  required: ["devices"],
741
741
  errorMessage: "Invalid snapshot options; mobile must include devices property."
742
+ },
743
+ loadDomContent: {
744
+ type: "boolean",
745
+ errorMessage: "Invalid snapshot options; loadDomContent must be a boolean"
742
746
  }
743
747
  },
744
748
  additionalProperties: false
@@ -963,7 +967,7 @@ var auth_default = (ctx) => {
963
967
  };
964
968
 
965
969
  // package.json
966
- var version = "4.0.12";
970
+ var version = "4.0.13";
967
971
  var package_default = {
968
972
  name: "@lambdatest/smartui-cli",
969
973
  version,
@@ -1943,6 +1947,9 @@ function processSnapshot(snapshot, ctx) {
1943
1947
  return true;
1944
1948
  return false;
1945
1949
  };
1950
+ if (options.loadDomContent) {
1951
+ processedOptions.loadDomContent = true;
1952
+ }
1946
1953
  if (options.web && Object.keys(options.web).length) {
1947
1954
  processedOptions.web = {};
1948
1955
  if (options.web.viewports && options.web.viewports.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdatest/smartui-cli",
3
- "version": "4.0.12",
3
+ "version": "4.0.13",
4
4
  "description": "A command line interface (CLI) to run SmartUI tests on LambdaTest",
5
5
  "files": [
6
6
  "dist/**/*"