Refine service information and simplify device controls
This commit is contained in:
@@ -67,7 +67,7 @@ try {
|
||||
assert.equal(await guestCard.locator('.peer-card').isDisabled(), true);
|
||||
await guestCard.getByRole('button', { name: '외부 기기 기기 더보기' }).click();
|
||||
await guestCard.getByRole('menuitem', { name: '참여 승인', exact: true }).click();
|
||||
await guestCard.getByText('온라인', { exact: true }).waitFor();
|
||||
await guestCard.getByText('승인 대기', { exact: true }).waitFor({ state: 'hidden' });
|
||||
assert.equal(await guestCard.locator('.peer-card').isEnabled(), true);
|
||||
const hostCard = guest.locator('.peer-entry').filter({ hasText: '방장 Mac' });
|
||||
await hostCard.locator('.host-badge').waitFor();
|
||||
|
||||
@@ -65,6 +65,10 @@ try {
|
||||
await page.getByRole('menuitem', { name: '서비스 정보', exact: true }).click();
|
||||
await page.getByRole('dialog', { name: '서비스 정보', exact: true }).waitFor();
|
||||
assert.equal(await more.getAttribute('aria-expanded'), 'false');
|
||||
await page.screenshot({ path: 'tests/e2e/service-info-desktop.png' });
|
||||
await page.setViewportSize({ width: 390, height: 844 });
|
||||
await page.screenshot({ path: 'tests/e2e/service-info-mobile.png' });
|
||||
await page.setViewportSize({ width: 1280, height: 1000 });
|
||||
await page.getByRole('button', { name: '대화상자 닫기', exact: true }).click();
|
||||
|
||||
assert.equal(await page.getByText('어디로 보낼까요?', { exact: true }).count(), 0);
|
||||
@@ -288,6 +292,7 @@ try {
|
||||
await page.getByRole('button', { name: '연결 공간 만들기', exact: true }).click();
|
||||
await page.getByRole('checkbox', { name: '참여할 때 내 승인 받기' }).waitFor();
|
||||
assert.equal(await page.getByLabel('연결 코드', { exact: true }).count(), 0);
|
||||
await page.screenshot({ path: 'tests/e2e/connection-create-mobile.png' });
|
||||
await page.getByRole('button', { name: '만들기', exact: true }).click();
|
||||
assert.match(await page.locator('.invite-code').innerText(), /^[A-HJ-NP-Z2-9]{4}$/);
|
||||
assert.equal(await page.locator('.local-qr-note,.invite-display .spin').count(), 0);
|
||||
|
||||
Reference in New Issue
Block a user