#
# Basic test to check that the catlog loads in IE
#

def run(driver):
    driver.get('https://demo.geomoose.org/master/desktop/')

    if not 'GeoMoose' in driver.title:
        raise Exception('Unable to load geomoose demo!')

    # ensure the catalog rendered
    elem = driver.find_element_by_id('catalog')
    layers = elem.find_elements_by_class_name('layer')

    if len(layers) != 17:
        raise Exception('Layers did not render!')

#
# Basic test to check that the catlog loads in IE
#

def run(driver):
    driver.get('https://demo.geomoose.org/master/desktop/')

    if not 'GeoMoose' in driver.title:
        raise Exception('Unable to load geomoose demo!')

    # ensure the catalog rendered
    elem = driver.find_element_by_id('catalog')
    layers = elem.find_elements_by_class_name('layer')

    if len(layers) < 10:
        raise Exception('Layers did not render!')

Fix selenium layer count check.
Fix selenium layer count check.

Was hard coded to 17, but sometimes the mapbook changes.  Allow to
pass when > 10, so this isn't so fragile.  The main goal is to see
if IE11 works at all.  More detailed tests can follow if needed.

ref: #391
