File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
playwright/src/test/java/com/microsoft/playwright Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1919 os : [ubuntu-latest, windows-latest, macos-latest]
2020 browser : [chromium, firefox, webkit]
2121 runs-on : ${{ matrix.os }}
22+ env :
23+ DEBUG : pw:api
2224 steps :
2325 - uses : actions/checkout@v4
2426 - name : Set up JDK 1.8
Original file line number Diff line number Diff line change 2020import com .microsoft .playwright .options .HarMode ;
2121import com .microsoft .playwright .options .HarNotFound ;
2222import com .microsoft .playwright .options .RouteFromHarUpdateContentPolicy ;
23+
24+ import org .junit .jupiter .api .AfterEach ;
25+ import org .junit .jupiter .api .BeforeEach ;
2326import org .junit .jupiter .api .Test ;
27+ import org .junit .jupiter .api .TestInfo ;
2428import org .junit .jupiter .api .condition .DisabledIf ;
2529import org .junit .jupiter .api .io .TempDir ;
2630
4448import static org .junit .jupiter .api .Assertions .*;
4549
4650public class TestBrowserContextHar extends TestBase {
51+ @ BeforeEach
52+ void BeforeEach (TestInfo testInfo ) {
53+ System .out .println ("BeforeEach::displayName = " + testInfo .getDisplayName ());
54+ }
55+
56+ @ AfterEach
57+ void AfterEach (TestInfo testInfo ) {
58+ System .out .println ("AfterEach::displayName = " + testInfo .getDisplayName ());
59+ }
60+
4761 @ Test
4862 void shouldContextRouteFromHARMatchingTheMethodAndFollowingRedirects () {
4963 Path path = Paths .get ("src/test/resources/har-fulfill.har" );
You can’t perform that action at this time.
0 commit comments