refactore integration tests for elements to avoid duplication in shifting click event