@inherits AntDesignTestBase @code { [Fact] public void Renders_basic_timeline() { var cut = Context.Render( @ Create a services site 2015-09-01 Solve initial network problems 2015-09-01 ); cut.MarkupMatches( @); } [Fact] public void Renders_timeline_with_right_mode() { var cut = Context.Render( @ Create a services site 2015-09-01 Solve initial network problems 2015-09-01 ); cut.MarkupMatches( @); } [Theory] [InlineData(TimelineMode.Left,"","left","left")] [InlineData(TimelineMode.Right,"ant-timeline-right","right","right")] [InlineData(TimelineMode.Alternate,"ant-timeline-alternate","left","right")] public void Renders_timeline_with_alternate_mode(TimelineMode mode, string timelineModeClass, string firstItemMode,string secondItemMode) { var cut = Context.Render( @ Create a services site 2015-09-01 Solve initial network problems 2015-09-01 ); cut.MarkupMatches( @); } [Theory] [InlineData(TimelineMode.Left,"left","left")] [InlineData(TimelineMode.Right,"right","right")] [InlineData(TimelineMode.Alternate,"left","right")] public void Renders_timeline_with_label(TimelineMode mode,string firstItemMode,string secondItemMode) { var cut = Context.Render( @ Create a services site Solve initial network problems ); cut.MarkupMatches( @ ); } }