Skip to content

seongpil0948/playwright-excel-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playwright Excel Reporter · npm version

Playwright Custom Reporter Library.
Provides the ability to output test results to Excel(SheetJs)

Examples

Custom Reporter. Here is the first one to get you started:

// playwright.config.ts
import type { IExcelConfig } from 'playwright-excel-reporter'
export default defineConfig({
  reporter: [
    ['html', {
      outputFolder: 'playwright-result-html',
      outputFile: 'result.html',
    }],
    ['playwright-excel-reporter', {
      excelInputPath: 'test/asset/unit-test-case.xlsx',
      excelStartRow: 0,
      caseSheetName: '블라인드',
    } as Partial<IExcelConfig>],
  ],
})

이 설정은 Playwright 테스트가 종료 되었을때 test/asset/unit-test-case.xlsx 엑셀 파일의 블라인드 시트의 0번째 row에 테스트의 결과를 기록하여 excel-reporter-result/result.xlsx 경로에 저장합니다.

result of the test in the 0th row of the 블라인드 sheet in the test/asset/unit-test-case.xlsx excel file and save it in the excel-reporter-result/result.xlsx path.

Issue

Package name

Error setting package name @abacus/playwright-excel-reporter

  • npm determines that abacus org and causes authentication to fail.
  • I checked that both npm and github packages are not working

About

implement Custom Reporter of Playwrights

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published