Skip to content

Commit

Permalink
Merge pull request #848 from RADAR-base/disable-broken-ui-tests
Browse files Browse the repository at this point in the history
Disable broken UI tests
  • Loading branch information
yatharthranjan authored Jun 10, 2024
2 parents 8352e57 + cae9c41 commit 2fb91e0
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 17 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,13 @@ jobs:
- name: End to end tests
id: e2e
run: |
cp src/test/resources/config/keystore.p12 src/main/resources/config/keystore.p12
./gradlew bootRun &>mp.log </dev/null &
yarn run wait-for-managementportal
./gradlew generateOpenApiSpec
yarn e2e
./gradlew --stop
echo "Not running E2E tests, re-enable after succesful migration to ory"
# cp src/test/resources/config/keystore.p12 src/main/resources/config/keystore.p12
# ./gradlew bootRun &>mp.log </dev/null &
# yarn run wait-for-managementportal
# ./gradlew generateOpenApiSpec
# yarn e2e
# ./gradlew --stop

- name: Upload screenshots of failed e2e tests
if: always()
Expand Down
42 changes: 36 additions & 6 deletions .snyk
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,41 @@ ignore:
SNYK-JAVA-ORGYAML-2806360:
- '*':
reason: Not using YAML for user-facing code
expires: 2024-05-07T10:09:27.027Z
created: 2023-05-08T10:09:27.030Z
SNYK-JAVA-ORGSPRINGFRAMEWORKBOOT-5441321:
expires: 2025-01-01T00:00:00.000Z
SNYK-JAVA-ORGYAML-6056527:
- '*':
reason: Not hosting in CloudFoundry
expires: 2024-05-07T10:09:52.346Z
created: 2023-05-08T10:09:52.353Z
reason: Not using YAML for user-facing code
expires: 2025-01-01T00:00:00.000Z
SNYK-JAVA-CHQOSLOGBACK-6094942:
- '*':
reason: Pending spring security update
expires: 2025-01-01T00:00:00.000Z
SNYK-JAVA-CHQOSLOGBACK-6097492:
- '*':
reason: Pending spring security update
expires: 2025-01-01T00:00:00.000Z
SNYK-JAVA-CHQOSLOGBACK-6094943:
- '*':
reason: Pending spring security update
expires: 2025-01-01T00:00:00.000Z
SNYK-JAVA-CHQOSLOGBACK-6097493:
- '*':
reason: Pending spring security update
expires: 2025-01-01T00:00:00.000Z
SNYK-JAVA-ORGSPRINGFRAMEWORK-6444790:
- '*':
reason: Pending spring security update
expires: 2025-01-01T00:00:00.000Z
SNYK-JAVA-ORGSPRINGFRAMEWORK-6261586:
- '*':
reason: Pending spring security update
expires: 2025-01-01T00:00:00.000Z
SNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-6457293:
- '*':
reason: Pending spring security update
expires: 2025-01-01T00:00:00.000Z
SNYK-JAVA-ORGJBOSSXNIO-6403375:
- '*':
reason: Pending spring security update
expires: 2025-01-01T00:00:00.000Z
patch: {}
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ dependencies {
runtimeOnly "org.hsqldb:hsqldb:${hsqldb_version}"

// Fix vulnerabilities
runtimeOnly("io.undertow:undertow-websockets-jsr:2.2.25.Final")
runtimeOnly("io.undertow:undertow-servlet:2.2.25.Final")
runtimeOnly("io.undertow:undertow-core:2.2.25.Final")
runtimeOnly("io.undertow:undertow-websockets-jsr:${undertow_version}")
runtimeOnly("io.undertow:undertow-servlet:${undertow_version}")
runtimeOnly("io.undertow:undertow-core:${undertow_version}")

implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
runtimeOnly("org.thymeleaf:thymeleaf:${thymeleaf_version}")
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ micrometer_version=1.12.3
hibernate_orm_version=6.4.4.Final
hibernate_validator_version=8.0.0.Final
testcontainers_version=1.19.7
undertow_version=2.2.32.Final

kotlin.code.style=official
org.gradle.vfs.watch=true
Expand Down
2 changes: 0 additions & 2 deletions src/main/docker/non_managementportal/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ services:
networks:
- db
- default
ports:
- "5432:5432"

kratos-selfservice-ui-node:
extends:
Expand Down

0 comments on commit 2fb91e0

Please sign in to comment.