# Copyright (c) 2011 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 tess 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.

# Most of these tests are disabled because they involve not yet implemented
# features. See bug 71237.
{
  'all': [
    '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_test',
    'element_attribute_tests',
    # Async execution has not been implemented.
    # 'executing_async_javascript_test',
    'executing_javascript_test',
    'form_handling_tests',
    # This test is flaky, probably because of form submission race.
    '-form_handling_tests.FormHandlingTests.testShouldClickOnSubmitInputElements',
    '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.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',
    # Test expects a color keyword, but a rgba tuple is returned.
    '-rendered_webelement_tests.RenderedWebElementTests.testShouldAllowInheritedStylesToBeUsed',
    # Test expects hex color, but a rgb tuple is returned.
    '-rendered_webelement_tests.RenderedWebElementTests.testShouldPickUpStyleOfAnElement',
    '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': [

  ],

  'linux': [
  ],
}
