Skip to content

Update wait for Product Analytics set up button for onboarding test

What does this MR do and why?

Update wait for Product Analytics setup button for Product Analytics onboarding test. Previous wait implementation was not working properly in CI as when button is not present `find_element` would fail and abort the test.

The failure was occurring only when running in CI, when the test was executed against local GDK it was passing just fine.

Example of test failure - https://gitlab.com/gitlab-org/analytics-section/product-analytics/devkit/-/jobs/6668784017

Passing test using this branch - https://gitlab.com/gitlab-org/analytics-section/product-analytics/devkit/-/jobs/6672412463

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

N/A Only updating wait in a test.

How to set up and validate locally

It's not required, but instructions can be found here if needed.

Edited by Ievgen Chernikov

Merge request reports