package providers import ( "context" "strings" "testing" "github.com/starfleetcptn/gomft/components/providers/common" "github.com/starfleetcptn/gomft/components/providers/destination" "github.com/starfleetcptn/gomft/components/providers/source" "github.com/stretchr/testify/assert" ) // Test that both source and destination providers can be rendered together with common components func TestProvidersIntegration(t *testing.T) { // Create context for test ctx := context.Background() assert := assert.New(t) // Test rendering common components { var buf strings.Builder err := common.NameField().Render(ctx, &buf) assert.NoError(err, "Failed to render NameField") html := buf.String() assert.Contains(html, `