Skip to content

Commit ca94f57

Browse files
committed
view logs?
1 parent 34e27ba commit ca94f57

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ jobs:
2424
java-version: 21
2525

2626
- name: Test with Maven
27-
run: mvn test
27+
run: mvn -Dwebdriver.chrome.logfile=${{ github.workspace }}/chromedriver.log -Dwebdriver.chrome.verboseLogging=true test
2828

2929
- name: Show logs
3030
run: |
31-
cat /home/runner/chromedriver.log
31+
cat ${{ github.workspace }}/chromedriver.log
3232
shell: bash
33-

pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,6 @@
7070
<groupId>org.apache.maven.plugins</groupId>
7171
<artifactId>maven-surefire-plugin</artifactId>
7272
<version>${maven.surefire.version}</version>
73-
<configuration>
74-
<systemPropertyVariables>
75-
<webdriver.chrome.verboseLogging>true</webdriver.chrome.verboseLogging>
76-
<webdriver.chrome.logfile>/home/runner/chromedriver.log</webdriver.chrome.logfile>
77-
</systemPropertyVariables>
78-
</configuration>
7973
</plugin>
8074

8175
<!--

0 commit comments

Comments
 (0)