Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
EmiM committed Jan 24, 2024
1 parent adf5d3e commit ab7ffd2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/e2e-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ jobs:
working-directory: ./packages/e2e-tests/Quiet
run: chmod +x $FILE_NAME

- name: "Upload built app"
uses: actions/upload-artifact@v3
with:
name: quiet-linux
path: ./packages/desktop/dist/Quiet-${{ steps.extract_version.outputs.version }}.AppImage
retention-days: 2

- name: Run one client test
uses: nick-fields/retry@v2
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export function* verifyMessagesSaga(
yield* delay(500)
}

console.log('verifyMessagesSaga messages', messages)

for (const message of messages) {
let isVerified = Boolean(action.payload.isVerified)

Expand All @@ -40,6 +42,8 @@ export function* verifyMessagesSaga(

const expectedMessage = yield* call(verifyUserInfoMessage, user.username, channel)

console.log('verifyMessagesSaga expectedMessage', expectedMessage)
console.log('verifyMessagesSaga message.message', message.message)
if (message.message !== expectedMessage) {
console.error(`${user.username} tried to send a malicious info message`)
isVerified = false
Expand Down

0 comments on commit ab7ffd2

Please sign in to comment.