Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test-fe: Playwright 설정 #715

Merged
merged 7 commits into from
Sep 26, 2024
Merged

test-fe: Playwright 설정 #715

merged 7 commits into from
Sep 26, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 25, 2024

목적

Playwright를 도입하고, 프로젝트에 맞게 설정합니다.

작업 세부사항

  • playwright 설치
  • reporter 설정
    • html
    • list
    • custom reporter(slack 메세지 전송)

참고 사항

  • @id:ms-playwright.playwright 로 검색하면 Playwright VS Code extension을 설치할 수 있습니다.
  • reporter는 어떤 게 가장 유용할지 써보면서 판단해야 할 것 같아 html, list 모두 활성화시켰습니다.
  • 로컬 실행 결과를 slack에 보내려면 두 가지 작업을 해주세요.
    • Slack Webhook url을 환경변수로 추가해줘야 합니다. 값은 notion에 공유했습니다.
    • 설정을 아래와 같이 변경합니다.
// playwright.config.ts
export default defineConfig({
  testDir: './e2e',
  fullyParallel: true,

  reporter: [['./e2e/slack-reporter.ts'], ['html'], ['list']], // 이 코드의 주석을 풀어주세요.
  // reporter: [['html'], ['list']],

실행하면 아래와 같이 보내집니다! 메세지 내용은 피드백 주세요.

image

closes #714

@github-actions github-actions bot added frontend 프론트엔드 test test 관련 코드 추가 labels Sep 25, 2024
@github-actions github-actions bot added this to the 스프린트 4.0 milestone Sep 25, 2024
Copy link
Contributor Author

1727254469.875139

Copy link
Contributor Author

1727254472.774679

Copy link
Contributor Author

1727254476.189639

Copy link
Contributor Author

1727254478.999739

Copy link
Contributor

@lurgi lurgi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

slack reporter 구우욷👍

Copy link
Contributor

@seongjinme seongjinme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

렛서 고생하셨습니다. 덕분에 Playwright라는 새로운 도구를 접했네요. 찬찬히 들여다보고 테스트도 구상해 보겠습니다 🙏

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

슬랙 연동 아주 좋습니다 👍

@llqqssttyy llqqssttyy merged commit 2a2aa6b into fe/develop Sep 26, 2024
1 check passed
@llqqssttyy llqqssttyy deleted the fe-714-E2E_01 branch September 26, 2024 02:07
llqqssttyy added a commit that referenced this pull request Sep 27, 2024
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kim Da Eun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend 프론트엔드 test test 관련 코드 추가
Projects
Status: 완료
Development

Successfully merging this pull request may close these issues.

3 participants