Skip to content

Commit

Permalink
Update tests after changing UI
Browse files Browse the repository at this point in the history
  • Loading branch information
georgetarazevich committed Jan 15, 2024
1 parent ac3c9d5 commit a803340
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 292 deletions.
56 changes: 0 additions & 56 deletions src/test/java/com/duallab/verapdf/tests/general/DL4JTest.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
public class EndToEndValidationTest extends BaseTest {
private static Logger log = Logger.getLogger(EndToEndValidationTest.class.getName());
private final String FILE_NAME = "test_6-3-8-t01-fail-a.pdf";
private final String PROFILE_NAME = "PDFUA_1_MACHINE";
private final String PROFILE_NAME = "PDFUA_1";
private final String PROFILE_NAME2 = "WCAG_2_1_DEV"; // 100% compliant


Expand All @@ -32,8 +32,8 @@ public void checkEndToEndValidation() throws Exception {
log.info("Checking ...");
assertThat(mainPage.getTitle()).isEqualTo("veraPDF viewer");

then(mainPage.getDemoButton().getText()).isEqualTo("Go to demo");
then(mainPage.getDemoButton().getAttribute("href")).isEqualTo("https://verapdf.duallab.com/demo");
then(mainPage.getDemoButton().getText()).isEqualTo("Start");
then(mainPage.getDemoButton().getAttribute("href")).isEqualTo("https://verapdf.duallab.com/validate");

AppPage appPage = mainPage.openAppPage();
assertThat(appPage.getTitle()).isEqualTo("veraPDF for WCAG");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void checkMainPage() throws Exception {
log.info("Checking ...");

myAssertThat(mainPage.getDemoButton())
.hasAttributeValue("href", "https://verapdf.duallab.com/demo")
.hasAttributeValue("href", "https://verapdf.duallab.com/validate")
.hasAttributeValue("class", "btn")
.hasCSSValue("color", "rgba(255, 255, 255, 1)")
.hasCSSValue("background", "rgb(212, 83, 96) none repeat scroll 0% 0% / auto padding-box border-box");
Expand Down
112 changes: 0 additions & 112 deletions src/test/java/com/duallab/verapdf/tests/general/OpenCVTest.java

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions src/test/resources/app.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ driverWaitSecondsForStates=600
baseUrl=https://verapdf.duallab.com/
screenshotLocation=./target/screenshots/
extractedImagesLocation=./target/extracted-images/
maxRetryCount=2
maxRetryCount=1
similar=0.7
RegionScreenDimensions=0,0,1024,768
browserDimension=1024,768
profilesNumber=5
profilesNumber=7
model=./resources/models/trained_sm_-1-2.tar

0 comments on commit a803340

Please sign in to comment.