Skip to content

Commit b7d2416

Browse files
committed
feat(button): coverlet
1 parent eedcc25 commit b7d2416

File tree

4 files changed

+23
-2
lines changed

4 files changed

+23
-2
lines changed

.config/dotnet-tools.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"dotnet-reportgenerator-globaltool": {
6+
"version": "5.4.7",
7+
"commands": [
8+
"reportgenerator"
9+
],
10+
"rollForward": false
11+
}
12+
}
13+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ _Pvt_Extensions
160160
CHANGELOG.md
161161
/docs
162162
/TELBlazor.Components.ShowCase.WasmStaticClient/wwwroot/appsettings.dev.json
163+
164+
/tools/
165+
163166
/TELBlazor.Components.UnitTests/appsettings.Development.json
164167
/TELBlazor.Components.ShowCase.E2ETests.WasmServerHost/TELBlazor.Components.ShowCase.E2ETests.WasmServerHost/appsettings.json
165168
/TELBlazor.Components.ShowCase.WasmStaticClient/wwwroot/appsettings.json

TELBlazor.Components.ShowCase.E2ETests/Helpers/BrowserHelper.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ public static async Task<IBrowserContext> CreateBrowserContextAsync(IPlaywright
1414
{
1515

1616
IBrowser browser;
17-
bool headless = (bool.TryParse(Environment.GetEnvironmentVariable("HeadlessTesting"), out var result) && result);
17+
18+
bool headless = (bool.TryParse(Environment.GetEnvironmentVariable("HEADLESS_TESTING"), out var result) && result);
1819
switch (browserType.ToLower())
1920
{
2021
case "chromium":

TELBlazor.Components.ShowCase.E2ETests/TELBlazor.Components.ShowCase.E2ETests.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@
88
<IsPackable>false</IsPackable>
99
<IsTestProject>true</IsTestProject>
1010
<Configurations>Debug;Release;ci</Configurations>
11-
</PropertyGroup>
1211

12+
</PropertyGroup>
13+
<Target Name="SetHeadlessTestingEnvVar" BeforeTargets="Build">
14+
<Message Text="Setting HeadlessTesting: $(HeadlessTesting)" Importance="high"/>
15+
<Exec Command="set HEADLESS_TESTING $(HeadlessTesting)" />
16+
</Target>
1317
<ItemGroup>
1418
<PackageReference Include="AutoFixture" />
1519
<PackageReference Include="coverlet.collector" />

0 commit comments

Comments
 (0)