Skip to content

Commit d7e75cd

Browse files
committed
make tests isolated as well
1 parent 509ba7e commit d7e75cd

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/Playwright.TestingHarnessTest/Playwright.TestingHarnessTest.csproj

+5
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,9 @@
2727
<PackageReference Include="xunit" Version="2.9.2" Condition="'$(TEST_MODE)' == 'xunit'" />
2828
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" Condition="'$(TEST_MODE)' == 'xunit'" />
2929
</ItemGroup>
30+
31+
<ItemGroup>
32+
<Compile Remove="**/*.cs" />
33+
<Compile Include="$(PWTEST_TEST_DIR)/*.cs" />
34+
</ItemGroup>
3035
</Project>

src/Playwright.TestingHarnessTest/tests/baseTest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export const test = base.extend<{
3838
...env,
3939
NODE_OPTIONS: undefined,
4040
TEST_MODE: testMode,
41+
PWTEST_TEST_DIR: testDir,
4142
},
4243
stdio: 'pipe',
4344
});

0 commit comments

Comments
 (0)