Class WizardRealRunDriverBase
One stepped wizard's real run, arranged so that pressing its primary action performs the create or update an author would get — the window's own creator, its own completion path — with every asset the run writes landing under a fixture folder the contract owns. WizardFinishedRunSummaryContractTests finds every driver by type and drives its window for real; a window without one is proven only through the base's completion plumbing, and the contract names it with the reason. The non-generic root the contract discovers and holds; a driver derives from WizardRealRunDriver<TWindow> in its module's own test assembly, beside the tests whose fixture it reuses, so it can reach the window's internal test seams.
Inherited Members
Namespace: Serenity.Tests.Shared.Editor
Assembly: Serenity.Tests.Shared.Editor.dll
Syntax
public abstract class WizardRealRunDriverBase
Constructors
WizardRealRunDriverBase()
Declaration
protected WizardRealRunDriverBase()
Properties
WindowType
The window this driver runs for real.
Declaration
public abstract Type WindowType { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Methods
CloseWindow(SerenityStepWizardWindowBase)
Releases the window, the way it was opened.
Declaration
public abstract void CloseWindow(SerenityStepWizardWindowBase window)
Parameters
| Type | Name | Description |
|---|---|---|
| SerenityStepWizardWindowBase | window |
OpenArrangedWindow(string)
Opens WindowType with nothing left to decide before its primary action: every folder it
writes to is fixtureFolder or below it, and every asset it updates was created there
first. The folder exists and is empty when this is called; everything under it is removed afterwards,
Addressables entries first.
Declaration
public abstract SerenityStepWizardWindowBase OpenArrangedWindow(string fixtureFolder)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fixtureFolder |
Returns
| Type | Description |
|---|---|
| SerenityStepWizardWindowBase |
PressRealPrimaryAction(SerenityStepWizardWindowBase)
Presses the window's real primary action.
Declaration
public abstract void PressRealPrimaryAction(SerenityStepWizardWindowBase window)
Parameters
| Type | Name | Description |
|---|---|---|
| SerenityStepWizardWindowBase | window |