Skip to content

Commit

Permalink
fix tests and disable test ro react app
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-vasylchenko committed Jan 18, 2025
1 parent 75ac143 commit 1f27561
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cucumber-tests/src/test/java/cucumber/api/Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

public class Base {

public static String camundaUrl = "http://localhost:80/bpm";
public static String camundaUrl = "http://localhost:80";
public static String username = "kermit";
public static String password = "password";
public static String fileuploadUrl = "http://localhost:80";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import net.serenitybdd.screenplay.actions.Enter;
import net.serenitybdd.screenplay.targets.Target;

@DefaultUrl("http://localhost/bpm/")
@DefaultUrl("http://localhost/")
public class CamundaLoginPage extends PageObject {

private static Target USER_LOGIN = Target.the("login field").locatedBy("//*[@placeholder='Username']");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public void deployBpmnProcess(String processName) throws URISyntaxException, Int
for (int i = 0; i < 35; i++) {
driver.findElement(By.xpath("//input[@name='endpoint.url']")).sendKeys(Keys.BACK_SPACE);
}
driver.findElement(By.xpath("//input[@name='endpoint.url']")).sendKeys("http://localhost/bpm/engine-rest");
driver.findElement(By.xpath("//input[@name='endpoint.url']")).sendKeys("http://localhost/engine-rest");
driver.findElement(By.xpath("//input[@name='endpoint.username']")).sendKeys("test");
driver.findElement(By.xpath("//input[@name='endpoint.password']")).sendKeys("test");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import net.serenitybdd.core.pages.PageObject;
import net.serenitybdd.screenplay.targets.Target;

@DefaultUrl("http://localhost/bpm/engine-rest/process-instance/count")
@DefaultUrl("http://localhost/engine-rest/process-instance/count")
public class ProcessInstanceCountApiPage extends PageObject {

public static Target API_RESPONCE = Target.the("Responce API").locatedBy("//pre");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;

@DefaultUrl("http://localhost/bpm/camunda/app/tasklist/default/")
@DefaultUrl("http://localhost/camunda/app/tasklist/default/")
public class TaskListPage extends PageObject {

public static Target START_PROCESS = Target
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@web
@ignore
Feature: Deploy simple process
Scenario: Deploy and test Simple process
When kermit gets current simple process version
Expand Down

0 comments on commit 1f27561

Please sign in to comment.