# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# This file lists the webdriver tests that run as a part of the functional test
# suite.
#
# Tests can be enabled on a per-platform basis. Tests not listed here will
# not be run.
#
# Test names can be specified in any of the following ways:
# 1. as a module, in which case all tests in that module will be run
#      example: 'test_basic'
# 2. or as a test case, in which case all tests in that test case will be run
#      example: 'test_basic.SimpleTest'
# 3. or as an individual test
#      example: 'test_basic.SimpleTest.testCanOpenGoogle'
#
# Tests beginning with '-' will be excluded.  This can be used to enforce
# exclusions for a particular platform.

{
  'all': [
    'alerts_tests',
    # Race condition: https://code.google.com/p/selenium/issues/detail?id=4058
    '-alerts_tests.AlertsTest.testHandlesTwoAlertsFromOneInteraction',
    'children_finding_tests',
    # Cookie tests try to set the domain explicitly to 'localhost', which
    # is not allowed.
    #'cookie_tests',
    'correct_event_firing_tests',
    'driver_element_finding_tests',
    'element_attribute_tests',
    # Test needs to be updated to get fix in r16983.
    '-element_attribute_tests.ElementAttributeTests.testShouldReturnTheValueOfTheDisabledAttributeAsFalseIfNotSet',
    'executing_async_javascript_tests',
    'executing_javascript_tests',
    'form_handling_tests',
    'frame_switching_tests',
    # Test is asserting the wrong thing.
    '-frame_switching_tests.FrameSwitchingTest.testShouldReturnFrameTitleNotWindowTitle',
    'implicit_waits_tests',
    'page_loading_tests',
    # Flaky. crbug.com/77495.
    '-page_loading_tests.PageLoadingTests.testShouldBeAbleToNavigateBackInTheBrowserHistory',
    # Flaky. crbug.com/77495.
    '-page_loading_tests.PageLoadingTests.testShouldBeAbleToNavigateBackInTheBrowserHistoryInPresenceOfIframes',
    # Flaky. crbug.com/77495.
    '-page_loading_tests.PageLoadingTests.testShouldBeAbleToNavigateForwardsInTheBrowserHistory',
    # This test causes the test after to fail occassionally. See
    # crbug.com/72027. This is because we are not waiting for navigation
    # error pages.
    '-page_loading_tests.PageLoadingTests.testShouldReturnWhenGettingAUrlThatDoesNotResolve',
    'rendered_webelement_tests',
    'select_element_handling_tests',
    'stale_reference_tests',
    'text_handling_tests',
    # Chrome bug/oddity. See crbug.com/76111.
    '-text_handling_tests.TextHandlingTests.testShouldBeAbleToSetMoreThanOneLineOfTextInATextArea',
    # See issue 1225 on the webdriver OSS tracker.
    '-text_handling_tests.TextHandlingTests.testShouldReturnEmptyStringWhenTagIsSelfClosing',
    'typing_tests',
    'visibility_tests',
  ],

  'win': [

  ],

  'mac': [
    # See crbug.com/90519.
    # Test removed? crbug.com/131783
    # '-alerts_tests.AlertsTest.testShouldAllowUsersToDismissAnAlertManually',
  ],

  'linux': [
  ],
}
