mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
Updated test per updated script viewer code
This commit is contained in:
@ -44,6 +44,7 @@ public class ScriptTableTest extends QBaseSeleniumTest
|
|||||||
.withRouteToFile("/data/script/1", "data/script/1.json")
|
.withRouteToFile("/data/script/1", "data/script/1.json")
|
||||||
.withRouteToFile("/data/scriptType/1", "data/scriptType/1.json")
|
.withRouteToFile("/data/scriptType/1", "data/scriptType/1.json")
|
||||||
.withRouteToFile("/data/scriptRevision/query", "data/scriptRevision/query.json")
|
.withRouteToFile("/data/scriptRevision/query", "data/scriptRevision/query.json")
|
||||||
|
.withRouteToFile("/data/scriptLog/query", "data/scriptLog/query.json")
|
||||||
.withRouteToFile("/data/scriptRevision/100", "data/scriptRevision/100.json")
|
.withRouteToFile("/data/scriptRevision/100", "data/scriptRevision/100.json")
|
||||||
.withRouteToFile("/metaData/table/script", "metaData/table/script.json")
|
.withRouteToFile("/metaData/table/script", "metaData/table/script.json")
|
||||||
.withRouteToFile("/widget/scriptViewer", "widget/scriptViewer.json")
|
.withRouteToFile("/widget/scriptViewer", "widget/scriptViewer.json")
|
||||||
|
3
src/test/resources/fixtures/data/scriptLog/query.json
Normal file
3
src/test/resources/fixtures/data/scriptLog/query.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"records": []
|
||||||
|
}
|
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"tableName": "scriptRevision",
|
"tableName": "scriptRevision",
|
||||||
"values": {
|
"values": {
|
||||||
"contents": "var hello;",
|
|
||||||
"id": 100,
|
"id": 100,
|
||||||
"commitMessage": "Initial checkin",
|
"commitMessage": "Initial checkin",
|
||||||
"author": "Jon Programmer",
|
"author": "Jon Programmer",
|
||||||
@ -10,5 +9,20 @@
|
|||||||
},
|
},
|
||||||
"displayValues": {
|
"displayValues": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"associatedRecords": {
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"tableName": "scriptRevisionFile",
|
||||||
|
"values": {
|
||||||
|
"id": 101,
|
||||||
|
"fileName": "Script.js",
|
||||||
|
"contents": "var hello;",
|
||||||
|
"scriptRevisionId": 100,
|
||||||
|
"createDate": "2023-06-23T21:59:57Z",
|
||||||
|
"modifyDate": "2023-06-23T21:59:57Z"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -5,7 +5,8 @@
|
|||||||
"name": "Record Script",
|
"name": "Record Script",
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"createDate": "2023-02-18T00:47:51Z",
|
"createDate": "2023-02-18T00:47:51Z",
|
||||||
"modifyDate": "2023-02-18T00:47:51Z"
|
"modifyDate": "2023-02-18T00:47:51Z",
|
||||||
|
"fileMode": 1
|
||||||
},
|
},
|
||||||
"displayValues": {
|
"displayValues": {
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user