Fix: update notice locator
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:
|
||||
@@ -99,7 +99,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 }) => {
|
||||
|
||||
Reference in New Issue
Block a user