Skip to content

Commit

Permalink
website: Update cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshil2107 committed Jan 9, 2024
1 parent 25fe9c6 commit 7bdc5a4
Showing 1 changed file with 50 additions and 2 deletions.
52 changes: 50 additions & 2 deletions cypress/fixtures/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"simpoint-directory",
"resource",
"looppoint-pinpoint-csv",
"looppoint-json"
"looppoint-json",
"suite"
],
"description": "The category of the resource",
"default": "resource"
Expand Down Expand Up @@ -189,7 +190,11 @@
},
{
"$ref": "#/definitions/workload"
},
{
"$ref": "#/definitions/suite"
}

],
"definitions": {
"architecture": {
Expand Down Expand Up @@ -236,7 +241,18 @@
},
"resources": {
"type": "object",
"description": "A dictionary of resources that are required to run the workload",
"description": "An dictionary of resources that are required to run the workload",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"resoruce-version": {
"type": "string"
}
}
},
"default": {}
}
},
Expand Down Expand Up @@ -526,6 +542,38 @@
"$ref": "#/definitions/abstract-file"
}
]
},
"suite" : {
"description": "A collection of workloads.",
"properties" : {
"category": {
"type": "string",
"const": "suite"
},
"workloads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"resource-version": {
"type": "string"
},
"input-group" : {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
},
"required": [
"workloads"
]
}
}
}

0 comments on commit 7bdc5a4

Please sign in to comment.