https://www.loom.com/share/57df986f80b9437f8354ccc377a18a6d

When the test fails, the values are fetched before Cypress checks for them so the test fails.

The screenshot below shows that /values are returned before Cypress checks for the loading state, but it’s not clear if this the data needed for the loading state.

Untitled

Looking at the React component FieldValuesWidgetInner, we see that the data is fetched in 100ms which means that the Cypress test would only have 100ms to find the spinner.