File tree Expand file tree Collapse file tree 8 files changed +26
-9
lines changed
webtau-db/src/test/groovy/org/testingisdocumenting/webtau/db
webtau-feature-testing/src/test/resources
java/com/example/demo/springboot/app/data Expand file tree Collapse file tree 8 files changed +26
-9
lines changed Original file line number Diff line number Diff line change @@ -31,31 +31,31 @@ jobs:
3131 run : mvn -B verify
3232
3333 - name : Upload failed test reports
34- uses : actions/upload-artifact@v2
34+ uses : actions/upload-artifact@v4
3535 if : failure()
3636 with :
3737 name : failed-webtau-reports
3838 path : " */**/*-failed*.html"
3939 retention-days : 2
4040
4141 - name : Upload all reports
42- uses : actions/upload-artifact@v2
42+ uses : actions/upload-artifact@v4
4343 if : failure()
4444 with :
4545 name : all-webtau-reports
4646 path : " */**/*webtau-report.html"
4747 retention-days : 1
4848
4949 - name : Upload CLI sanity test reports
50- uses : actions/upload-artifact@v2
50+ uses : actions/upload-artifact@v4
5151 if : failure()
5252 with :
5353 name : failed-cli-sanity-test
5454 path : " webtau-cli-testing/src/test/groovy/*failed*.html"
5555 retention-days : 2
5656
5757 - name : Upload reports testing reports
58- uses : actions/upload-artifact@v2
58+ uses : actions/upload-artifact@v4
5959 if : failure()
6060 with :
6161 name : failed-reports-testing-tests
Original file line number Diff line number Diff line change 293293 <dependency >
294294 <groupId >io.github.bonigarcia</groupId >
295295 <artifactId >webdrivermanager</artifactId >
296- <version >5.6.4 </version >
296+ <version >5.9.3 </version >
297297 </dependency >
298298
299299 <dependency >
Original file line number Diff line number Diff line change 1616
1717package org.testingisdocumenting.webtau.db
1818
19+ import org.junit.Ignore
1920import org.junit.Test
2021
2122import static Database.*
2223
24+ @Ignore
2325class DatabaseTestContainersTest {
2426 @Test
2527 void " from test containers jdbc" () {
Original file line number Diff line number Diff line change 1818< html lang ="en ">
1919< head >
2020 < title > Ag-Grid Basic Example</ title >
21- < script src ="https://unpkg.com /ag-grid-community/dist/ag-grid-community.min.js "> </ script >
21+ < script src ="https://cdn.jsdelivr.net/npm /ag-grid-community/dist/ag-grid-community.min.js "> </ script >
2222</ head >
2323< body >
2424< div id ="grid " style ="height: 200px; width:800px; " class ="ag-theme-alpine "> </ div >
4646 // setup the grid after the page has finished loading
4747 document . addEventListener ( 'DOMContentLoaded' , function ( ) {
4848 var gridDiv = document . querySelector ( '#grid' ) ;
49- new agGrid . Grid ( gridDiv , gridOptions ) ;
49+ agGrid . createGrid ( gridDiv , gridOptions ) ;
5050 } ) ;
5151</ script >
5252</ html >
Original file line number Diff line number Diff line change 9797 // setup the grid after the page has finished loading
9898 document . addEventListener ( 'DOMContentLoaded' , function ( ) {
9999 var gridDiv = document . querySelector ( '#ag-grid-simple' ) ;
100- new agGrid . Grid ( gridDiv , gridOptions ) ;
100+ agGrid . createGrid ( gridDiv , gridOptions ) ;
101101 } ) ;
102102</ script >
103103</ body >
Original file line number Diff line number Diff line change 111111 <version >${h2.version} </version >
112112 </dependency >
113113
114+ <dependency >
115+ <groupId >org.hsqldb</groupId >
116+ <artifactId >hsqldb</artifactId >
117+ <version >2.7.1</version >
118+ <scope >runtime</scope >
119+ </dependency >
120+
114121 <dependency >
115122 <groupId >javax.xml.bind</groupId >
116123 <artifactId >jaxb-api</artifactId >
Original file line number Diff line number Diff line change 3636
3737// repository-test-config
3838@ DataJpaTest
39- @ ActiveProfiles ("tc" ) // test profile with Test Containers
39+ @ ActiveProfiles ("hsql" )
4040public class AccountRepositoryTest {
4141 private final AccountRepository accountRepository ;
4242 private final Database mainDb ;
Original file line number Diff line number Diff line change 1+ spring.datasource.driver-class-name =org.hsqldb.jdbc.JDBCDriver
2+ spring.datasource.url =jdbc:hsqldb:mem:testdb
3+ spring.jpa.hibernate.ddl-auto =create-drop
4+ spring.jpa.database-platform =org.hibernate.dialect.HSQLDialect
5+ spring.datasource.username =sa
6+ spring.datasource.password =
7+ # disable default in memory DB provided by @DataJpaTest
8+ spring.test.database.replace =none
You can’t perform that action at this time.
0 commit comments