File tree Expand file tree Collapse file tree 7 files changed +757
-0
lines changed Expand file tree Collapse file tree 7 files changed +757
-0
lines changed Original file line number Diff line number Diff line change
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
3
+ <PropertyGroup >
4
+ <TargetFramework >net8.0</TargetFramework >
5
+ <ImplicitUsings >enable</ImplicitUsings >
6
+ <Nullable >enable</Nullable >
7
+ <IsPackable >false</IsPackable >
8
+ </PropertyGroup >
9
+
10
+ <ItemGroup >
11
+ <PackageReference Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" $(MicrosoftAspNetCoreMvcTestingVersion)" />
12
+ <PackageReference Include =" Microsoft.Identity.Lab.Api" Version =" $(MicrosoftIdentityLabApiVersion)" />
13
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" $(MicrosoftNetTestSdkVersion)" />
14
+ <PackageReference Include =" Microsoft.Playwright" Version =" $(MicrosoftPlaywrightVersion)" />
15
+ <PackageReference Include =" System.Management" Version =" $(SystemManagementVersion)" />
16
+ <PackageReference Include =" System.Text.Json" Version =" $(SystemTextJsonVersion)" />
17
+ <PackageReference Include =" xunit" Version =" $(XunitVersion)" />
18
+ <PackageReference Include =" xunit.runner.visualstudio" Version =" $(XunitRunnerVisualStudioVersion)" >
19
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
20
+ <PrivateAssets >all</PrivateAssets >
21
+ </PackageReference >
22
+ <PackageReference Include =" coverlet.collector" Version =" $(CoverletCollectorVersion)" >
23
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
24
+ <PrivateAssets >all</PrivateAssets >
25
+ </PackageReference >
26
+ </ItemGroup >
27
+
28
+ <ItemGroup >
29
+ <Using Include =" Xunit" />
30
+ </ItemGroup >
31
+
32
+ </Project >
Original file line number Diff line number Diff line change
1
+ using System ;
2
+ using System . Collections . Generic ;
3
+ using System . Linq ;
4
+ using System . Text ;
5
+ using System . Threading . Tasks ;
6
+
7
+ namespace Common
8
+ {
9
+ public static class TestConstants
10
+ {
11
+ public const string Headless = "headless" ;
12
+ public const string HeaderText = "Header" ;
13
+ public const string EmailText = "Email" ;
14
+ public const string PasswordText = "Password" ;
15
+ public const string TodoTitle1 = "Testing create todo item" ;
16
+ public const string TodoTitle2 = "Testing edit todo item" ;
17
+ public const string LocalhostUrl = @"https://localhost:" ;
18
+ public const string KestrelEndpointEnvVar = "Kestrel:Endpoints:Http:Url" ;
19
+ public const string HttpStarColon = "http://*:" ;
20
+ public const string HttpsStarColon = "https://*:" ;
21
+ public const string WebAppCrashedString = $ "The web app process has exited prematurely.";
22
+ public const string OIDCUser = "[email protected] " ;
23
+ public static readonly string s_oidcWebAppExe = Path . DirectorySeparatorChar . ToString ( ) + "WebApp-OpenIDConnect-DotNet.exe" ;
24
+ public static readonly string s_oidcWebAppPath = Path . DirectorySeparatorChar . ToString ( ) + "WebApp-OpenIDConnect" ;
25
+ }
26
+ }
You can’t perform that action at this time.
0 commit comments