Add plain text clipboard transfers and refine input feedback
This commit is contained in:
@@ -106,8 +106,8 @@ try {
|
||||
await receiver.locator('.room-leave').waitFor();
|
||||
await receiver.locator('.modal-backdrop').waitFor({ state: 'hidden' });
|
||||
await sender.locator('.peer-card').first().click();
|
||||
await sender.getByRole('button', { name: '대신 링크 붙여넣기', exact: true }).click();
|
||||
await sender.getByLabel('보낼 URL').fill('https://example.com/received');
|
||||
|
||||
await sender.locator('.current-url, .current-text').fill('https://example.com/received');
|
||||
await sender.getByRole('button', { name: '전송하기', exact: true }).click();
|
||||
const automaticallyOpened = receiver.waitForEvent('popup');
|
||||
await receiver.getByRole('button', { name: '수락', exact: true }).click();
|
||||
@@ -125,14 +125,14 @@ try {
|
||||
await sender.getByRole('button', { name: '보관함에 담기', exact: true }).click();
|
||||
await sender
|
||||
.getByRole('dialog', { name: '보관함에 담기' })
|
||||
.getByRole('button', { name: '링크 저장', exact: true })
|
||||
.getByRole('button', { name: '클립보드 저장', exact: true })
|
||||
.click();
|
||||
assert.equal(
|
||||
await sender.getByRole('dialog', { name: '보관함에 담기' }).locator('input[type=file]').count(),
|
||||
0,
|
||||
);
|
||||
await sender.getByLabel('한 줄 메모', { exact: true }).fill('나중에 읽을 글');
|
||||
await sender.getByLabel('보낼 URL').fill('https://example.com/saved');
|
||||
await sender.locator('.current-url, .current-text').fill('https://example.com/saved');
|
||||
await sender.getByRole('button', { name: '저장하기', exact: true }).click();
|
||||
await sender.locator('.item-card').filter({ hasText: '나중에 읽을 글' }).waitFor();
|
||||
await sender.getByRole('button', { name: '메모 수정', exact: true }).click();
|
||||
|
||||
Reference in New Issue
Block a user