Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
henningn committed Dec 13, 2024
1 parent 3e39669 commit 8826be9
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,12 @@ describe("general", function () {

expect(result.indexOf("???")).toBeLessThanOrEqual(-1, "There must no '???' on the site.");
});

it("If there is a tobago-header it must be a tobago-footer", function () {
const header = querySelectorFn("tobago-page > form > tobago-header")();
const footer = querySelectorFn("tobago-page > form > tobago-footer")();
const headerExist = header != null;
const footerExist = footer != null;
expect(headerExist).toBe(footerExist);
});
});

0 comments on commit 8826be9

Please sign in to comment.