Skip to main content
Version: 1.x

Variable: moduleTest

const moduleTest: TestType<PlaywrightTestArgs & PlaywrightTestOptions & TestFixtures & ModuleFixtures, PlaywrightWorkerArgs & PlaywrightWorkerOptions & WorkerFixtures>

Module test — extends coreTest, overriding ui5 with sub-namespaces.

Remarks

Inherits all worker-scoped fixtures (pramanConfig, rootLogger, etc.) from coreTest. Only overrides the ui5 fixture to attach .table, .dialog, .date, .odata sub-namespaces.

Capability

ui5.table.getRows

Example

import { moduleTest } from '#fixtures/module-fixtures.js';
moduleTest('table ops', async ({ ui5 }) => {
await ui5.table.getRows('myTable');
});