Skip to content

Commit

Permalink
test_: message reactions test
Browse files Browse the repository at this point in the history
  • Loading branch information
yevh-berdnyk committed Feb 7, 2025
1 parent 848b411 commit ef26d60
Show file tree
Hide file tree
Showing 6 changed files with 870 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ __pycache__/
.pytest_cache/
.envrc
report/results.xml
tests-functional/coverage
tests-functional/**/coverage
tests-functional/reports
tests-functional/signals
tests-functional/*.log
Expand Down
66 changes: 66 additions & 0 deletions tests-functional/schemas/wakuext_emojiReactionsByChatID
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"$schema": "http://json-schema.org/schema#",
"properties": {
"id": {
"type": "integer"
},
"jsonrpc": {
"type": "string"
},
"result": {
"items": {
"properties": {
"chatId": {
"type": "string"
},
"clock": {
"type": "integer"
},
"compressedKey": {
"type": "string"
},
"emojiHash": {
"items": {
"type": "string"
},
"type": "array"
},
"emojiId": {
"type": "integer"
},
"from": {
"type": "string"
},
"id": {
"type": "string"
},
"localChatId": {
"type": "string"
},
"messageId": {
"type": "string"
}
},
"required": [
"chatId",
"clock",
"compressedKey",
"emojiHash",
"emojiId",
"from",
"id",
"localChatId",
"messageId"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"jsonrpc",
"result"
],
"type": "object"
}
66 changes: 66 additions & 0 deletions tests-functional/schemas/wakuext_emojiReactionsByChatIDMessageID
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"$schema": "http://json-schema.org/schema#",
"properties": {
"id": {
"type": "integer"
},
"jsonrpc": {
"type": "string"
},
"result": {
"items": {
"properties": {
"chatId": {
"type": "string"
},
"clock": {
"type": "integer"
},
"compressedKey": {
"type": "string"
},
"emojiHash": {
"items": {
"type": "string"
},
"type": "array"
},
"emojiId": {
"type": "integer"
},
"from": {
"type": "string"
},
"id": {
"type": "string"
},
"localChatId": {
"type": "string"
},
"messageId": {
"type": "string"
}
},
"required": [
"chatId",
"clock",
"compressedKey",
"emojiHash",
"emojiId",
"from",
"id",
"localChatId",
"messageId"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"jsonrpc",
"result"
],
"type": "object"
}
Loading

0 comments on commit ef26d60

Please sign in to comment.