Notification token on Windows
This commit is contained in:
parent
74acb3a2dd
commit
22d30ec4eb
10 changed files with 142 additions and 122 deletions
|
|
@ -55,18 +55,13 @@ describe('routing', function (this: Mocha.Suite) {
|
|||
const [friend] = contacts;
|
||||
const page = await app.getWindow();
|
||||
await page.locator('#LeftPane').waitFor();
|
||||
const conversationId = await page.evaluate(
|
||||
serviceId => window.SignalCI?.getConversationId(serviceId),
|
||||
const token = await page.evaluate(
|
||||
serviceId => window.SignalCI?.createNotificationToken(serviceId),
|
||||
friend.toContact().aci
|
||||
);
|
||||
strictAssert(
|
||||
typeof conversationId === 'string',
|
||||
'conversationId must exist'
|
||||
);
|
||||
strictAssert(typeof token === 'string', 'token must be returned');
|
||||
const conversationUrl = showConversationRoute.toAppUrl({
|
||||
conversationId,
|
||||
messageId: null,
|
||||
storyId: null,
|
||||
token,
|
||||
});
|
||||
await app.openSignalRoute(conversationUrl);
|
||||
const title = page.locator(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue