diff --git a/README.md b/README.md
index eb02652..04c3068 100644
--- a/README.md
+++ b/README.md
@@ -33,12 +33,12 @@ The api lib must be bound as a dependency - for example in maven:
```xml
-
- io.toolisticon.pogen4selenium
- pogen4selenium-api
- 0.1.0
- provided
-
+
+ io.toolisticon.pogen4selenium
+ pogen4selenium-api
+ 0.1.0
+ provided
+
```
@@ -175,21 +175,21 @@ public class TestPageTest {
TestPagePageObject.init(webDriver)
.doAssertions(e -> {
- // Do assertions here
- List results = e.getTableEntries();
-
- MatcherAssert.assertThat(results, Matchers.hasSize(2));
-
- MatcherAssert.assertThat(results.getFirst().name(), Matchers.is("Max"));
- MatcherAssert.assertThat(results.getFirst().age(), Matchers.is("9"));
- MatcherAssert.assertThat(results.getFirst().link(), Matchers.is("https://de.wikipedia.org/wiki/Max_und_Moritz"));
- MatcherAssert.assertThat(results.getFirst().linkText(), Matchers.is("Max und Moritz Wikipedia"));
-
-
- MatcherAssert.assertThat(results.get(1).name(), Matchers.is("Moritz"));
- MatcherAssert.assertThat(results.get(1).age(), Matchers.is("10"));
- MatcherAssert.assertThat(results.get(1).link(), Matchers.is("https://de.wikipedia.org/wiki/Wilhelm_Busch"));
- MatcherAssert.assertThat(results.get(1).linkText(), Matchers.is("Wilhelm Busch Wikipedia"));
+ // Do assertions here
+ List results = e.getTableEntries();
+
+ MatcherAssert.assertThat(results, Matchers.hasSize(2));
+
+ MatcherAssert.assertThat(results.getFirst().name(), Matchers.is("Max"));
+ MatcherAssert.assertThat(results.getFirst().age(), Matchers.is("9"));
+ MatcherAssert.assertThat(results.getFirst().link(), Matchers.is("https://de.wikipedia.org/wiki/Max_und_Moritz"));
+ MatcherAssert.assertThat(results.getFirst().linkText(), Matchers.is("Max und Moritz Wikipedia"));
+
+
+ MatcherAssert.assertThat(results.get(1).name(), Matchers.is("Moritz"));
+ MatcherAssert.assertThat(results.get(1).age(), Matchers.is("10"));
+ MatcherAssert.assertThat(results.get(1).link(), Matchers.is("https://de.wikipedia.org/wiki/Wilhelm_Busch"));
+ MatcherAssert.assertThat(results.get(1).linkText(), Matchers.is("Wilhelm Busch Wikipedia"));
});
@@ -200,34 +200,35 @@ public class TestPageTest {
TestPagePageObject.init(webDriver)
.doAssertions(e -> {
- // Do assertions here
- TestPageTableEntry result = e.getFirstTableEntry();
-
-
- MatcherAssert.assertThat(result.name(), Matchers.is("Max"));
- MatcherAssert.assertThat(result.age(), Matchers.is("9"));
- MatcherAssert.assertThat(result.link(), Matchers.is("https://de.wikipedia.org/wiki/Max_und_Moritz"));
- MatcherAssert.assertThat(result.linkText(), Matchers.is("Max und Moritz Wikipedia"));
-
-
+ // Do assertions here
+ TestPageTableEntry result = e.getFirstTableEntry();
+
+
+ MatcherAssert.assertThat(result.name(), Matchers.is("Max"));
+ MatcherAssert.assertThat(result.age(), Matchers.is("9"));
+ MatcherAssert.assertThat(result.link(), Matchers.is("https://de.wikipedia.org/wiki/Max_und_Moritz"));
+ MatcherAssert.assertThat(result.linkText(), Matchers.is("Max und Moritz Wikipedia"));
+
+
- });
+ });
}
@Test
public void incrementCounterTest() {
TestPagePageObject.init(webDriver)
- .doAssertions(e -> {
- MatcherAssert.assertThat(e.getCounter(), Matchers.is("1"));
- }).clickCounterIncrementButton()
- .doAssertions(e -> {
- MatcherAssert.assertThat(e.getCounter(), Matchers.is("2"));
- })
- .clickCounterIncrementButton()
- .clickCounterIncrementButton()
- .doAssertions(e -> {
- MatcherAssert.assertThat(e.getCounter(), Matchers.is("4"));
- });
+ .doAssertions(e -> {
+ MatcherAssert.assertThat(e.getCounter(), Matchers.is("1"));
+ })
+ .clickCounterIncrementButton()
+ .doAssertions(e -> {
+ MatcherAssert.assertThat(e.getCounter(), Matchers.is("2"));
+ })
+ .clickCounterIncrementButton()
+ .clickCounterIncrementButton()
+ .doAssertions(e -> {
+ MatcherAssert.assertThat(e.getCounter(), Matchers.is("4"));
+ });
}
diff --git a/pogen4selenium-processor/src/main/java/io/toolisticon/pogen4selenium/processor/pageobject/ExtractDataValueWrapperExtension.java b/pogen4selenium-processor/src/main/java/io/toolisticon/pogen4selenium/processor/pageobject/ExtractDataValueWrapperExtension.java
new file mode 100644
index 0000000..b1f9866
--- /dev/null
+++ b/pogen4selenium-processor/src/main/java/io/toolisticon/pogen4selenium/processor/pageobject/ExtractDataValueWrapperExtension.java
@@ -0,0 +1,5 @@
+package io.toolisticon.pogen4selenium.processor.pageobject;
+
+public class ExtractDataValueWrapperExtension {
+
+}
diff --git a/pom.xml b/pom.xml
index 56a5bbc..c4cef6f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -258,7 +258,7 @@
com.amashchenko.maven.plugin
gitflow-maven-plugin
- ${maven-git${gitflow-maven-plugin.version}
+ ${gitflow-maven-plugin.version}
master