mds: fix selenium tests