Figma 설명 프레임 반영 — 로그인·온보딩·스플래시 · HOME · GALAXY · 퀘스트·이클립스·알림
This commit is contained in:
@@ -1772,3 +1772,15 @@ describe('테스트 자가 점검', () => {
|
||||
expect(testEnvironment.projectId).toMatch(/^demo-/);
|
||||
});
|
||||
});
|
||||
|
||||
describe('성운 일 1회 기록 — GALAXY 「성운 생성」 버튼(Figma 540:19592)', () => {
|
||||
test('본인 기록은 읽고, 남의 기록은 못 읽고, 아무도 쓰지 못한다', async () => {
|
||||
await seedDocuments(testEnvironment, {
|
||||
'users/alice/nebulaCreates/2026-10-06': { fandomId: 'f1' },
|
||||
});
|
||||
await assertSucceeds(getDoc(doc(dbFor('alice'), 'users/alice/nebulaCreates/2026-10-06')));
|
||||
await assertSucceeds(getDoc(doc(dbFor('alice'), 'users/alice/nebulaCreates/2026-10-07')));
|
||||
await assertFails(getDoc(doc(dbFor('bob'), 'users/alice/nebulaCreates/2026-10-06')));
|
||||
await assertFails(setDoc(doc(dbFor('alice'), 'users/alice/nebulaCreates/2026-10-08'), { fandomId: 'f2' }));
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user