Dave Tolls wrote:any(Exercise.class) should work, but not seeing the code that apparently didn't work I can't say what happened there.
www.seleniumhq.org wrote:Navigation: History and Location
Earlier, we covered navigating to a page using the “get” command ( driver.get("http://www.example.com") or driver.Url="http://www.example.com" in C#). As you’ve seen, WebDriver has a number of smaller, task-focused interfaces, and navigation is a useful task. Because loading a page is such a fundamental requirement, the method to do this lives on the main WebDriver interface, but it’s simply a synonym to:
To reiterate: “navigate().to()” and “get()” do exactly the same thing. One’s just a lot easier to type than the other!
The “navigate” interface also exposes the ability to move backwards and forwards in your browser’s history:
Niall Kev wrote:I’ve already rescheduled the exam
Niall Kev wrote:I’ve done nearly all enthuware and am getting about 55% on average
Niall Kev wrote:I have the exam in 3 weeks.
Niall Kev wrote:Enthuware are way better
Toni Lane wrote:The current step that i am thinking of taking is to create a project(s) and publish it(them) to github.
Toni Lane wrote:Should i start attempting to learn microservices before attempting to upload some code to github,
Toni Lane wrote:should i just write what i already know (a big monolithic web app).
Toni Lane wrote:What are my odds to land a job as a java backend developer for both cases?
Toni Lane wrote:How do i rate myself? Junior? mid?
Dave Tolls wrote:Your mocking for save(ex1) uses an Exercise object that looks like it has an id of "1"?
Dave Tolls wrote:The actual call to save appears to be using an Exercise object with a random UUID (called exerciseID).
I can't see how it can match, unless equals ignores the id.
This assumes that Exercise has some form of equals method in the first place.
ras oscar wrote:I have not yet been able to compile the program since splitting it and am trying to diagnose the problem.