Skip to content

[quick action] Flaky test: [RunnerUITests.RunnerUITests testQuickActionWithFreshStart] : failed - Failed due to not able to find the actionTwo button from springboard with 30.0 seconds. #125509

@cyanglaz

Description

@cyanglaz

Failure log: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8783180897936485009/+/u/Run_package_tests/native_test/stdout

The test tries to [press the quick_action_example icon for 2 seconds] (https://github.com/flutter/packages/blob/main/packages/quick_actions/quick_actions_ios/example/ios/RunnerUITests/RunnerUITests.swift#L34) and hopes to bring up the quick action menu.

quickActionsAppIcon.press(forDuration: 2)

Sometimes, 2 seconds is too long so the quick action menu is dismissed and the DeleteButton is shown, from the log:

Icon, 0x148d1de70, {{0.0, 0.0}, {0.0, 0.0}}
                Icon, 0x148d1df80, {{28.0, 75.0}, {64.0, 86.7}}, identifier: 'Watch', label: 'Watch'
                  Button, 0x148d1e090, {{19.1, 66.1}, {26.0, 26.0}}, identifier: 'DeleteButton'
                Icon, 0x148d1e1a0, {{114.0, 75.0}, {72.7, 86.7}}, identifier: 'Contacts', label: 'Contacts'
                  Button, 0x148d1e2b0, {{109.1, 66.1}, {26.0, 26.0}}, identifier: 'DeleteButton'
                Icon, 0x148d1e3c0, {{208.0, 75.0}, {64.0, 86.7}}, identifier: 'Files', label: 'Files'
                  Button, 0x148d1e4d0, {{199.1, 66.1}, {26.0, 26.0}}, identifier: 'DeleteButton'
                Icon, 0x148d1e5e0, {{292.0, 75.0}, {76.7, 86.7}}, identifier: 'Shortcuts', label: 'Shortcuts'
                  Button, 0x148d1e6f0, {{289.1, 66.1}, {26.0, 26.0}}, identifier: 'DeleteButton'
                Icon, 0x148d1e800, {{23.7, 173.0}, {73.0, 86.7}}, identifier: 'Freeform', label: 'Freeform'
                  Button, 0x148d1e910, {{19.1, 164.1}, {26.0, 26.0}}, identifier: 'DeleteButton'
                Icon, 0x148d1ea20, {{100.3, 173.0}, {101.0, 89.0}}, identifier: 'RunnerUITests-Runner', label: 'RunnerUITests-Runner'
                  Button, 0x148d1eb30, {{109.1, 164.1}, {26.0, 26.0}}, identifier: 'DeleteButton'
                Icon, 0x148d1ec40, {{190.3, 173.0}, {101.0, 89.0}}, identifier: 'quick_actions_example', label: 'quick_actions_example'
                  Button, 0x148d1ed50, {{199.1, 164.1}, {26.0, 26.0}}, identifier: 'DeleteButton'

We should find a way to bring up the quick action menu more consistently.

CC @hellohuanlin

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listp: quick_actionsQuickActions pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions