You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
853 B
17 lines
853 B
5 months ago
|
import { test, expect } from '@playwright/test';
|
||
|
|
||
|
test('Create new ID from seed', async ({ page }) => {
|
||
|
// Create new ID using seed phrase "rigid shrug mobile…"
|
||
4 months ago
|
await page.goto('./start');
|
||
4 months ago
|
await page.getByText('You have a seed').click();
|
||
5 months ago
|
await page.getByPlaceholder('Seed Phrase').fill('rigid shrug mobile smart veteran half all pond toilet brave review universe ship congress found yard skate elite apology jar uniform subway slender luggage');
|
||
|
await page.getByRole('button', { name: 'Import' }).click();
|
||
|
|
||
|
// Set name
|
||
|
await page.getByRole('link', { name: 'Set Your Name' }).click();
|
||
4 months ago
|
await page.getByPlaceholder('Name').fill('User Zero');
|
||
5 months ago
|
await page.getByRole('button', { name: 'Save Changes' }).click();
|
||
|
|
||
|
// Check DID
|
||
|
await expect(page.getByRole('code')).toContainText('did:ethr:0x0000694B58C2cC69658993A90D3840C560f2F51F');
|
||
|
});
|