Skip to content

test: tag import file format specs for TC-3097 and TC-3098 - #9653

Merged
bijin-bruno merged 1 commit into
usebruno:mainfrom
aparna-bruno:test/tc-3097-3098
Oct 26, 2026
Merged

bijin-bruno merged 1 commit into
usebruno:mainfrom
aparna-bruno:test/tc-3097-3098

Conversation

@aparna-bruno

@aparna-bruno aparna-bruno commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Description
Tags the existing single-collection and bulk-import file format Playwright specs with their BrowserStack case numbers and @sanity.

Test cases

  1. TC-3097 — Single collection import. File Format stays hidden until Options is opened, then defaults to OpenCollection (YAML), with BRU Format (.bru) available.
  2. TC-3098 — Bulk import defaults to OpenCollection (YAML) and writes each imported collection as opencollection.yml, not bruno.json.

Additional changes

  • Updates tests/import/postman/import-file-format-options.spec.ts to TC-3097 with @sanity.
  • Updates tests/import/bulk-import/yml-as-default-file-format.spec.ts to TC-3098 with @sanity.
  • Test steps are unchanged.

Use this command to run the tests
npm run test:e2e -- tests/import/postman/import-file-format-options.spec.ts tests/import/bulk-import/yml-as-default-file-format.spec.ts

Screenshots

Screenshot (589) Screenshot 2026-10-26 175828

Summary by CodeRabbit

  • Tests
    • Updated the import-format test labels with case identifiers and sanity tags. Test behavior remains unchanged. These updates do not affect the application’s functionality.

@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 03a41d6 and f8fcde8.

Files selected for processing: 2
  • tests/import/bulk-import/yml-as-default-file-format.spec.ts
  • tests/import/postman/import-file-format-options.spec.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

Two import test suites now include case IDs in their titles and use the @sanity tag. Their test logic is unchanged.

Changes

Import test metadata

Layer / File(s) Summary
Suite identification and tagging
tests/import/bulk-import/yml-as-default-file-format.spec.ts, tests/import/postman/import-file-format-options.spec.ts
The YAML-default suite adds TC-3098, and the Postman import suite adds TC-3097. Both suites receive the @sanity tag. Test logic is unchanged.

Priority: Low

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Possibly related PRs

  • usebruno/bruno#9643: Adds Postman collection import format options that are also covered by one of these test suites.
  • usebruno/bruno#9603: Defines the case ID and @sanity tagging convention applied in this change.

Suggested labels: size/M

Merge Risk: Minimal · up to f8fcd

No actionable merge-blocking risk remains.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "test: tag import file format specs for TC-3097 and TC-3098" matches the changeset. Both spec files gain a BrowserStack case ID in their describe titles and a @sanity tag, with test logic un…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "test: tag import file format specs for TC-3097 and TC-3098" matches the changeset. Both spec files gain a BrowserStack case ID in their describe titles and a @sanity tag, with test logic unchanged. The title is specific, uses the conventional test: prefix, and names both cases.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2 files.

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Two suites wear their case IDs bright
A sanity tag marks them right
The tests keep doing what they do
Their titles now share context too
A tidy change, concise and clear

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

@bijin-bruno
bijin-bruno merged commit 892bcfa into usebruno:main Oct 26, 2026
14 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants