allure-playwright
Advanced tools
Comparing version 2.0.0-beta.25 to 2.0.0-beta.26
@@ -1,4 +0,4 @@ | ||
import { AttachmentMetadata, Label, Link, ParameterOptions } from "allure-js-commons"; | ||
import { Label, Link, MetadataMessage, ParameterOptions } from "allure-js-commons"; | ||
export declare class allure { | ||
static addMetadataAttachment(metadata: AttachmentMetadata): void; | ||
static addMetadataAttachment(metadata: MetadataMessage): void; | ||
static label(label: Label | Label[]): void; | ||
@@ -5,0 +5,0 @@ static description(value: string): void; |
import { FullConfig } from "@playwright/test"; | ||
import { Reporter, Suite, TestCase, TestResult, TestStep } from "@playwright/test/reporter"; | ||
import { Category } from "allure-js-commons"; | ||
declare type AllureReporterOptions = { | ||
@@ -7,2 +8,4 @@ detail?: boolean; | ||
suiteTitle?: boolean; | ||
categories?: Category[]; | ||
environmentInfo?: Record<string, string>; | ||
}; | ||
@@ -9,0 +12,0 @@ declare class AllureReporter implements Reporter { |
@@ -34,2 +34,3 @@ "use strict"; | ||
onBegin(config, suite) { | ||
var _a, _b; | ||
this.config = config; | ||
@@ -42,2 +43,4 @@ this.suite = suite; | ||
}); | ||
this.allureRuntime.writeEnvironmentInfo(((_a = this.options) === null || _a === void 0 ? void 0 : _a.environmentInfo) || {}); | ||
this.allureRuntime.writeCategoriesDefinitions(((_b = this.options) === null || _b === void 0 ? void 0 : _b.categories) || []); | ||
} | ||
@@ -44,0 +47,0 @@ onTestBegin(test) { |
{ | ||
"name": "allure-playwright", | ||
"version": "2.0.0-beta.25", | ||
"version": "2.0.0-beta.26", | ||
"description": "Allure Playwright integration", | ||
@@ -35,3 +35,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"allure-js-commons": "2.0.0-beta.25" | ||
"allure-js-commons": "2.0.0-beta.26" | ||
}, | ||
@@ -38,0 +38,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48401
437
+ Addedallure-js-commons@2.0.0-beta.26(transitive)
- Removedallure-js-commons@2.0.0-beta.25(transitive)