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 19
19
os : [ubuntu-latest, windows-latest, macos-latest]
20
20
browser : [chromium, firefox, webkit]
21
21
runs-on : ${{ matrix.os }}
22
+ env :
23
+ DEBUG : pw:api
22
24
steps :
23
25
- uses : actions/checkout@v4
24
26
- name : Set up JDK 1.8
Original file line number Diff line number Diff line change 20
20
import com .microsoft .playwright .options .HarMode ;
21
21
import com .microsoft .playwright .options .HarNotFound ;
22
22
import com .microsoft .playwright .options .RouteFromHarUpdateContentPolicy ;
23
+
24
+ import org .junit .jupiter .api .AfterEach ;
25
+ import org .junit .jupiter .api .BeforeEach ;
23
26
import org .junit .jupiter .api .Test ;
27
+ import org .junit .jupiter .api .TestInfo ;
24
28
import org .junit .jupiter .api .condition .DisabledIf ;
25
29
import org .junit .jupiter .api .io .TempDir ;
26
30
44
48
import static org .junit .jupiter .api .Assertions .*;
45
49
46
50
public 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
+
47
61
@ Test
48
62
void shouldContextRouteFromHARMatchingTheMethodAndFollowingRedirects () {
49
63
Path path = Paths .get ("src/test/resources/har-fulfill.har" );
You can’t perform that action at this time.
0 commit comments