I downloaded the samples, and try to run the build:
`
Agatas-MacBook-Pro:serenity-journey-demo agatanoair$ gradle check
:checkOutcomes
Checking serenity results for null in directory /Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/target/site/serenity
:compileJava
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:5: error: package net.serenitybdd.screenplay does not exist
import net.serenitybdd.screenplay.Actor;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:6: error: package net.serenitybdd.screenplay does not exist
import net.serenitybdd.screenplay.Performable;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:7: error: package net.serenitybdd.screenplay.tasks does not exist
import net.serenitybdd.screenplay.tasks.Enter;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:11: error: package net.serenitybdd.screenplay does not exist
import static net.serenitybdd.screenplay.Tasks.instrumented;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:11: error: static import only from classes and interfaces
import static net.serenitybdd.screenplay.Tasks.instrumented;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:13: error: cannot find symbol
public class AddATodoItem implements Performable {
^
symbol: class Performable
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:18: error: cannot find symbol
public void performAs(T actor) {
^
symbol: class Actor
location: class AddATodoItem
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/pages/components/ToDoList.java:3: error: package net.serenitybdd.screenplay.targets does not exist
import net.serenitybdd.screenplay.targets.Target;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/pages/components/ToDoList.java:9: error: cannot find symbol
public static Target NEW_TODO = Target.the("New Todo Field").locatedBy("#new-todo");
^
symbol: class Target
location: class ToDoList
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/AddItems.java:5: error: package net.serenitybdd.screenplay does not exist
import net.serenitybdd.screenplay.Actor;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/AddItems.java:6: error: package net.serenitybdd.screenplay does not exist
import net.serenitybdd.screenplay.Performable;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/AddItems.java:7: error: package net.serenitybdd.screenplay.tasks does not exist
import net.serenitybdd.screenplay.tasks.Open;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/AddItems.java:12: error: cannot find symbol
public class AddItems implements Performable {
^
symbol: class Performable
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/AddItems.java:18: error: cannot find symbol
public void performAs(T actor) {
^
symbol: class Actor
location: class AddItems
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:3: error: package net.serenitybdd.screenplay does not exist
import net.serenitybdd.screenplay.Actor;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:4: error: package net.serenitybdd.screenplay does not exist
import net.serenitybdd.screenplay.Performable;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:5: error: package net.serenitybdd.screenplay.abilities does not exist
import net.serenitybdd.screenplay.abilities.BrowseTheWeb;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:6: error: package net.serenitybdd.screenplay.targets does not exist
import net.serenitybdd.screenplay.targets.Target;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:10: error: package net.serenitybdd.screenplay does not exist
import static net.serenitybdd.screenplay.Tasks.instrumented;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:10: error: static import only from classes and interfaces
import static net.serenitybdd.screenplay.Tasks.instrumented;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:12: error: cannot find symbol
public class Hit implements Performable {
^
symbol: class Performable
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:15: error: cannot find symbol
private Target target;
^
symbol: class Target
location: class Hit
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:23: error: cannot find symbol
public Performable into(String cssOrXpathForElement) {
^
symbol: class Performable
location: class Hit
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:28: error: cannot find symbol
public Performable into(Target target) {
^
symbol: class Target
location: class Hit
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:28: error: cannot find symbol
public Performable into(Target target) {
^
symbol: class Performable
location: class Hit
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:34: error: cannot find symbol
public void performAs(T theUser) {
^
symbol: class Actor
location: class Hit
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:20: error: cannot find symbol
Enter.theValue(thingToDo).into(ToDoList.NEW_TODO),
^
symbol: variable Enter
location: class AddATodoItem
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:29: error: cannot find symbol
return instrumented(AddATodoItem.class, thingToDo);
^
symbol: method instrumented(Class,String)
location: class AddATodoItem
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/pages/components/ToDoList.java:9: error: cannot find symbol
public static Target NEW_TODO = Target.the("New Todo Field").locatedBy("#new-todo");
^
symbol: variable Target
location: class ToDoList
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/AddItems.java:19: error: cannot find symbol
actor.attemptsTo(Open.browserOn().the(applicationHomePage));
^
symbol: variable Open
location: class AddItems
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:18: error: cannot find symbol
Hit enterAction = instrumented(Hit.class);
^
symbol: method instrumented(Class)
location: class Hit
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:24: error: cannot find symbol
this.target = Target.the(cssOrXpathForElement).locatedBy(cssOrXpathForElement);
^
symbol: variable Target
location: class Hit
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:35: error: cannot find symbol
BrowseTheWeb.as(theUser)
^
symbol: variable BrowseTheWeb
location: class Hit
33 errors
:compileJava FAILED
:processResources UP-TO-DATE
:processTestResources
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':compileJava'.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1.032 secs
Agatas-MacBook-Pro:serenity-journey-demo agatanoair$
`
Seems, like the java classes dont compile properly?
Hello
I downloaded the samples, and try to run the build: ` Agatas-MacBook-Pro:serenity-journey-demo agatanoair$ gradle check :checkOutcomes Checking serenity results for null in directory /Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/target/site/serenity :compileJava /Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:5: error: package net.serenitybdd.screenplay does not exist import net.serenitybdd.screenplay.Actor; ^ /Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:6: error: package net.serenitybdd.screenplay does not exist import net.serenitybdd.screenplay.Performable; ^ /Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:7: error: package net.serenitybdd.screenplay.tasks does not exist import net.serenitybdd.screenplay.tasks.Enter; ^ /Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:11: error: package net.serenitybdd.screenplay does not exist import static net.serenitybdd.screenplay.Tasks.instrumented; ^ /Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:11: error: static import only from classes and interfaces import static net.serenitybdd.screenplay.Tasks.instrumented; ^ /Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:13: error: cannot find symbol public class AddATodoItem implements Performable { ^ symbol: class Performable /Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:18: error: cannot find symbol public void performAs(T actor) {
^
symbol: class Actor
location: class AddATodoItem
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/pages/components/ToDoList.java:3: error: package net.serenitybdd.screenplay.targets does not exist
import net.serenitybdd.screenplay.targets.Target;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/pages/components/ToDoList.java:9: error: cannot find symbol
public static Target NEW_TODO = Target.the("New Todo Field").locatedBy("#new-todo");
^
symbol: class Target
location: class ToDoList
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/AddItems.java:5: error: package net.serenitybdd.screenplay does not exist
import net.serenitybdd.screenplay.Actor;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/AddItems.java:6: error: package net.serenitybdd.screenplay does not exist
import net.serenitybdd.screenplay.Performable;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/AddItems.java:7: error: package net.serenitybdd.screenplay.tasks does not exist
import net.serenitybdd.screenplay.tasks.Open;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/AddItems.java:12: error: cannot find symbol
public class AddItems implements Performable {
^
symbol: class Performable
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/AddItems.java:18: error: cannot find symbol
public void performAs(T actor) {
^
symbol: class Actor
location: class AddItems
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:3: error: package net.serenitybdd.screenplay does not exist
import net.serenitybdd.screenplay.Actor;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:4: error: package net.serenitybdd.screenplay does not exist
import net.serenitybdd.screenplay.Performable;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:5: error: package net.serenitybdd.screenplay.abilities does not exist
import net.serenitybdd.screenplay.abilities.BrowseTheWeb;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:6: error: package net.serenitybdd.screenplay.targets does not exist
import net.serenitybdd.screenplay.targets.Target;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:10: error: package net.serenitybdd.screenplay does not exist
import static net.serenitybdd.screenplay.Tasks.instrumented;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:10: error: static import only from classes and interfaces
import static net.serenitybdd.screenplay.Tasks.instrumented;
^
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:12: error: cannot find symbol
public class Hit implements Performable {
^
symbol: class Performable
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:15: error: cannot find symbol
private Target target;
^
symbol: class Target
location: class Hit
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:23: error: cannot find symbol
public Performable into(String cssOrXpathForElement) {
^
symbol: class Performable
location: class Hit
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:28: error: cannot find symbol
public Performable into(Target target) {
^
symbol: class Target
location: class Hit
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:28: error: cannot find symbol
public Performable into(Target target) {
^
symbol: class Performable
location: class Hit
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:34: error: cannot find symbol
public void performAs(T theUser) {
^
symbol: class Actor
location: class Hit
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:20: error: cannot find symbol
Enter.theValue(thingToDo).into(ToDoList.NEW_TODO),
^
symbol: variable Enter
location: class AddATodoItem
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/interactions/AddATodoItem.java:29: error: cannot find symbol
return instrumented(AddATodoItem.class, thingToDo);
^
symbol: method instrumented(Class,String)
location: class AddATodoItem
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/pages/components/ToDoList.java:9: error: cannot find symbol
public static Target NEW_TODO = Target.the("New Todo Field").locatedBy("#new-todo");
^
symbol: variable Target
location: class ToDoList
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/AddItems.java:19: error: cannot find symbol
actor.attemptsTo(Open.browserOn().the(applicationHomePage));
^
symbol: variable Open
location: class AddItems
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:18: error: cannot find symbol
Hit enterAction = instrumented(Hit.class);
^
symbol: method instrumented(Class)
location: class Hit
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:24: error: cannot find symbol
this.target = Target.the(cssOrXpathForElement).locatedBy(cssOrXpathForElement);
^
symbol: variable Target
location: class Hit
/Users/agatanoair/Documents/workspace/serenity-demos/serenity-journey-demo/src/main/java/net/serenitybdd/demos/todos/tasks/interactions/Hit.java:35: error: cannot find symbol
BrowseTheWeb.as(theUser)
^
symbol: variable BrowseTheWeb
location: class Hit
33 errors
:compileJava FAILED
:processResources UP-TO-DATE
:processTestResources
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':compileJava'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1.032 secs Agatas-MacBook-Pro:serenity-journey-demo agatanoair$ `
Seems, like the java classes dont compile properly?
Best Agata