Skip to content

Commit

Permalink
test: 테스트 코드 파일명 변경 (#97)
Browse files Browse the repository at this point in the history
- `파일명.spec.ts` 형식으로 변경
- `PostDetailPage.test.tsx` -> `PostDetailPage.spec.ts`
- `SignInPage.test.tsx` -> `SignInPage.spec.ts`
- `HomeTimelinePage.test.tsx` -> `HomeTimelinePage.spec.ts`
  • Loading branch information
nakyeonko3 committed Sep 7, 2024
1 parent 616a44a commit 2b43c2f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/HomeTimelinePage.spec.ts → tests/Home.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ authTest.describe('HomePage - 로그인된 상태', () => {

const lastPost = page.locator('[data-testid="post"]').last();
await lastPost.scrollIntoViewIfNeeded();
await page.evaluate(() => window.scrollTo(0, document.body.scrollHeight));
await lastPost.scrollIntoViewIfNeeded();

await page.waitForFunction(
(initialCount) => document.querySelectorAll('[data-testid="post"]').length >= initialCount,
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 2b43c2f

Please sign in to comment.