summaryrefslogtreecommitdiff
path: root/src/test/java/com/mavlushechka
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/mavlushechka')
-rw-r--r--src/test/java/com/mavlushechka/a1qa/project/TestCase1.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/java/com/mavlushechka/a1qa/project/TestCase1.java b/src/test/java/com/mavlushechka/a1qa/project/TestCase1.java
index 1463eb5..a690ee2 100644
--- a/src/test/java/com/mavlushechka/a1qa/project/TestCase1.java
+++ b/src/test/java/com/mavlushechka/a1qa/project/TestCase1.java
@@ -5,7 +5,6 @@ import com.mavlushechka.a1qa.framework.BaseTest;
import com.mavlushechka.a1qa.framework.utils.JsonParser;
import com.mavlushechka.a1qa.framework.utils.LoggerUtils;
import com.mavlushechka.a1qa.framework.utils.StringUtils;
-import com.mavlushechka.a1qa.project.constants.Project;
import com.mavlushechka.a1qa.project.models.User;
import com.mavlushechka.a1qa.project.pages.AddProjectPage;
import com.mavlushechka.a1qa.project.pages.ProjectsPage;
@@ -39,7 +38,7 @@ public class TestCase1 extends BaseTest {
Assert.assertEquals(projectsPage.getVersion(), variant, "The variant is not correct.");
LoggerUtils.step("Go to the Nexage project page. Query the api to get a list of tests in JSON/XML format.");
- projectsPage.openProject(Project.NEXAGE);
+ projectsPage.openProject(JsonParser.parseData("testData", "project.name"));
TestsPage testsPage = new TestsPage();
Assert.assertTrue(testsPage.state().waitForDisplayed(), "The %s page is not opened.".formatted(testsPage.getName()));
List<com.mavlushechka.a1qa.project.models.Test> allRunningTestsOnSite = testsPage.getAllRunningTests();