Fix invisible footer element check in e2e test.