Properties Readonly allure Suite allure Suite : any
Readonly description description : any
Readonly extend extend : any
Readonly feature feature : any
Readonly parent Suite parent Suite : any
Readonly severity severity : any
Readonly sub Suite sub Suite : any
Methods Private #allure Suite #allure Suite ( name ) : ( ( target , propertyKey , descriptor ) => void ) Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #description #description ( value ) : ( ( target , propertyKey , descriptor ) => void ) Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #epic #epic ( epic ) : ( ( target , propertyKey , descriptor ) => void ) Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #extend #extend ( params ) : ( ( target , propertyKey , descriptor ) => void ) Parameters params : Record < string , any > Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #feature #feature ( epic ) : ( ( target , propertyKey , descriptor ) => void ) Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #id #id ( id ) : ( ( target , propertyKey , descriptor ) => void ) Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #issue #issue ( name , url ? ) : ( ( target , propertyKey , descriptor ) => void ) Parameters name : string Optional url : string Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #label #label ( name , value ) : ( ( target , propertyKey , descriptor ) => void ) Parameters name : string value : string Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #link #link ( url , name , type ? ) : ( ( target , propertyKey , descriptor ) => void ) Parameters url : string name : string Optional type : string Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #only #only ( ) : ( ( target , ... args ) => void ) Returns ( ( target , ... args ) => void ) ( target , ... args ) : void Parameters target : any Rest ... args : any [] Returns void Private #owner #owner ( name ) : ( ( target , propertyKey , descriptor ) => void ) Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #parent Suite #parent Suite ( name ) : ( ( target , propertyKey , descriptor ) => void ) Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #set Allure Method #set Allure Method ( target , method , args , append ? ) : void Parameters target : any method : string args : string [] append : boolean = false Returns void Private #severity #severity ( severity ) : ( ( target , propertyKey , descriptor ) => void ) Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #skip #skip ( ) : ( ( target , ... args ) => void ) Returns ( ( target , ... args ) => void ) ( target , ... args ) : void Parameters target : any Rest ... args : any [] Returns void Private #slow #slow ( ... opts ) : ( ( target , ... args ) => void ) Returns ( ( target , ... args ) => void ) ( target , ... args ) : void Parameters target : any Rest ... args : any [] Returns void Private #story #story ( story ) : ( ( target , propertyKey , descriptor ) => void ) Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #sub Suite #sub Suite ( name ) : ( ( target , propertyKey , descriptor ) => void ) Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #suite #suite ( name ? ) : ( ( Class ) => void ) Returns ( ( Class ) => void ) ( Class ) : void Returns void Private #tag #tag ( tag ) : ( ( target , propertyKey , descriptor ) => void ) Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #tags #tags ( ... tags ) : ( ( target , propertyKey , descriptor ) => void ) Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Private #test #test ( name ? ) : ( ( target , propertyKey , descriptor ) => void ) Returns ( ( target , propertyKey , descriptor ) => void ) ( target , propertyKey , descriptor ) : void Parameters target : any propertyKey : string descriptor : PropertyDescriptor Returns void Protected after after ( instance ) : void Returns void Protected after All after All ( Class ) : void Returns void Protected before before ( instance ) : void Returns void Protected before All before All ( Class ) : void Returns void Protected walk Proto walk Proto ( instance ) : void Returns void
Description
Main class that provides OOP decorators for Playwright tests with Allure integration.
Exposes the following decorators:
@suite(name?)— define a test suite@test(name?)— define a test method@skip()— skip a test/suite@only()— run only this test/suite@slow(...opts)— mark test as slow@extend(params)— extend test fixtures@label,@link,@id,@epic,@feature,@story,@allureSuite,@parentSuite,@subSuite,@owner,@severity,@tag,@tags,@issue,@descriptionA singleton instance is created at module level and its decorators are exported directly.
Example