Merge branch 'master' into didview-invalid-did-handling
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
* Key Selectors:
|
||||
* - Activity list: 'ul#listLatestActivity li'
|
||||
* - Discover list: 'ul#listDiscoverResults li'
|
||||
* - Account notices: '#noticeBeforeShare', '#noticeBeforeAnnounce'
|
||||
* - Account notices: '#noticeBeforeShare', '#noticeSomeoneMustRegisterYou'
|
||||
* - Identity details: '#sectionIdentityDetails code.truncate'
|
||||
*
|
||||
* State Verification:
|
||||
@@ -69,6 +69,7 @@
|
||||
*/
|
||||
|
||||
import { test, expect } from '@playwright/test';
|
||||
import { UNNAMED_ENTITY_NAME } from '../src/constants/entities';
|
||||
import { deleteContact, generateAndRegisterEthrUser, importUser } from './testUtils';
|
||||
import { NOTIFY_CONTACT_INVALID_DID } from '../src/constants/notifications';
|
||||
|
||||
@@ -100,7 +101,7 @@ test('Check no-ID messaging in account', async ({ page }) => {
|
||||
await page.goto('./account');
|
||||
|
||||
// Check 'a friend needs to register you' notice
|
||||
await expect(page.locator('#noticeBeforeAnnounce')).toBeVisible();
|
||||
await expect(page.locator('#noticeSomeoneMustRegisterYou')).toBeVisible();
|
||||
});
|
||||
|
||||
test('Check ability to share contact', async ({ page }) => {
|
||||
@@ -191,7 +192,7 @@ test('Check User 0 can register a random person', async ({ page }) => {
|
||||
await page.goto('./');
|
||||
await page.getByTestId('closeOnboardingAndFinish').click();
|
||||
await page.getByRole('button', { name: 'Person' }).click();
|
||||
await page.getByRole('listitem').filter({ hasText: 'Unnamed' }).locator('svg').click();
|
||||
await page.getByRole('listitem').filter({ hasText: UNNAMED_ENTITY_NAME }).locator('svg').click();
|
||||
await page.getByPlaceholder('What was given').fill('Gave me access!');
|
||||
await page.getByRole('button', { name: 'Sign & Send' }).click();
|
||||
await expect(page.getByText('That gift was recorded.')).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user