@flakiness/playwright
Advanced tools
| import type { FullConfig, FullResult, Reporter, Suite, TestCase, TestError, TestResult } from '@playwright/test/reporter'; | ||
| type OpenMode = 'always' | 'never' | 'on-failure'; | ||
| export default class FlakinessReporter implements Reporter { | ||
| private _options; | ||
| private _config?; | ||
| private _rootSuite?; | ||
| private _results; | ||
| private _unattributedErrors; | ||
| private _systemUtilizationSampler; | ||
| private _report?; | ||
| private _attachments; | ||
| private _outputFolder; | ||
| private _result?; | ||
| constructor(_options?: { | ||
| endpoint?: string; | ||
| token?: string; | ||
| outputFolder?: string; | ||
| open?: OpenMode; | ||
| collectBrowserVersions?: boolean; | ||
| }); | ||
| printsToStdio(): boolean; | ||
| onBegin(config: FullConfig, suite: Suite): void; | ||
| onError(error: TestError): void; | ||
| onTestBegin(test: TestCase): void; | ||
| onTestEnd(test: TestCase, result: TestResult): void; | ||
| private _toFKSuites; | ||
| private _toFKTest; | ||
| private _toFKRunAttempt; | ||
| private _toFKTestStep; | ||
| private _createLocation; | ||
| private _toFKTestError; | ||
| onEnd(result: FullResult): Promise<void>; | ||
| onExit(): Promise<void>; | ||
| } | ||
| export {}; | ||
| //# sourceMappingURL=playwright-test.d.ts.map |
| {"version":3,"file":"playwright-test.d.ts","sourceRoot":"","sources":["../../src/playwright-test.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,UAAU,EAEV,UAAU,EAEV,QAAQ,EACR,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAEvC,MAAM,2BAA2B,CAAC;AA6BnC,KAAK,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,CAAC;AAElD,MAAM,CAAC,OAAO,OAAO,iBAAkB,YAAW,QAAQ;IAa5C,OAAO,CAAC,QAAQ;IAZ5B,OAAO,CAAC,OAAO,CAAC,CAAa;IAC7B,OAAO,CAAC,UAAU,CAAC,CAAQ;IAC3B,OAAO,CAAC,QAAQ,CAAwC;IACxD,OAAO,CAAC,mBAAmB,CAAmB;IAE9C,OAAO,CAAC,yBAAyB,CAAkC;IACnE,OAAO,CAAC,OAAO,CAAC,CAAY;IAC5B,OAAO,CAAC,YAAY,CAAgC;IACpD,OAAO,CAAC,aAAa,CAAS;IAE9B,OAAO,CAAC,OAAO,CAAC,CAAa;gBAET,QAAQ,GAAE;QAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,IAAI,CAAC,EAAE,QAAQ,CAAC;QAChB,sBAAsB,CAAC,EAAE,OAAO,CAAC;KAC7B;IAIN,aAAa,IAAI,OAAO;IAIxB,OAAO,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK;IAKxC,OAAO,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAI/B,WAAW,CAAC,IAAI,EAAE,QAAQ;IAG1B,SAAS,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU;YAM9B,WAAW;YAsBX,SAAS;YAWT,eAAe;IAmD7B,OAAO,CAAC,aAAa;IAmBrB,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,cAAc;IAUhB,KAAK,CAAC,MAAM,EAAE,UAAU;IAyFxB,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;CA0B9B"} |
@@ -273,5 +273,7 @@ // src/playwright-test.ts | ||
| uniqueNames.add(defaultName); | ||
| const metadata = structuredClone(project.metadata); | ||
| delete metadata.gitDiff; | ||
| result.set(project, ReportUtils.createEnvironment({ | ||
| name, | ||
| userSuppliedData: project.metadata, | ||
| userSuppliedData: metadata, | ||
| opaqueData: { project } | ||
@@ -278,0 +280,0 @@ })); |
+12
-5
| { | ||
| "name": "@flakiness/playwright", | ||
| "version": "0.149.1", | ||
| "version": "0.150.0", | ||
| "private": false, | ||
@@ -15,13 +15,20 @@ "exports": { | ||
| "types": "./types/index.d.ts", | ||
| "scripts": {}, | ||
| "scripts": { | ||
| "minor": "./version.mjs minor", | ||
| "patch": "./version.mjs patch" | ||
| }, | ||
| "keywords": [], | ||
| "author": "Degu Labs, Inc", | ||
| "license": "Fair Source 100", | ||
| "license": "MIT", | ||
| "devDependencies": { | ||
| "@playwright/test": "^1.57.0" | ||
| "@playwright/test": "^1.57.0", | ||
| "@types/node": "^25.0.3", | ||
| "kubik": "^0.24.0", | ||
| "tsx": "^4.21.0", | ||
| "typescript": "^5.9.3" | ||
| }, | ||
| "dependencies": { | ||
| "@flakiness/sdk": "0.149.1", | ||
| "@flakiness/sdk": "^0.150.2", | ||
| "chalk": "^5.6.2" | ||
| } | ||
| } |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Misc. License Issues
LicenseA package's licensing information has fine-grained problems.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Unidentified License
LicenseSomething that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
6
20%0
-100%0
-100%320
13.07%21819
-61%5
400%+ Added
- Removed
Updated