Skip to content

Add UI Scripts library for Test Management - #16

Open
yashsonibs wants to merge 2 commits into
mainfrom
TM-UiScripts
Open

Add UI Scripts library for Test Management#16
yashsonibs wants to merge 2 commits into
mainfrom
TM-UiScripts

Conversation

@yashsonibs

Copy link
Copy Markdown
Collaborator

Summary

Adds a library of UI Script recipes for BrowserStack Test Management, each a single .js file organized into a folder per surface it runs on.

Surfaces covered

Folder Surface Scripts
add-result/ Add Result and Update Result 2
test-case-results-toolbar/ Test Case Results Toolbar 3
test-case-form/ Test Case Form 18
test-run-form/ Test Run Form 9
test-plan-form/ Test Plan Form 9
exploratory-session-form/ Exploratory Session Form 9

A top-level README.md documents concepts, who can add scripts, how to use them, key gotchas, and the folder map.

Notes

  • Scripts are reference recipes and use placeholder tokens (e.g. <YOUR_PROJECT_IDS>, <YOUR_TRACKER_BASE_URL>) and sample field names meant to be swapped for real values.
  • Treat each as a starting point — test in a sandbox project before enabling on production.

🤖 Generated with Claude Code

Add a library of UI Script recipes for BrowserStack Test Management,
organized by surface: add-result, test-case-form, test-case-results-toolbar,
test-run-form, test-plan-form, and exploratory-session-form. Includes a
README documenting usage, roles, and the folder map.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited), Workspace UI (inherited)

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 7d13b12e-dfec-4aa1-9ec7-28b8c6c22760

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

Comment thread ui-scripts/add-result/require-notes-on-a-failed-result.js Fixed
Comment thread ui-scripts/test-case-form/require-preconditions.js Fixed
Regex-based tag stripping leaves unterminated tags such as '<script src=x'
untouched. Parse the markup with DOMParser and read textContent back, which
also decodes HTML entities and never executes the markup.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants