Skip to content

Commit 4d0e7e2

Browse files
authored
Trying to make flaky test less flaky. (#3099)
Fixing screenshtos directory
1 parent 41c4feb commit 4d0e7e2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build_artifacts.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
uses: actions/upload-artifact@v3
6060
with:
6161
name: Screenshots-${{ github.run_number }}
62-
path: ${{ github.workspace }}\MaterialDesignThemes.UITests\bin\${{ inputs.build-configuration }}\net6.0-windows\Screenshots
62+
path: ${{ github.workspace }}\MaterialDesignThemes.UITests\bin\${{ inputs.build-configuration }}\net7.0-windows\Screenshots
6363
if-no-files-found: ignore
6464

6565
- name: Build NuGets

MaterialDesignThemes.UITests/WPF/DrawerHosts/DrawerHostTests.cs

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ await Wait.For(async () =>
5050
Assert.True(await contentCover.GetOpacity() > 0.0);
5151
});
5252

53+
//Wait before clicking so the animations have time to finish
54+
await Task.Delay(100);
55+
5356
await drawerHost.LeftClick();
5457

5558
await Wait.For(async () => await contentCover.GetOpacity() <= 0.0);

0 commit comments

Comments
 (0)