@php use App\Enums\CasePriority;use App\Models\Repository;use App\Models\TestCase; /** * @var TestCase[] $testCases * @var Repository $repository */ @endphp @foreach($testCases as $testCase)
@if($testCase->priority == CasePriority::MEDIUM) @elseif($testCase->priority == CasePriority::HIGH) @else @endif @if($testCase->automated) @else @endif {{$repository->prefix}} -{{$testCase->id}} {{-- --}}
{{$testCase->title}}
@can('add_edit_test_cases') @endcan @can('delete_test_cases') @endcan
@endforeach