selenium tests for post and edit post