Enables ContextIsolation
This commit is contained in:
parent
4bbf5eb5d4
commit
9374832ea4
83 changed files with 1009 additions and 1073 deletions
|
@ -43,13 +43,7 @@ describe('storage service', function needsName() {
|
|||
const conversationStack = window.locator('.conversation-stack');
|
||||
|
||||
debug('Verifying that the group is pinned on startup');
|
||||
await leftPane
|
||||
.locator(
|
||||
'_react=ConversationListItem' +
|
||||
'[isPinned = true] ' +
|
||||
`[title = ${JSON.stringify(group.title)}]`
|
||||
)
|
||||
.waitFor();
|
||||
await leftPane.locator(`[data-testid="${group.id}"]`).waitFor();
|
||||
|
||||
debug('Unpinning group via storage service');
|
||||
{
|
||||
|
@ -60,24 +54,14 @@ describe('storage service', function needsName() {
|
|||
timestamp: bootstrap.getTimestamp(),
|
||||
});
|
||||
|
||||
await leftPane
|
||||
.locator(
|
||||
'_react=ConversationListItem' +
|
||||
'[isPinned = false] ' +
|
||||
`[title = ${JSON.stringify(group.title)}]`
|
||||
)
|
||||
.waitFor();
|
||||
await leftPane.locator(`[data-testid="${group.id}"]`).waitFor();
|
||||
}
|
||||
|
||||
debug('Pinning group in the app');
|
||||
{
|
||||
const state = await phone.expectStorageState('consistency check');
|
||||
|
||||
const convo = leftPane.locator(
|
||||
'_react=ConversationListItem' +
|
||||
'[isPinned = false] ' +
|
||||
`[title = ${JSON.stringify(group.title)}]`
|
||||
);
|
||||
const convo = leftPane.locator(`[data-testid="${group.id}"]`);
|
||||
await convo.click();
|
||||
|
||||
const moreButton = conversationStack.locator(
|
||||
|
@ -120,8 +104,7 @@ describe('storage service', function needsName() {
|
|||
|
||||
debug('pinning contact=%d', i);
|
||||
const convo = leftPane.locator(
|
||||
'_react=ConversationListItem' +
|
||||
`[title = ${JSON.stringify(contact.profileName)}]`
|
||||
`[data-testid="${contact.toContact().uuid}"]`
|
||||
);
|
||||
await convo.click();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue