Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

build: remove docker requirement #1624

Merged
merged 4 commits into from
Apr 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,31 +31,31 @@ jobs:
run: mvn -B verify

- name: Upload failed test reports
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: failed-webtau-reports
path: "*/**/*-failed*.html"
retention-days: 2

- name: Upload all reports
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: all-webtau-reports
path: "*/**/*webtau-report.html"
retention-days: 1

- name: Upload CLI sanity test reports
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: failed-cli-sanity-test
path: "webtau-cli-testing/src/test/groovy/*failed*.html"
retention-days: 2

- name: Upload reports testing reports
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: failed-reports-testing-tests
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>5.6.4</version>
<version>5.9.3</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@

package org.testingisdocumenting.webtau.db

import org.junit.Ignore
import org.junit.Test

import static Database.*

@Ignore
class DatabaseTestContainersTest {
@Test
void "from test containers jdbc"() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<html lang="en">
<head>
<title>Ag-Grid Basic Example</title>
<script src="https://unpkg.com/ag-grid-community/dist/ag-grid-community.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/ag-grid-community/dist/ag-grid-community.min.js"></script>
</head>
<body>
<div id="grid" style="height: 200px; width:800px;" class="ag-theme-alpine"></div>
Expand Down Expand Up @@ -46,7 +46,7 @@
// setup the grid after the page has finished loading
document.addEventListener('DOMContentLoaded', function() {
var gridDiv = document.querySelector('#grid');
new agGrid.Grid(gridDiv, gridOptions);
agGrid.createGrid(gridDiv, gridOptions);
});
</script>
</html>
2 changes: 1 addition & 1 deletion webtau-feature-testing/src/test/resources/tables.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
// setup the grid after the page has finished loading
document.addEventListener('DOMContentLoaded', function() {
var gridDiv = document.querySelector('#ag-grid-simple');
new agGrid.Grid(gridDiv, gridOptions);
agGrid.createGrid(gridDiv, gridOptions);
});
</script>
</body>
7 changes: 7 additions & 0 deletions webtau-testapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@
<version>${h2.version}</version>
</dependency>

<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>2.7.1</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

// repository-test-config
@DataJpaTest
@ActiveProfiles("tc") // test profile with Test Containers
@ActiveProfiles("hsql")
public class AccountRepositoryTest {
private final AccountRepository accountRepository;
private final Database mainDb;
Expand Down
8 changes: 8 additions & 0 deletions webtau-testapp/src/test/resources/application-hsql.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
spring.datasource.driver-class-name=org.hsqldb.jdbc.JDBCDriver
spring.datasource.url=jdbc:hsqldb:mem:testdb
spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.database-platform=org.hibernate.dialect.HSQLDialect
spring.datasource.username=sa
spring.datasource.password=
# disable default in memory DB provided by @DataJpaTest
spring.test.database.replace=none