removed failing condition when doc is still to be generated
Merge pull request #464 from LorenzoBoccaccia/selenium-testing

removed failing condition when doc is still to be generated