Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sree-cfa committed Mar 5, 2024
1 parent 9ad1991 commit 1625485
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ jobs:
postgres:
image: postgres
env:
POSTGRES_USER: la-doc-uploader-test
POSTGRES_DB: la-doc-uploader-test
POSTGRES_USER: il-gcc-test
POSTGRES_PASSWORD: postgres
POSTGRES_DB: il-gcc-test
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
ports:
- 5432:5432
Expand Down
8 changes: 1 addition & 7 deletions src/test/java/org/ilgcc/app/utils/AccessibilityPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ public void clickButtonLink(String buttonLinkText) {
testAccessibility();
}

@Override
public void clickContinue() {
super.clickContinue();
testAccessibility();
}

public void testAccessibility() {
AxeBuilder builder = new AxeBuilder();
builder.setOptions("""
Expand All @@ -57,6 +51,6 @@ public void testAccessibility() {
List<Rule> violations = results.getViolations();
violations.forEach(rule -> rule.setUrl(getTitle()));
resultsList.addAll(violations);
log.info("Testing a11y on page %s, found %s violations".formatted(getTitle(), violations.size()));
log.info("Testing a11y on page %s, found %s violations".formatted(driver.getTitle(), violations.size()));
}
}

0 comments on commit 1625485

Please sign in to comment.