Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
Expand Down
280 changes: 173 additions & 107 deletions Common/src/main/java/com/ing/parent/createParentPOM.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ private void createFile(String fileName) {
// Add default key-value pairs
prop.setProperty("setHeadless", "false");
prop.setProperty("setSlowMo", "");
prop.setProperty("startMaximized", "");
prop.setProperty("setDevtools", "");
prop.setProperty("setDownloadsPath", "");
prop.setProperty("setExecutablePath", "");
Expand Down
176 changes: 104 additions & 72 deletions Engine/src/main/java/com/ing/engine/commands/browser/Assertions.java

Large diffs are not rendered by default.

18 changes: 16 additions & 2 deletions Engine/src/main/java/com/ing/engine/commands/browser/Command.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
import javax.jms.JMSContext;
import javax.jms.JMSProducer;
import javax.jms.TextMessage;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.KafkaConsumer;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.apache.kafka.common.header.Header;
Expand Down Expand Up @@ -132,19 +136,29 @@ public class Command {


/**
* *** Queue ****
* *** Kafka ****
*/

static public Map<String, List<Header>> kafkaHeaders = new HashMap<>();
static public Map<String, String> kafkaTopic = new HashMap<>();
static public Map<String, String> kafkaProducerTopic = new HashMap<>();
static public Map<String, String> kafkaConsumerTopic = new HashMap<>();
static public Map<String, String> kafkaConsumerGroupId = new HashMap<>();
static public Map<String, String> kafkaServers = new HashMap<>();
static public Map<String, String> kafkaSchemaRegistryURL = new HashMap<>();
static public Map<String, Integer> kafkaPartition = new HashMap<>();
static public Map<String, Long> kafkaTimeStamp = new HashMap<>();
static public Map<String, String> kafkaKey = new HashMap<>();
static public Map<String, String> kafkaKeySerializer = new HashMap<>();
static public Map<String, String> kafkaKeyDeserializer = new HashMap<>();
static public Map<String, String> kafkaValue = new HashMap<>();
static public Map<String, String> kafkaValueSerializer = new HashMap<>();
static public Map<String, String> kafkaValueDeserializer = new HashMap<>();
static public Map<String, ProducerRecord> kafkaProducerRecord = new HashMap<>();
static public Map<String, ConsumerRecord> kafkaConsumerRecord = new HashMap<>();
static public Map<String, KafkaProducer> kafkaProducer = new HashMap<>();
static public Map<String, KafkaConsumer> kafkaConsumer = new HashMap<>();
static public Map<String, Integer> kafkaConsumerPollRetries = new HashMap<>();
static public Map<String, Long> kafkaConsumerPollDuration = new HashMap<>();


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,16 +142,6 @@ public void storeVariableInDataSheet() {
}
}

@Action(object = ObjectType.GENERAL, desc = "store value [<Data>] in Variable [<Condition>]", input = InputType.YES, condition = InputType.YES)
public void storeVariable() {
if (Condition.startsWith("%") && Condition.endsWith("%")) {
addVar(Condition, Data);
Report.updateTestLog(Action, "Value" + Data + "' is stored in Variable '" + Condition + "'", Status.DONE);
} else {
Report.updateTestLog(Action, "Variable format is not correct", Status.DEBUG);
}
}

public void replaceFunction() {
String op = "";
String original = "";
Expand Down
Loading