Skip to content

Added tests for the new Android heading semantic flag to android_semantics_testing#44031

Merged
darrenaustin merged 3 commits intoflutter:masterfrom
darrenaustin:android_header_semantics
Nov 5, 2019
Merged

Added tests for the new Android heading semantic flag to android_semantics_testing#44031
darrenaustin merged 3 commits intoflutter:masterfrom
darrenaustin:android_header_semantics

Conversation

@darrenaustin
Copy link
Contributor

Description

A new feature was added to the semantics support on Android for the isHeader flag (flutter/engine#13262). This PR adds new integration tests to automate testing that this flag is properly set for Android.

This new field requires Android API 28 or higher to work, but this test was set up to automatically pass if the test is running on anything lower so that is can still work properly until we have a newer device in the device lab (see #44006). I have tested it on both a Moto G 4 and a Pixel 3 and both work fine.

Related Issues

This is to test the fix for #41494.

Tests

A new "Headings" test page was added to the android semantics testing job that runs on devicelab.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require Flutter developers to manually update their apps to accommodate your change?

  • No, this is not a breaking change.

@fluttergithubbot fluttergithubbot added a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) c: contributor-productivity Team-specific productivity, code health, technical debt. labels Nov 2, 2019
Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with nits

@darrenaustin darrenaustin merged commit b815f76 into flutter:master Nov 5, 2019
@darrenaustin darrenaustin deleted the android_header_semantics branch November 5, 2019 00:35
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Nov 26, 2019
…ntics_testing (flutter#44031)

Added tests for the new Android heading semantic flag to android_semantics_testing.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) c: contributor-productivity Team-specific productivity, code health, technical debt.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants