File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
AngleSharp.Scripting.JavaScript.Tests Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 81
81
<ItemGroup >
82
82
<Compile Include =" FireEventTests.cs" />
83
83
<Compile Include =" GeneratorTests.cs" />
84
+ <Compile Include =" IntegrationTests.cs" />
84
85
<Compile Include =" InteractionTests.cs" />
85
86
<Compile Include =" JqueryTests.cs" />
86
87
<Compile Include =" Mocks\DelayedRequester.cs" />
Original file line number Diff line number Diff line change
1
+ namespace AngleSharp . Scripting . JavaScript . Tests
2
+ {
3
+ using NUnit . Framework ;
4
+ using System . Threading . Tasks ;
5
+
6
+ [ TestFixture ]
7
+ public class IntegrationTests
8
+ {
9
+ [ Test ]
10
+ public async Task PageEcoEnergyShouldLoadFine ( )
11
+ {
12
+ var config = Configuration . Default . WithDefaultLoader ( ) . WithCss ( ) . WithCookies ( ) . WithJavaScript ( ) ;
13
+ var context = BrowsingContext . New ( config ) ;
14
+ var document = await context . OpenAsync ( "http://www.eco2energie.biz/" ) ;
15
+ Assert . IsNotNull ( document ) ;
16
+ }
17
+ }
18
+ }
You can’t perform that action at this time.
0 commit comments