From a56141974cd8cb37674c65f3abe0657bb9a3826a Mon Sep 17 00:00:00 2001 From: wyl <wangyulong990316@outlook.com> Date: Mon, 24 Feb 2025 17:58:41 +0000 Subject: [PATCH] UPDATE TEST --- build.gradle | 7 ++++++- src/main/resources/static/html/login.html | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index ee30b30..b7f181c 100644 --- a/build.gradle +++ b/build.gradle @@ -36,7 +36,12 @@ dependencies { annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' - implementation 'org.seleniumhq.selenium:selenium-java:4.8.0' + //implementation 'org.seleniumhq.selenium:selenium-java:4.8.0' + + testImplementation("io.github.bonigarcia:webdrivermanager:5.2.0") + testImplementation group: 'net.sourceforge.htmlunit', name: 'htmlunit', version: '2.32' + testImplementation group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '4.1.0' + } tasks.named('test') { diff --git a/src/main/resources/static/html/login.html b/src/main/resources/static/html/login.html index 7041c19..4480fc8 100644 --- a/src/main/resources/static/html/login.html +++ b/src/main/resources/static/html/login.html @@ -56,7 +56,7 @@ </tr> </table> </div> - <button type="submit" + <button type="submit" name="loginButton" class="w-full bg-purple-500 text-white py-2 rounded-md hover:bg-purple-600 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50" >Login</button> </div> -- GitLab