Migrate react-contextmenu menus to axo menus

Co-authored-by: Fedor Indutny <indutny@signal.org>
This commit is contained in:
Jamie
2025-11-12 09:31:52 -08:00
committed by GitHub
parent 7d52f761e3
commit 714e161671
37 changed files with 1366 additions and 1693 deletions

View File

@@ -92,14 +92,14 @@ describe('storage service', function (this: Mocha.Suite) {
.locator(`[data-testid="${firstContact.device.aci}"]`)
.click();
const moreButton = conversationStack.locator(
'button.module-ConversationHeader__button--more'
);
const moreButton = conversationStack.getByRole('button', {
name: 'More Info',
});
await moreButton.click();
const archiveButton = window.locator(
'.react-contextmenu-item >> "Archive"'
);
const archiveButton = window.getByRole('menuitem', {
name: 'Archive',
});
await archiveButton.click();
const newState = await phone.waitForStorageState({