Skip to content

Commit

Permalink
test_: message reactions test (#6335)
Browse files Browse the repository at this point in the history
* test_: message reactions test

* test_: linting

* test_: privileged/unprivileged notes
  • Loading branch information
yevh-berdnyk authored Feb 11, 2025
1 parent cd1c084 commit 735b574
Show file tree
Hide file tree
Showing 12 changed files with 896 additions and 14 deletions.
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 735b574

Please sign in to comment.