File tree Expand file tree Collapse file tree
samples-selema-mstest/samples-selema-mstest
samples-selema-nunit/samples-selema-nunit Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 <dependency >
1919 <groupId >io.github.javiertuya</groupId >
2020 <artifactId >selema</artifactId >
21- <version >3.4.1 </version >
21+ <version >4.0.0 </version >
2222 </dependency >
2323 <dependency >
2424 <groupId >junit</groupId >
Original file line number Diff line number Diff line change 1818 <dependency >
1919 <groupId >io.github.javiertuya</groupId >
2020 <artifactId >selema</artifactId >
21- <version >3.4.1 </version >
21+ <version >4.0.0 </version >
2222 </dependency >
2323 <dependency >
2424 <groupId >org.junit.jupiter</groupId >
Original file line number Diff line number Diff line change 1- using Giis . Selema . Framework . Mstest2 ;
1+ using Giis . Selema . Framework . Mstest4 ;
22using Giis . Selema . Manager ;
33using Microsoft . VisualStudio . TestTools . UnitTesting ;
44
@@ -9,12 +9,12 @@ namespace Giis.Samples.Selema.Mstest
99 /// see usage at https://github.com/javiertuya/selema#readme
1010 /// </summary>
1111 [ TestClass ]
12- public class TestSampleMstest : LifecycleMstest2
12+ public class TestSampleMstest : LifecycleMstest4
1313 {
1414 protected static SeleManager sm ;
1515 public TestSampleMstest ( )
1616 {
17- sm = LifecycleMstest2 . GetManager ( sm ) . SetBrowser ( "chrome" ) ;
17+ sm = LifecycleMstest4 . GetManager ( sm ) . SetBrowser ( "chrome" ) ;
1818 }
1919 //Note that due to the extensibility restrictions of MSTest, the test class must inherit from the Lifecycle class.
2020 //Additionally, the instantiation and configuration is made in the class constructor.
@@ -24,8 +24,8 @@ public TestSampleMstest()
2424 [ClassInitialize(InheritanceBehavior.BeforeEachDerivedClass)]
2525 public static new void SetUpClass(TestContext testContext)
2626 {
27- LifecycleMstest2 .SetUpClass(testContext);
28- sm = LifecycleMstest2 .GetManager(sm).SetBrowser("edge");
27+ LifecycleMstest4 .SetUpClass(testContext);
28+ sm = LifecycleMstest4 .GetManager(sm).SetBrowser("edge");
2929 }
3030 */
3131
Original file line number Diff line number Diff line change 88 </PropertyGroup >
99
1010 <ItemGroup >
11- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.14.1 " />
11+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 18.0.0 " />
1212
13- <PackageReference Include =" MSTest.TestAdapter" Version =" 3.11.0 " />
13+ <PackageReference Include =" MSTest.TestAdapter" Version =" 4.0.1 " />
1414
15- <PackageReference Include =" MSTest.TestFramework" Version =" 3.11.0 " />
15+ <PackageReference Include =" MSTest.TestFramework" Version =" 4.0.1 " />
1616
1717 <PackageReference Include =" Selenium.WebDriver" Version =" 4.37.0" />
18-
19- <PackageReference Include =" Selema" Version =" 3.4.1 " />
18+
19+ <PackageReference Include =" Selema" Version =" 4.0.0 " />
2020 </ItemGroup >
2121
2222</Project >
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <TargetFramework >net8.0</TargetFramework >
5- <RootNamespace >Giis.Samples.Selema.Junit4 </RootNamespace >
5+ <RootNamespace >Giis.Samples.Selema.Nunit </RootNamespace >
66
77 <IsPackable >false</IsPackable >
88 </PropertyGroup >
1212
1313 <PackageReference Include =" NUnit3TestAdapter" Version =" 5.2.0" />
1414
15- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.14.1 " />
15+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 18.0.0 " />
1616
1717 <PackageReference Include =" Selenium.WebDriver" Version =" 4.37.0" />
1818
19- <PackageReference Include =" Selema" Version =" 3.4.1 " />
19+ <PackageReference Include =" Selema" Version =" 4.0.0 " />
2020 </ItemGroup >
2121
2222</Project >
You can’t perform that action at this time.
0 commit comments