콘텐츠로 이동

FullConfig

Source URL: https://playwright.dev/docs/api/class-fullconfig

testInfo.config에서 접근할 수 있고 테스트 리포터에 전달되는, 해석된 구성입니다. Playwright 구성 파일의 형식을 확인하려면 TestConfig를 참고하세요.


추가된 버전: v1.20 fullConfig.configFile

테스트 실행에 사용된 구성 파일의 경로입니다. 구성 파일을 사용하지 않은 경우 값은 빈 문자열입니다.

사용법

fullConfig.configFile

타입


추가된 버전: v1.10 fullConfig.forbidOnly

testConfig.forbidOnly를 참고하세요.

사용법

fullConfig.forbidOnly

타입


추가된 버전: v1.20 fullConfig.fullyParallel

testConfig.fullyParallel를 참고하세요.

사용법

fullConfig.fullyParallel

타입


추가된 버전: v1.10 fullConfig.globalSetup

testConfig.globalSetup를 참고하세요.

사용법

fullConfig.globalSetup

타입


추가된 버전: v1.10 fullConfig.globalTeardown

testConfig.globalTeardown를 참고하세요.

사용법

fullConfig.globalTeardown

타입


추가된 버전: v1.10 fullConfig.globalTimeout

testConfig.globalTimeout를 참고하세요.

사용법

fullConfig.globalTimeout

타입


추가된 버전: v1.10 fullConfig.grep

testConfig.grep를 참고하세요.

사용법

fullConfig.grep

타입


추가된 버전: v1.10 fullConfig.grepInvert

testConfig.grepInvert를 참고하세요.

사용법

fullConfig.grepInvert

타입


추가된 버전: v1.10 fullConfig.maxFailures

testConfig.maxFailures를 참고하세요.

사용법

fullConfig.maxFailures

타입


추가된 버전: v1.10 fullConfig.metadata

testConfig.metadata를 참고하세요.

사용법

fullConfig.metadata

타입


추가된 버전: v1.10 fullConfig.preserveOutput

testConfig.preserveOutput를 참고하세요.

사용법

fullConfig.preserveOutput

타입

  • “always” | “never” | “failures-only”

추가된 버전: v1.10 fullConfig.projects

해석된 프로젝트 목록입니다.

사용법

fullConfig.projects

타입


추가된 버전: v1.10 fullConfig.quiet

testConfig.quiet를 참고하세요.

사용법

fullConfig.quiet

타입


추가된 버전: v1.10 fullConfig.reportSlowTests

testConfig.reportSlowTests를 참고하세요.

사용법

fullConfig.reportSlowTests

타입

보고할 느린 테스트 파일의 최대 개수입니다.

* `threshold` [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type "Number")

느리다고 간주되는 테스트 파일 실행 시간(밀리초)입니다.


추가된 버전: v1.10 fullConfig.reporter

testConfig.reporter를 참고하세요.

사용법

fullConfig.reporter

타입

  • string | Array<Object> | “list” | “dot” | “line” | “github” | “json” | “junit” | “null” | “html”

리포터 이름, 모듈 또는 파일 경로

* `1` [Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object "Object")

리포터 옵션이 있는 경우 해당 옵션 객체


추가된 버전: v1.20 fullConfig.rootDir

리포터에서 사용되는 모든 상대 경로의 기준 디렉터리입니다.

사용법

fullConfig.rootDir

타입


추가된 버전: v1.10 fullConfig.shard

testConfig.shard를 참고하세요.

사용법

fullConfig.shard

타입

샤드의 총 개수입니다.

* `current` [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type "Number")

실행할 샤드의 인덱스(1부터 시작)입니다.


추가된 버전: v1.57 fullConfig.tags

해석된 전역 태그입니다. testConfig.tag를 참고하세요.

사용법

fullConfig.tags

타입


추가된 버전: v1.10 fullConfig.updateSnapshots

testConfig.updateSnapshots를 참고하세요.

사용법

fullConfig.updateSnapshots

타입

  • “all” | “changed” | “missing” | “none”

추가된 버전: v1.50 fullConfig.updateSourceMethod

testConfig.updateSourceMethod를 참고하세요.

사용법

fullConfig.updateSourceMethod

타입

  • “overwrite” | “3way” | “patch”

추가된 버전: v1.20 fullConfig.version

Playwright 버전입니다.

사용법

fullConfig.version

타입


추가된 버전: v1.10 fullConfig.webServer

testConfig.webServer를 참고하세요.

사용법

fullConfig.webServer

타입


추가된 버전: v1.10 fullConfig.workers

testConfig.workers를 참고하세요.

사용법

fullConfig.workers

타입