Skip to content

SDK-8262: Add the Flutter sample app for Android and iOS - #1

Merged
kamal-kaur04 merged 2 commits into
mainfrom
SDK-8262-flutter-sample
Nov 24, 2026
Merged

kamal-kaur04 merged 2 commits into
mainfrom
SDK-8262-flutter-sample

Conversation

@rounak610

Copy link
Copy Markdown
Collaborator

Adds a sample Flutter app with integration_test tests that run on BrowserStack App Automate (Android and iOS) and report to Test Reporting & Analytics and App Accessibility through the BrowserStack Dart package browserstack_dart_sdk.

Jira: SDK-8262

What's in it

  • lib/main.dart: a small app (counter, form, details page) with two accessibility issues on purpose, so the App Accessibility report shows results.
  • integration_test/app_test.dart: tests for the app.
  • integration_test/accessibility_test.dart: getResultsSummary(), getResults(), performScan() and skipping scans with a tag.
  • Android instrumentation runner (MainActivityTest.java) and iOS XCTest runner (RunnerTests.m).
  • README for customers: build, upload and run steps for Android and iOS, where to see results, how to add the package to their own app, App Accessibility options.

Testing

Built locally with Flutter 3.47.6 (Android APKs and the iOS test package) and ran on BrowserStack with the README's commands, Test Reporting and App Accessibility on:

  • Android, Google Pixel 7 (Android 13): app_test.dart 4/4 passed, accessibility_test.dart 3/3 passed. App Accessibility reported the planted issues, and the test tagged skipA11y was left out of scans.
  • iOS, iPhone 15 (iOS 17): app_test.dart 4/4 passed.

Before merging

pubspec.yaml depends on browserstack_dart_sdk: ^0.1.0 from pub.dev, which isn't published yet. Merge after the package release, and update the version if it ships as something else. The runs above used a local path override (pubspec_overrides.yaml, git-ignored).

🤖 Generated with Claude Code

A sample Flutter app with integration_test tests that report to Test
Reporting & Analytics and App Accessibility through browserstack_dart_sdk,
the Android instrumentation and iOS XCTest runners App Automate needs,
and a README with the build, upload and run steps for both platforms.

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

coderabbitai Bot commented Nov 23, 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

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited), Workspace UI (inherited); Enforced overrides: Organization
  • Review profile: ASSERTIVE
  • Plan: Enterprise
  • Run ID: f763b07a-777b-4703-932f-b22323d72a0f

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
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@rounak610
rounak610 marked this pull request as ready for review November 23, 2026 07:35
@rounak610
rounak610 requested a review from a team as a code owner November 23, 2026 07:35
The package now logs every test, command and scan. On Android those lines
are in the device logs, which App Automate keeps only with
"deviceLogs": true, so the sample's build request turns it on and the
README says where to find the package's logs on each platform.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kamal-kaur04
kamal-kaur04 merged commit 8edf9ff into main Nov 24, 2026
5 checks passed
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.

5 participants