From ab7ffd2f623f1972c032a5fbf56ad959a49956b9 Mon Sep 17 00:00:00 2001 From: Emi Date: Wed, 24 Jan 2024 16:16:57 +0100 Subject: [PATCH] chore: debug --- .github/workflows/e2e-linux.yml | 7 +++++++ .../sagas/messages/verifyMessage/verifyMessages.saga.ts | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/e2e-linux.yml b/.github/workflows/e2e-linux.yml index 45dada8bbc..72e03910b8 100644 --- a/.github/workflows/e2e-linux.yml +++ b/.github/workflows/e2e-linux.yml @@ -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: diff --git a/packages/state-manager/src/sagas/messages/verifyMessage/verifyMessages.saga.ts b/packages/state-manager/src/sagas/messages/verifyMessage/verifyMessages.saga.ts index c7b767f028..1a8dac2c05 100644 --- a/packages/state-manager/src/sagas/messages/verifyMessage/verifyMessages.saga.ts +++ b/packages/state-manager/src/sagas/messages/verifyMessage/verifyMessages.saga.ts @@ -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) @@ -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