diff --git a/new/src/App.tsx b/new/src/App.tsx index fac62133..307b7134 100644 --- a/new/src/App.tsx +++ b/new/src/App.tsx @@ -29,7 +29,7 @@ function App() { title={"Mein Titel"} description={"Meine Description"} reportName={guaranteedStateReport.name} - scenarios={[guaranteedStateReport.scenarios[0]]} + scenarios={guaranteedStateReport.scenarios} /> ); diff --git a/new/src/components/Scenarios/ScenarioOverview.tsx b/new/src/components/Scenarios/ScenarioOverview.tsx index cd29cfbe..84ba936c 100644 --- a/new/src/components/Scenarios/ScenarioOverview.tsx +++ b/new/src/components/Scenarios/ScenarioOverview.tsx @@ -47,15 +47,21 @@ export function ScenarioOverview(props: { reportName: string, title: string, des +
- + {props.scenarios.map((scenario) => { + return ( + + ); + }) } +
diff --git a/new/src/sampleData/GuaranteedStateTestScenario.json b/new/src/sampleData/GuaranteedStateTestScenario.json index ca091825..49d22e19 100644 --- a/new/src/sampleData/GuaranteedStateTestScenario.json +++ b/new/src/sampleData/GuaranteedStateTestScenario.json @@ -4,8 +4,8 @@ "scenarios": [ { "className": "com.tngtech.jgiven.impl.GuaranteedStateTest", - "testMethodName": "assure_before_method_of_second_test_is_executed_after_guaranteed_fields_validation", - "description": "assure before method of second test is executed after guaranteed fields validation", + "testMethodName": "assure_before_method_of_first_test_is_executed_after_guaranteed_fields_validation", + "description": "assure before method of first test is executed after guaranteed fields validation", "tagIds": [], "explicitParameters": [], "derivedParameters": [],