File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -395,6 +395,12 @@ const SnapshotSchema: JSONSchemaType<Snapshot> = {
395395 uniqueItems : true ,
396396 errorMessage : "Invalid snapshot options; ignoreDOM xpath array must have unique and non-empty items"
397397 } ,
398+ coordinates : {
399+ type : "array" ,
400+ items : { type : "string" , minLength : 1 } ,
401+ uniqueItems : true ,
402+ errorMessage : "Invalid snapshot options; ignoreDOM coordinates array must have unique and non-empty items"
403+ }
398404 }
399405 } ,
400406 selectDOM : {
@@ -424,6 +430,12 @@ const SnapshotSchema: JSONSchemaType<Snapshot> = {
424430 uniqueItems : true ,
425431 errorMessage : "Invalid snapshot options; selectDOM xpath array must have unique and non-empty items"
426432 } ,
433+ coordinates : {
434+ type : "array" ,
435+ items : { type : "string" , minLength : 1 } ,
436+ uniqueItems : true ,
437+ errorMessage : "Invalid snapshot options; selectDOM coordinates array must have unique and non-empty items"
438+ }
427439 }
428440 } ,
429441 ignoreType : {
You can’t perform that action at this time.
0 commit comments