Use Playwright for CAS tests

This is a try to fix the tests that are not reliable when running on CI
This commit is contained in:
Marcus Hert Da Coregio
2024-03-14 15:37:45 -03:00
parent 20859e7467
commit 4ab8b843b8
2 changed files with 33 additions and 34 deletions

View File

@@ -18,14 +18,10 @@ dependencies {
implementation 'org.springframework.security:spring-security-cas'
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
testImplementation 'net.sourceforge.htmlunit:htmlunit'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation "org.testcontainers:junit-jupiter"
testImplementation 'com.codeborne:selenide:6.12.4'
testImplementation 'org.seleniumhq.selenium:selenium-chrome-driver'
testImplementation 'org.seleniumhq.selenium:selenium-java'
testImplementation 'io.github.bonigarcia:webdrivermanager:5.6.4'
testImplementation 'com.microsoft.playwright:playwright:1.42.0'
}
tasks.withType(Test).configureEach {