All skills
secondsky avatar

/sap-sac-test-automation

@7de70d3
by Eddiesecondsky/sap-skills456 stars
120

SAP Analytics Cloud (SAC) automated testing skill for designing capability-gated browser discovery and deterministic Playwright test suites for SAC stories, dashboards, reports, planning workflows, comments, permissions, visual regression, and reusable QA automation. This skill should be used when building SAC end-to-end tests, onboarding SAC dashboards into Playwright, creating dashboard profiles or scenario YAML, using Microsoft Edge/CDP, Chrome DevTools MCP, Vercel Labs agent-browser, or manual discovery for SAC components, testing SAC optimized stories, configuring SAC auth storage state, managing visual/data baselines, testing comments, planning writeback, data actions, multi actions, role-based views, restricted Windows/company environments, or creating SAC failure triage artifacts.

Use this Skill: https://skilld.dev/gh/secondsky/sap-skills/sap-sac-test-automation

This session only. Nothing lands on disk.

referencesarchitecture.md

≈968 tokens on demand. Your agent reads this file only when SKILL.md points to it.

SAC Test Automation Architecture

Source: Derived summary from incorporated SAC automated-suite planning content and docs/project/sac-test-automation-source-review-2026-06-17.md.

Use a hybrid, profile-driven architecture:

SAC story/dashboard
  -> capability-gated discovery backend
  -> human-reviewed dashboard profile
  -> reusable Playwright adapters
  -> deterministic Playwright scenarios
  -> CI reports, traces, screenshots, videos, visual diffs, failure classification

Tool Boundary

Use the safest approved discovery backend for:

  • Read-only exploration of unfamiliar SAC stories.
  • Accessibility snapshots and annotated screenshots.
  • Candidate semantic locators and component inventory.
  • Console, page-error, network, and HAR clues.
  • First-pass profile/scenario drafts for review.
  • Interactive triage of failed deterministic tests.

Discovery backends can include manual observation, Chrome DevTools MCP with supported Chrome/Chrome for Testing, installed Microsoft Edge/CDP, Chrome DevTools MCP with Edge --executablePath or approved attach, local agent-browser, or Playwright-driven exploration. Use Firecrawl only for public documentation research unless private-data handling is explicitly approved.

Use Playwright for:

  • Reviewed @playwright/test code.
  • Deterministic CI execution.
  • Fixtures, assertions, retries, traces, screenshots, videos, downloads, and reporters.
  • Stored auth state per role.
  • Data, visual, permission, export, performance-readiness, and controlled writeback tests.

Do not use autonomous browser-agent control, raw CDP attach, or unreviewed discovery output as the final release gate for audited SAC regression testing.

Recommended Project Shape

sac-automation/
  playwright.config.ts
  profiles/
    finance-executive/
      dashboard.yaml
      scenarios/
      expected-data/
      baselines/
      discovery/
        manual/
        chrome-devtools-mcp/
        edge-cdp/
        agent-browser/
  src/
    adapters/
    fixtures/
    discovery/
    assertions/
    reporting/
    utils/
  tests/
    generated/
    manual/
  scripts/
  artifacts/
  docs/

The profile is the contract between SAC story owners, QA automation, business data owners, CI, Playwright adapters, and discovery tooling.

Reliable Test Categories

  • High reliability: read-only smoke, tab/page navigation, labeled custom buttons, role visibility checks, downloads with file validation, basic story availability.
  • Medium to high reliability: filters, input controls, prompts, visible/scrollable tables, bookmarks, permissions with stable users.
  • Medium reliability: charts through visual baselines plus companion data checks, comments in isolated stories, planning in controlled QA models, data actions with reset policy.
  • Low reliability without extra contracts: chart coordinate selection, arbitrary SAC internals, live-data pixel assertions, production writeback, uncontrolled SSO/MFA, third-party custom widget internals.

SAC Fragility Map

Plan around these recurring failure modes:

  • Dynamic DOM IDs and SAP UI internals.
  • Iframes and embedded content.
  • Shadow DOM in custom widgets.
  • Virtualized tables and lazy row rendering.
  • Async backend queries after shell load.
  • Canvas/SVG chart rendering and animation.
  • Live connections and changing business data.
  • Localization, timezone, date, currency, and decimal formatting.
  • Comment persistence and notification side effects.
  • Planning locks, validation rules, private/public version conflicts, and data-entry errors.
  • Tenant-specific optimized story restrictions.

Mitigate by using stable visible labels, explicit page-ready markers, profile-level component metadata, seeded data, tolerances, fixed viewport/locale/timezone, serial execution for stateful flows, and explicit skip reasons for unsupported story capabilities.

Source: SKILL.md on GitHub

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill provides a security-focused framework for automating SAP Analytics Cloud (SAC) testing using Playwright and Chrome DevTools. It identifies risks associated with browser automation in enterprise environments and implements strong mitigation strategies, including mandatory human review of all discovery artifacts, telemetry redaction, and the use of isolated browser profiles. The 'low' verdict reflects the inherent risk of an agent ingesting external web content during discovery, which is appropriately managed by the skill's design.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 7de70d3. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated last month
Other metadata
metadata
{
  "maintainer": "Eduard Jiglau",
  "maintainer_email": "hello@sap-ai-skills.com",
  "website": "https://sap-ai-skills.com",
  "version": "2.4.1",
  "last_verified": "2026-06-17",
  "sac_version": "2026.8",
  "documentation_source": "docs/project/sac-test-automation-source-review-2026-06-17.md",
  "primary_tools": [
    "Playwright",
    "Chrome DevTools MCP",
    "Microsoft Edge CDP",
    "Vercel Labs agent-browser",
    "Manual discovery"
  ],
  "status": "docs_audited_runtime_pending",
  "known_issues": [
    "Live SAC tenant, SSO, planning writeback, and CI execution checks require tenant-specific evidence before claiming runtime validation."
  ]
}

README badge

README badge for secondsky/sap-skills/sap-sac-test-automation