Skip to content

Commit

Permalink
refactor: 배포한 @pium/stack-component 적용 (#419)
Browse files Browse the repository at this point in the history
* chore: update submodule

* chore: pium stack component 설치

* refactor: 라이브러리 적용

* chore: 사용하지 않는 파일 삭제

* test: cypress 코드 수정

- dom 순서와 ui 순서가 같아져서 돌아가지 않던 코드 수정
  • Loading branch information
WaiNaat authored and hozzijeong committed Oct 20, 2023
1 parent ecfa3f5 commit b88d223
Show file tree
Hide file tree
Showing 12 changed files with 128 additions and 315 deletions.
2 changes: 1 addition & 1 deletion backend/pium/src/main/resources/config
14 changes: 7 additions & 7 deletions frontend/cypress/e2e/petRegister.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,36 +71,36 @@ describe('반려 식물 등록하기', () => {
.get(`span[aria-label="${todayKorString}"]`)
.click()

.get('input')
.last()
.get('input[type="text"]')
.first()
.type('7')
.get('button[aria-label="입력 완료"]')
.last()
.first()
.click()

.get('button[type="button"]')
.last()
.first()
.click()
.get('li[role="menuitem"]')
.first()
.click()

.get('button[type="button"]')
.last()
.first()
.click()
.get('li[role="menuitem"]')
.last()
.click()

.get('button[type="button"]')
.last()
.first()
.click()
.get('li[role="menuitem"]')
.first()
.click()

.get('button[type="button"]')
.last()
.first()
.click()
.get('li[role="menuitem"]')
.last()
Expand Down
2 changes: 1 addition & 1 deletion frontend/env
Submodule env updated from 22eb37 to 395ab4
37 changes: 29 additions & 8 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"license": "MIT",
"dependencies": {
"@pium/stack-component": "^1.0.0",
"@tanstack/react-query": "^5.0.0-beta.20",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
142 changes: 0 additions & 142 deletions frontend/src/components/@common/Stack/Stack.stories.tsx

This file was deleted.

6 changes: 0 additions & 6 deletions frontend/src/components/@common/Stack/index.tsx

This file was deleted.

27 changes: 0 additions & 27 deletions frontend/src/components/@common/Stack/ingredients/Element.tsx

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions frontend/src/components/@common/Stack/ingredients/Main.tsx

This file was deleted.

Loading

0 comments on commit b88d223

Please sign in to comment.