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.
19 lines
986 B
19 lines
986 B
5 months ago
|
import { test, expect } from '@playwright/test';
|
||
|
|
||
|
test('Validate copy contact info to clipboard', async ({ page }) => {
|
||
|
// Create new ID using seed phrase "island fever beef…"
|
||
4 months ago
|
await page.goto('https://test.timesafari.app/start');
|
||
|
await page.getByText('You have a seed').click();
|
||
5 months ago
|
await page.getByPlaceholder('Seed Phrase').click();
|
||
|
await page.getByPlaceholder('Seed Phrase').fill('island fever beef wine urban aim vacant quit afford total poem flame service calm better adult neither color gaze forum month sister imitate excite');
|
||
|
await page.getByRole('button', { name: 'Import' }).click();
|
||
|
|
||
|
// Set name
|
||
|
await page.getByRole('link', { name: 'Set Your Name' }).click();
|
||
|
await page.getByPlaceholder('Name').click();
|
||
4 months ago
|
await page.getByPlaceholder('Name').fill('User One');
|
||
5 months ago
|
await page.getByRole('button', { name: 'Save Changes' }).click();
|
||
|
|
||
|
// Check DID
|
||
|
await expect(page.getByRole('code')).toContainText('did:ethr:0x111d15564f824D56C7a07b913aA7aDd03382aA39');
|
||
|
});
|