Skip to content

Commit c82affb

Browse files
author
Luca Forstner
committed
Add new properties to recipe schema
1 parent a19d893 commit c82affb

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

packages/e2e-tests/test-recipe-schema.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,34 @@
3636
},
3737
"required": ["testName", "testCommand"]
3838
}
39+
},
40+
"versions": {
41+
"type": "array",
42+
"description": "List of different dependency versions to test. If this property is provided, the tests will run for each item, if it is omitted, the tests will only run once with the dependencies provided in package.json.",
43+
"items": {
44+
"type": "object",
45+
"properties": {
46+
"dependencyOverrides": {
47+
"type": "object",
48+
"description": "Object to merge with the \"dependencies\" object in package.json.",
49+
"additionalProperties": { "type": "string" }
50+
}
51+
}
52+
}
53+
},
54+
"canaryVersions": {
55+
"type": "array",
56+
"description": "List of different dependency versions to test as part of the canary test. Canary tests are only run if the CANARY_E2E_TEST environment variable is set. If If CANARY_E2E_TEST is set and this property is provided, the tests will run for each item, if it is omitted, no tests will be executed.",
57+
"items": {
58+
"type": "object",
59+
"properties": {
60+
"dependencyOverrides": {
61+
"type": "object",
62+
"description": "Object to merge with the \"dependencies\" object in package.json.",
63+
"additionalProperties": { "type": "string" }
64+
}
65+
}
66+
}
3967
}
4068
},
4169
"required": ["testApplicationName", "tests"]

0 commit comments

Comments
 (0)