|
|
|
@ -53,11 +53,19 @@ describe('Link Device', function() {
|
|
|
|
|
// get logs at this stage (getRenderProcessLogs() clears the app logs)
|
|
|
|
|
const secondaryRenderLogs = await app2.client.getRenderProcessLogs();
|
|
|
|
|
// pairing request message sent from secondary to primary pubkey
|
|
|
|
|
await common.logsContains(secondaryRenderLogs, `Sending pairing-request:pairing-request message to ${common.TEST_PUBKEY1}`);
|
|
|
|
|
await common.logsContains(
|
|
|
|
|
secondaryRenderLogs,
|
|
|
|
|
`Sending pairing-request:pairing-request message to ${
|
|
|
|
|
common.TEST_PUBKEY1
|
|
|
|
|
}`
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
const primaryRenderLogs = await app.client.getRenderProcessLogs();
|
|
|
|
|
// primary grant pairing request
|
|
|
|
|
await common.logsContains(primaryRenderLogs, 'Sending pairing-request:pairing-request message to OUR SECONDARY PUBKEY');
|
|
|
|
|
await common.logsContains(
|
|
|
|
|
primaryRenderLogs,
|
|
|
|
|
'Sending pairing-request:pairing-request message to OUR SECONDARY PUBKEY'
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
// no friends, no closed groups, no open groups. we should see those message sync in the log
|
|
|
|
|
await common.logsContains(primaryRenderLogs, 'No closed group to sync.');
|
|
|
|
|