Skip to content

Docs/studio test a page - #26567

Draft
ahmetcelik05 wants to merge 2 commits into
rel-10.7from
docs/studio-test-a-page
Draft

ahmetcelik05 wants to merge 2 commits into
rel-10.7from
docs/studio-test-a-page

Conversation

@ahmetcelik05

Copy link
Copy Markdown
Member

Description

Documents the page-scoped AI tests of ABP Studio (volosoft/abp-studio, abp#1963): the Security Test and the UI/UX Test can now test a single page instead of the whole application.

studio/ai-testing.md

  • New section Testing a Page:
    • the two ways in: Start Test → Test a page…, and AI Testing → Test a Page… in the Solution Runner;
    • the dialog's steps (App, Page path, Page files, Find Scope, Back, Start Test);
    • why the Codebase part needs the page's files.
  • Start Test now offers Test the whole application and Test a page….
  • Results:
    • results are kept for the whole application and for each tested page (the last 20), with a list to switch between them;
    • Codebase and Runtime findings are kept apart, filtered with Found in;
    • Clear Results clears only the results shown.
  • The inputs file gains the page field.

studio/ui-ux-test.md

  • New section Testing a Page:
    • only that page is opened;
    • the links in its main content are checked without testing the pages they open;
    • the checks and the AI look at the main content, not at the shared menu, header and footer;
    • there is no cross-page comparison;
    • the code review covers only the page's files.

studio/security-test.md

  • Runtime: a React or Angular application calls its API in another application. Include the API apps too? is asked when that application is not ticked.
  • New section Testing a Page:
    • the page's API calls (every action of the controllers it uses);
    • requests outside the page refused;
    • how the API host of a React or Angular page is found, and that only the solution's running applications are attacked;
    • the page's findings are checked against both applications.

studio/ai-testing-on-ci.md and cli/index.md

  • --page and --page-files for abp test ui-ux and abp test security, with examples.
  • How a page's test is named in the Markdown, JSON and SARIF reports.
  • When it exits with code 2.

studio/running-applications.md

  • The application's context menu gains AI Testing → Test a Page (UI/UX)... / Test a Page (Security)..., for C# and CLI applications.

No screenshots are added yet. The Start Test menu, the Test a Page dialog and the Include the API apps too? dialog will follow, along with the updated application context menu image.

Merge this after the Studio change it describes is released.

Describe page selection and scope discovery in Studio and the CLI, including page-specific reports, results, and cross-application API testing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant