-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(Cypress): Update tests to use new mock data
- Loading branch information
1 parent
cfb02ca
commit 7fb9dea
Showing
3 changed files
with
41 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,42 @@ | ||
{ | ||
"start": { | ||
"errorMessage": "Fake Error Message", | ||
"opModeName": "$Stop$Robot$", | ||
"state": "RUNNING", | ||
"status": "INIT", | ||
"warningMessage": "Fake Warning Message", | ||
"type": "SEND_STATUS" | ||
"warning": { | ||
"type": "telemetry", | ||
"message": { | ||
"tag": "$System$Warning$", | ||
"dataStrings": [{ "value": "Fake Warning Message" }] | ||
} | ||
}, | ||
"error": { | ||
"type": "telemetry", | ||
"message": { | ||
"tag": "$System$Error$", | ||
"dataStrings": [{ "value": "Fake Error Message" }] | ||
} | ||
}, | ||
"init": { | ||
"errorMessage": "", | ||
"opModeName": "Final TeleOP", | ||
"state": "RUNNING", | ||
"status": "INIT", | ||
"warningMessage": "Fake Warning Message", | ||
"type": "SEND_STATUS" | ||
"type": "activeOpmode", | ||
"value": "Websocket Test" | ||
}, | ||
"nonwarning": { | ||
"type": "telemetry", | ||
"message": { | ||
"tag": "$System$Warning$", | ||
"dataStrings": [{ "value": "" }] | ||
} | ||
}, | ||
"nonerror": { | ||
"type": "telemetry", | ||
"message": { | ||
"tag": "$System$Error$", | ||
"dataStrings": [{ "value": "" }] | ||
} | ||
}, | ||
"started": { | ||
"errorMessage": "Fake Error Message", | ||
"opModeName": "Final TeleOP", | ||
"state": "RUNNING", | ||
"status": "RUNNING", | ||
"warningMessage": "", | ||
"type": "SEND_STATUS" | ||
"type": "runOpmode", | ||
"message": "Websocket Test" | ||
}, | ||
"stop": { | ||
"type": "activeOpmode", | ||
"value": "$Stop$Robot$" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters