Skip to content

Commit

Permalink
Merge pull request #384 from dvsa/dvla-add-vehicle-fixmain
Browse files Browse the repository at this point in the history
fix:dvla-add-vehicle parallel change to main
  • Loading branch information
sr4850 authored Jul 18, 2024
2 parents 3ff9387 + bd73119 commit 6efdad3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ public void addAVehicle(String licenceNumber) {
waitAndClick("next", SelectorType.ID);
waitAndEnterText("vehicle-search[search-value]", SelectorType.ID, licenceNumber);
waitAndClick("vehicle-search[submit]", SelectorType.ID);
if(isTextPresent(String.format("A vehicle has been found with registration"))){
waitAndClick("confirm", SelectorType.ID);
}
}

public void addAVehicleToAnApplication(String vrm, String weight){
Expand Down

0 comments on commit 6efdad3

Please sign in to comment.