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:
31
31
run : mvn -B verify
32
32
33
33
- name : Upload failed test reports
34
- uses : actions/upload-artifact@v2
34
+ uses : actions/upload-artifact@v4
35
35
if : failure()
36
36
with :
37
37
name : failed-webtau-reports
38
38
path : " */**/*-failed*.html"
39
39
retention-days : 2
40
40
41
41
- name : Upload all reports
42
- uses : actions/upload-artifact@v2
42
+ uses : actions/upload-artifact@v4
43
43
if : failure()
44
44
with :
45
45
name : all-webtau-reports
46
46
path : " */**/*webtau-report.html"
47
47
retention-days : 1
48
48
49
49
- name : Upload CLI sanity test reports
50
- uses : actions/upload-artifact@v2
50
+ uses : actions/upload-artifact@v4
51
51
if : failure()
52
52
with :
53
53
name : failed-cli-sanity-test
54
54
path : " webtau-cli-testing/src/test/groovy/*failed*.html"
55
55
retention-days : 2
56
56
57
57
- name : Upload reports testing reports
58
- uses : actions/upload-artifact@v2
58
+ uses : actions/upload-artifact@v4
59
59
if : failure()
60
60
with :
61
61
name : failed-reports-testing-tests
Original file line number Diff line number Diff line change 293
293
<dependency >
294
294
<groupId >io.github.bonigarcia</groupId >
295
295
<artifactId >webdrivermanager</artifactId >
296
- <version >5.6.4 </version >
296
+ <version >5.9.3 </version >
297
297
</dependency >
298
298
299
299
<dependency >
Original file line number Diff line number Diff line change 16
16
17
17
package org.testingisdocumenting.webtau.db
18
18
19
+ import org.junit.Ignore
19
20
import org.junit.Test
20
21
21
22
import static Database.*
22
23
24
+ @Ignore
23
25
class DatabaseTestContainersTest {
24
26
@Test
25
27
void " from test containers jdbc" () {
Original file line number Diff line number Diff line change 18
18
< html lang ="en ">
19
19
< head >
20
20
< 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 >
22
22
</ head >
23
23
< body >
24
24
< div id ="grid " style ="height: 200px; width:800px; " class ="ag-theme-alpine "> </ div >
46
46
// setup the grid after the page has finished loading
47
47
document . addEventListener ( 'DOMContentLoaded' , function ( ) {
48
48
var gridDiv = document . querySelector ( '#grid' ) ;
49
- new agGrid . Grid ( gridDiv , gridOptions ) ;
49
+ agGrid . createGrid ( gridDiv , gridOptions ) ;
50
50
} ) ;
51
51
</ script >
52
52
</ html >
Original file line number Diff line number Diff line change 97
97
// setup the grid after the page has finished loading
98
98
document . addEventListener ( 'DOMContentLoaded' , function ( ) {
99
99
var gridDiv = document . querySelector ( '#ag-grid-simple' ) ;
100
- new agGrid . Grid ( gridDiv , gridOptions ) ;
100
+ agGrid . createGrid ( gridDiv , gridOptions ) ;
101
101
} ) ;
102
102
</ script >
103
103
</ body >
Original file line number Diff line number Diff line change 111
111
<version >${h2.version} </version >
112
112
</dependency >
113
113
114
+ <dependency >
115
+ <groupId >org.hsqldb</groupId >
116
+ <artifactId >hsqldb</artifactId >
117
+ <version >2.7.1</version >
118
+ <scope >runtime</scope >
119
+ </dependency >
120
+
114
121
<dependency >
115
122
<groupId >javax.xml.bind</groupId >
116
123
<artifactId >jaxb-api</artifactId >
Original file line number Diff line number Diff line change 36
36
37
37
// repository-test-config
38
38
@ DataJpaTest
39
- @ ActiveProfiles ("tc" ) // test profile with Test Containers
39
+ @ ActiveProfiles ("hsql" )
40
40
public class AccountRepositoryTest {
41
41
private final AccountRepository accountRepository ;
42
42
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