Skip to content

Commit

Permalink
feat(vta-1576): corrected formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-cs committed Oct 6, 2023
1 parent 1f5b998 commit f74d1b7
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ public static VTG5A getVtg5a() {

return vtg5a;
}

public static VTG5W getVTG5W() {
VTG5W vtg5W = new VTG5W();
vtg5W.setDocumentName(CertificateTypes.CVS_HGV_PASS_WELSH.getCertificateType());
Expand Down
20 changes: 10 additions & 10 deletions src/test/java/htmlverification/tests/CvsPsvPassBilingualTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,27 +96,27 @@ public void verifyMileage() {
}

@Test
public void verifyAdvisories() {
List<String> advisories = certificatePageObjectVTP20.getDefectSummaryComponent().getAdvisories().eachText();
assertEquals(1, advisories.size());
public void verifyAdvisoryDefects() {
List<String> advisoryDefects = certificatePageObjectVTP20.getDefectSummaryComponent().getAdvisories().eachText();
assertEquals(1, advisoryDefects.size());
}

@Test
public void verifyMinors() {
List<String> minors = certificatePageObjectVTP20.getDefectSummaryComponent().getMinorDefects().eachText();
assertEquals(1, minors.size());
public void verifyMinorDefects() {
List<String> minorDefects = certificatePageObjectVTP20.getDefectSummaryComponent().getMinorDefects().eachText();
assertEquals(1, minorDefects.size());
}

@Test
public void verifyAdvisoryDefectsWelsh() {
List<String> advisories = certificatePageObjectVTP20W.getDefectSummaryComponent().getAdvisoriesWelshCVS().eachText();
assertEquals(1, advisories.size());
List<String> advisoryDefects = certificatePageObjectVTP20W.getDefectSummaryComponent().getAdvisoriesWelshCVS().eachText();
assertEquals(1, advisoryDefects.size());
}

@Test
public void verifyMinorDefectsWelsh() {
List<String> minors = certificatePageObjectVTP20W.getDefectSummaryComponent().getMinorDefectsWelshCVS().eachText();
assertEquals(1, minors.size());
List<String> minorDefects = certificatePageObjectVTP20W.getDefectSummaryComponent().getMinorDefectsWelshCVS().eachText();
assertEquals(1, minorDefects.size());
}

@Test
Expand Down
22 changes: 11 additions & 11 deletions src/test/java/htmlverification/tests/CvsTrlPassBilingualTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,27 +85,27 @@ public void verifyMakeAndModel() {
// }

@Test
public void verifyAdvisories() {
List<String> advisories = certificatePageObjectVTG5A.getDefectSummaryComponent().getAdvisories().eachText();
assertEquals(1, advisories.size());
public void verifyAdvisoryDefects() {
List<String> advisoryDefects = certificatePageObjectVTG5A.getDefectSummaryComponent().getAdvisories().eachText();
assertEquals(1, advisoryDefects.size());
}

@Test
public void verifyMinors() {
List<String> minors = certificatePageObjectVTG5A.getDefectSummaryComponent().getMinorDefects().eachText();
assertEquals(1, minors.size());
public void verifyMinorDefects() {
List<String> minorDefects = certificatePageObjectVTG5A.getDefectSummaryComponent().getMinorDefects().eachText();
assertEquals(1, minorDefects.size());
}

@Test
public void verifyAdvisoriesWelsh() {
List<String> advisories = certificatePageObjectVTG5AW.getDefectSummaryComponent().getAdvisoriesWelshCVS().eachText();
assertEquals(1, advisories.size());
public void verifyAdvisoryDefectsWelsh() {
List<String> advisoryDefects = certificatePageObjectVTG5AW.getDefectSummaryComponent().getAdvisoriesWelshCVS().eachText();
assertEquals(1, advisoryDefects.size());
}

@Test
public void verifyMinorDefectsWelsh() {
List<String> minors = certificatePageObjectVTG5AW.getDefectSummaryComponent().getMinorDefectsWelshCVS().eachText();
assertEquals(1, minors.size());
List<String> minorDefects = certificatePageObjectVTG5AW.getDefectSummaryComponent().getMinorDefectsWelshCVS().eachText();
assertEquals(1, minorDefects.size());
}

@Test
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/htmlverification/tests/VTP20WTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ public void verifyVehicleCategory() {

@Test
public void verifyAdvisories() {
List<String> advisories = certificatePageObject.getDefectSummaryComponent().getAdvisoriesWelshCVS().eachText();
assertEquals(1, advisories.size());
List<String> advisoryDefects = certificatePageObject.getDefectSummaryComponent().getAdvisoriesWelshCVS().eachText();
assertEquals(1, advisoryDefects.size());
}

@Test
Expand Down

0 comments on commit f74d1b7

Please sign in to comment.