Skip to content

Create Abstract tests for testing field types as nested fields of repeaters / flex fields #127

@jasonbahl

Description

@jasonbahl

What problem does this address?

Currently our tests don't have robust support for testing fields when they're nested within a repeater or flexible content layout.

This makes it difficult to ensure we don't cause regressions, etc.

What is your proposed solution?

We should create some abstract tests to test fields as sub-fields of Flex Layouts / Repeaters, and implement them in all the field type test suites.

What alternatives have you considered?

Leaving these cases untested 😱

Additional Context

There's similar abstract tests for clone and block fields that we should be able to follow patterns for to implement these tests in a re-usable pattern

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: testsDeveloping unit tests, integration tests, and ensuring coverage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions