Skip to content

Do not use findAllComponents with ref in ee/spec/frontend/security_configuration/components/dynamic_fields_spec.js

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

When using a ref within findAllComponents() function of vue test utils it will fail because it's not supported anymore in Vue test utils v2, see warning in docs for findAllComponents.

Use another way of finding the components, e.g. defining data-testid in the component and using findAllByTestId in the spec.

Edited by 🤖 GitLab Bot 🤖