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

    Variable authTestConst Ai

    authTest: TestType<
        PlaywrightTestArgs & PlaywrightTestOptions & AuthFixtures & AuthFixtureOptions,
        PlaywrightWorkerArgs & PlaywrightWorkerOptions & AuthDeps,
    > = ...

    Auth test object with sapAuth handler and sapAuthConfig option.

    Use to access the SAP auth handler for login/logout operations.

    Extends @playwright/test base with auth fixtures:

    • pramanConfig — placeholder for coreTest cross-fixture dep (PW-MERGE-1)
    • sapAuthConfig — fixture option with empty defaults
    • sapAuth — creates SAPAuthHandler with auto-detected or explicit strategy

    NOTE: No auto-login — test setup projects call handler.login() explicitly. NOTE: No auto-logout — session managed by setup project (D28 pattern).

    sapAuth.login

    import { authTest } from '#fixtures/auth-fixtures.js';

    authTest('authenticates to SAP', async ({ sapAuth, page }) => {
    await sapAuth.login(page, { url: '...', username: '...', password: '...' });
    });