Class: DataGridDataRowDriver
Defined in: component-driver-mui-x-v6/src/components/datagrid/DataGridDataRowDriver.ts:5
Extends
DataGridRowDriverBase
Constructors
Constructor
new DataGridDataRowDriver(
locator
,interactor
,option
?):DataGridDataRowDriver
Defined in: component-driver-mui-x-v6/src/components/datagrid/DataGridDataRowDriver.ts:7
Parameters
locator
PartLocator
interactor
Interactor
option?
Partial
<IComponentDriverOption
<{ }>>
Returns
DataGridDataRowDriver
Overrides
DataGridRowDriverBase.constructor
Properties
commutableOption
readonly
commutableOption:IComponentDriverOption
<{ }>
Defined in: core/build/src/drivers/ComponentDriver.d.ts:20
Option passed to the constructor includes both universal options which can be shared across all component driver tree, and component specific options which are only applicable to the component.
Commutable option is the option that can be shared across all component driver tree.
Inherited from
DataGridRowDriverBase.commutableOption
interactor
readonly
interactor:Interactor
Defined in: core/build/src/drivers/ComponentDriver.d.ts:11
Inherited from
DataGridRowDriverBase.interactor
Accessors
driverName
Get Signature
get driverName():
string
Defined in: component-driver-mui-x-v6/src/components/datagrid/DataGridDataRowDriver.ts:20
Returns
string
Overrides
DataGridRowDriverBase.driverName
locator
Get Signature
get locator():
PartLocator
Defined in: core/build/src/drivers/ComponentDriver.d.ts:51
Return the locator of the component
Returns
PartLocator
Inherited from
DataGridRowDriverBase.locator
parts
Get Signature
get parts():
ScenePartDriver
<T
>
Defined in: core/build/src/drivers/ComponentDriver.d.ts:47
Return driver instance of all the named parts
Returns
ScenePartDriver
<T
>
Inherited from
DataGridRowDriverBase.parts
Methods
click()
click(
option
?):Promise
<void
>
Defined in: core/build/src/drivers/ComponentDriver.d.ts:75
Parameters
option?
Partial
<ClickOption
>
Returns
Promise
<void
>
Inherited from
DataGridRowDriverBase.click
enforcePartExistence()
protected
enforcePartExistence(partName
):Promise
<void
>
Defined in: core/build/src/drivers/ComponentDriver.d.ts:57
Check the specified parts' existences, and throw MissPartError if any of the part is found not existence. Existence is defined by the part's existence in the DOM regardless of its visibility on the screen