You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: 0015_step_issue_test.go
    path of file: ./repos/corteza/server/tests/workflows
    
    the code of the file until where you have to start completion: package workflows

import (
	"context"
	"testing"

	"github.com/stretchr/testify/require"

	"github.com/cortezaproject/corteza/server/automation/types"
)

func Test0015_step_issue(t *testing.T) {
	var (
		ctx = bypassRBAC(context.Background())
		req = require.New(t)
	)

	loadScenario(ctx, t)

	t.Run("exclusive gateway step issue", func(t *testing.T) {
		_, _, _, err := execWorkflow(ctx, "case1", types.WorkflowExecParams{})

		issues, is := err.(types.WorkflowIssueSet)
		req.True(is)
		// It should return only 3 issues
		// 1. gateway step expects at least 1 outbound path(s)
		// 2. expecting at least two paths for exclusive gateway
		// 3. failed to resolve workflow step dependencies
		req.Len(issues, 3)
	})

	t.Run("inclusive gateway step issue", func(t *testing.T) {
		_, _, _, err := execWorkflow(ctx, "case2", types.WorkflowExecParams{})

		issues, is := err.(types.WorkflowIssueSet)
		req.True(is)
		// It should return only 3 issues
		// 1. gateway step expects at least 1 
    
func Test0015_step_issue(t *testing.T) {
	var (
		ctx = bypassRBAC(context.Background())
		req = require.New(t)
	)

	loadScenario(ctx, t)

	t.Run("exclusive gateway step issue", func(t *testing.T) {
		_, _, _, err := execWorkflow(ctx, "case1", types.WorkflowExecParams{})

		issues, is := err.(types.WorkflowIssueSet)
		req.True(is)
		// It should return only 3 issues
		// 1. gateway step expects at least 1 outbound path(s)
		// 2. expecting at least two paths for exclusive gateway
		// 3. failed to resolve workflow step dependencies
		req.Len(issues, 3)
	})

	t.Run("inclusive gateway step issue", func(t *testing.T) {
		_, _, _, err := execWorkflow(ctx, "case2", types.WorkflowExecParams{})

		issues, is := err.(types.WorkflowIssueSet)
		req.True(is)
		// It should return only 3 issues
		// 1. gateway step expects at least 1 outbound path(s)
		// 2. expecting at least two paths for inclusive gateway
		// 3. failed to resolve workflow step dependencies
		req.Len(issues, 3)
	})

	t.Run("function step issue", func(t *testing.T) {
		_, _, _, err := execWorkflow(ctx, "case3", types.WorkflowExecParams{})

		issues, is := err.(types.WorkflowIssueSet)
		req.True(is)
		// It should return only 2 issues
		// 1. failed to verify argument expressions for function logInfo: parameter message is required
		// 2. failed to resolve workflow step dependencies
		req.Len(issues, 2)
	})

	t.Run("iterator step issue", func(t *testing.T) {
		_, _, _, err := execWorkflow(ctx, "case4", types.WorkflowExecParams{})

		issues, is := err.(types.WorkflowIssueSet)
		req.True(is)
		// It should return only 4 issues
		// 1. iterator step expects reference
		// 2. iterator step expects exactly 2 outbound path(s)
		// 3. unknown function ""
		// 4. failed to resolve workflow step dependencies
		req.Len(issues, 4)
	})

}