Praman — Agent-First SAP UI5 Test Automation Plugin - v1.2.0
    Preparing search index...

    Type Alias ExtensionFactory<T>

    ExtensionFactory: (context: ExtensionContext) => T

    Factory function that creates extension methods from a context.

    Type Parameters

    • T extends ExtensionMethods

      The shape of the methods object returned by this factory.

    Type Declaration

    const factory: ExtensionFactory<{
    approve(id: string): Promise<void>;
    }> = (ctx) => ({
    async approve(id: string) {
    await ctx.handler.click({ id });
    },
    });