From 4cdfa79f0f8f0cab479aac1a84c9586fba654641 Mon Sep 17 00:00:00 2001 From: Maya Afanaseva Date: Thu, 26 Oct 2023 11:48:59 +0300 Subject: [PATCH] 4949-refactoringCheckBoxTestsEnumFixed --- .../epam/angular/tests/elements/common/CheckboxTests.java | 4 ++-- .../enums/{CheckBoxModes.java => CheckBoxAlignPosition.java} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/enums/{CheckBoxModes.java => CheckBoxAlignPosition.java} (74%) diff --git a/jdi-light-angular-tests/src/test/java/io/github/epam/angular/tests/elements/common/CheckboxTests.java b/jdi-light-angular-tests/src/test/java/io/github/epam/angular/tests/elements/common/CheckboxTests.java index 73cf84ab039..aacb6d53667 100644 --- a/jdi-light-angular-tests/src/test/java/io/github/epam/angular/tests/elements/common/CheckboxTests.java +++ b/jdi-light-angular-tests/src/test/java/io/github/epam/angular/tests/elements/common/CheckboxTests.java @@ -5,8 +5,8 @@ import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; -import static com.epam.jdi.light.angular.elements.enums.CheckBoxModes.AFTER; -import static com.epam.jdi.light.angular.elements.enums.CheckBoxModes.BEFORE; +import static com.epam.jdi.light.angular.elements.enums.CheckBoxAlignPosition.AFTER; +import static com.epam.jdi.light.angular.elements.enums.CheckBoxAlignPosition.BEFORE; import static com.jdiai.tools.Timer.waitCondition; import static io.github.com.StaticSite.checkBoxPage; diff --git a/jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/enums/CheckBoxModes.java b/jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/enums/CheckBoxAlignPosition.java similarity index 74% rename from jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/enums/CheckBoxModes.java rename to jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/enums/CheckBoxAlignPosition.java index 59f38249c18..943e9d3ed8e 100644 --- a/jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/enums/CheckBoxModes.java +++ b/jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/enums/CheckBoxAlignPosition.java @@ -1,11 +1,11 @@ package com.epam.jdi.light.angular.elements.enums; -public enum CheckBoxModes { +public enum CheckBoxAlignPosition { BEFORE("before"), AFTER("after"); private final String mode; - CheckBoxModes(String mode) { + CheckBoxAlignPosition(String mode) { this.mode = mode; }