Clarify storage limits and unify file metadata displays
This commit is contained in:
@@ -414,9 +414,22 @@ try {
|
||||
return { deviceId: session.device.id, ok: response.ok };
|
||||
});
|
||||
assert.equal(oldSession.ok, true);
|
||||
await page.locator('.footer-device-summary').filter({ hasText: '발견 꺼짐' }).waitFor();
|
||||
await page.waitForFunction(
|
||||
() =>
|
||||
!document
|
||||
.querySelector('.footer-device-summary .device-state-dot')
|
||||
?.classList.contains('enabled'),
|
||||
);
|
||||
await page.reload();
|
||||
await page.locator('.footer-device-summary').filter({ hasText: '발견 허용' }).waitFor();
|
||||
await page.waitForFunction(() =>
|
||||
document
|
||||
.querySelector('.footer-device-summary .device-state-dot')
|
||||
?.classList.contains('enabled'),
|
||||
);
|
||||
assert.doesNotMatch(
|
||||
await page.locator('.footer-device-summary').innerText(),
|
||||
/발견 허용|발견 꺼짐/,
|
||||
);
|
||||
assert.equal(await page.locator('.footer-device-name').innerText(), '나의 테스트 기기');
|
||||
assert.equal(
|
||||
await page.evaluate(async () => (await (await fetch('/api/device/snapshot')).json()).device.id),
|
||||
|
||||
Reference in New Issue
Block a user