-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix flaky JS tests (2/2). #10097
Comments
@zutigrm Generally speaking, we should find the root cause of issues where tests are failing rather than simply increasing timeouts as this can also be a result of things like secondary actions not being awaited in a control or generator. On the whole, I think IBs are not very practical for this kind of issue as it's a rather straightforward kind of "fix the tests" type task, so it shouldn't involve major changes. With that said, I'd say go for it, but with a bit more time allocated in the estimate as there are often unforeseeable issues that come up along the way. |
Thanks @aaemnnosttv makes sense, it is a bit odd sometimes scoping the IB for failing tests, I updated the IB and opened a new issue #10220 to replace usage of |
Thanks @zutigrm 👍 IB ✅ 😄 |
Feature Description
This is an issue to address the latest round of JS tests which are failing sporadically. The task has been split into two issues in order to make it easier to investigate and fix. See #10085.
The tests listed in this issue are all failing due an update to a component not being wrapped in
act()
.EnhancedMeasurementActivationBanner › should render the in progress step when enhanced measurement is being enabled after the user returns from the OAuth flow
Example: https://github.com/google/site-kit-wp/actions/runs/12874436082/job/35893852218?pr=9941#step:7:702
Details
useEnableAudienceGroup › should automatically call
onEnableGroups
function when user returns from the OAuth screenExample: https://github.com/google/site-kit-wp/actions/runs/12794669197/job/35670303767#step:7:765
Details
DashboardSharingSettings › Single Admin Environment › should not render sharing management for a single admin environment
Example: https://github.com/google/site-kit-wp/actions/runs/12632804329/job/35197172249#step:7:744
Details
SettingsCardVisitorGroups › the "Display visitor groups in dashboard" switch › should track an event when toggled
Example: https://github.com/google/site-kit-wp/actions/runs/12598816789/job/35114468658#step:7:813
Details
CurrentSurvey › should render the share icon button if there are shareableRoles
Example: https://github.com/google/site-kit-wp/actions/runs/12905555016/job/35984998955?pr=10055#step:7:802
Details
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: