Replace harcoded condition in tests bounded to the ci URL.

These tests were not executed in the previous CI location. After the move, the tests are begin to be executed and always fails in the CI enviroment.

Maybe these tests need to be rewritten in order to not be enviroment dependant.