Use libsignal-client for username validation

This commit is contained in:
Fedor Indutny 2023-05-24 02:07:59 +02:00 committed by GitHub
parent 3ff390e1c4
commit c0663ed57c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 35 additions and 68 deletions

View file

@ -258,7 +258,7 @@ describe('pnp/username', function needsName() {
await window.locator('button[aria-label="New chat"]').click();
const searchInput = window.locator('.module-SearchInput__container input');
await searchInput.type(`@${CARL_USERNAME}`);
await searchInput.type(CARL_USERNAME);
debug('starting lookup');
await window.locator(`div.ListTile >> "${CARL_USERNAME}"`).click();