Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LegacyLifecycleHooks

Hierarchy

  • LegacyLifecycleHooks

Implements

  • TestExecutionLifecycleHooks

Index

Constructors

constructor

Properties

builder

builder: Builder

currentTest

currentTest: Maybe<string> = null

Path to the current Testsuite. Might be used in requestContext

driver

driver: Maybe<ThenableWebDriver> = null

uiOnly

uiOnly: boolean = false

Methods

afterExecution

  • afterExecution(project: Project, testExecutionContext: TestExecutionContext): Promise<void>

afterRunFile

  • afterRunFile(file: TestFile, project: Project, ctx: TestExecutionContext): Promise<void>

beforeExecution

  • beforeExecution(project: Project, testExecutionContext: TestExecutionContext): Promise<void>

beforeRunFile

  • beforeRunFile(file: TestFile, project: Project, ctx: TestExecutionContext): Promise<void>

onProject

  • onProject(project: Project): Promise<void>

requestContext

  • requestContext(ctx: TestExecutionContext, project: Project): Promise<LegacyApi>