[10팀 김정은] [Chapter 1-1] 프레임워크 없이 SPA 만들기 #68
Triggered via pull request
December 18, 2024 18:25
jungeun0712
synchronize
#28
Status
Failure
Total duration
1m 38s
Artifacts
–
Annotations
9 errors and 3 warnings
src/__tests__/advanced.hashRouter.test.js > 심화과제 > 해시 라우터 테스트 > 1. 라우팅 구현 > "/" 경로로 접근하면 홈 페이지가 렌더링된다:
src/__tests__/advanced.hashRouter.test.js#L26
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ src/__tests__/advanced.hashRouter.test.js:26:30
|
src/__tests__/advanced.hashRouter.test.js > 심화과제 > 해시 라우터 테스트 > 1. 라우팅 구현 > "/login" 경로로 접근하면 로그인 페이지가 렌더링된다:
src/__tests__/advanced.hashRouter.test.js#L36
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ src/__tests__/advanced.hashRouter.test.js:36:36
|
src/__tests__/advanced.hashRouter.test.js > 심화과제 > 해시 라우터 테스트 > 1. 라우팅 구현 > 로그인이 되지 않은 상태에서 "/profile" 경로로 접근하면, 로그인 페이지로 리다이렉션 된다.:
src/__tests__/advanced.hashRouter.test.js#L48
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ src/__tests__/advanced.hashRouter.test.js:48:36
|
src/__tests__/advanced.hashRouter.test.js > 심화과제 > 해시 라우터 테스트 > 1. 라우팅 구현 > 존재하지 않는 경로로 접근하면 404 페이지가 렌더링된다:
src/__tests__/advanced.hashRouter.test.js#L54
AssertionError: expected '<div id="root"></div>' to contain '404'
Expected: "404"
Received: "<div id="root"></div>"
❯ src/__tests__/advanced.hashRouter.test.js:54:39
|
advacned
Process completed with exit code 1.
|
src/__tests__/basic.test.js > 기본과제 테스트 > 4. 컴포넌트 기반 구조 설계 > Header, Footer 컴포넌트가 메인 페이지와 프로필 페이지에 존재하고, 로그인페이지와 에러페이지에는 존재하지 않는다.:
src/__tests__/basic.test.js#L173
AssertionError: expected <header …(1)><h1 …(1)></h1></header> to be falsy
- Expected:
false
+ Received:
<header
class="bg-blue-600 text-white p-4 sticky top-0"
>
<h1
class="text-2xl font-bold"
>
항해플러스
</h1>
</header>
❯ src/__tests__/basic.test.js:173:48
|
src/__tests__/basic.test.js > 기본과제 테스트 > 5. 상태 관리 구현 > 로그인 상태에 따라 UI가 변경된다:
src/__tests__/basic.test.js#L189
TypeError: Cannot read properties of null (reading 'disabled')
❯ Object.type node_modules/@testing-library/user-event/dist/esm/utility/type.js:14:17
❯ node_modules/@testing-library/user-event/dist/esm/setup/setup.js:83:35
❯ Object.asyncWrapper node_modules/@testing-library/dom/dist/config.js:23:23
❯ wrapAsync node_modules/@testing-library/user-event/dist/esm/setup/wrapAsync.js:6:24
❯ Object.method [as type] node_modules/@testing-library/user-event/dist/esm/setup/setup.js:83:16
❯ src/__tests__/basic.test.js:189:18
|
basic
Process completed with exit code 1.
|
e2e
Process completed with exit code 1.
|
advacned
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
basic
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
e2e
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|