Skip to content

Commit

Permalink
Reenable chrome tests (#16424)
Browse files Browse the repository at this point in the history
Closes #16135

New Features

Enhanced Chrome command-line arguments to improve testing efficiency and stability .
Tests

Re-enabled several test cases related to ARIA role descriptions and navigation in Chrome, improving test coverage.
  • Loading branch information
seanbudd committed Jun 13, 2024
1 parent d7facd1 commit ad9ed73
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions tests/system/libraries/_chromeArgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ def getChromeArgs() -> str:
"""
return (
"chrome" # Start Chrome
" --no-first-run" # Don't show intro pages for the first run of chrome
" --force-renderer-accessibility" # don't rely on chrome detecting a screen reader.
" --ash-no-nudges" # Prevents Chrome from showing nudge messages.
" --browser-test" # Enable browser test mode, helps reduce flakey tests
" --disable-default-apps" # Don't show default apps on the new tab page.
" --keep-alive-for-test" # Reduces start/stop time by keeping the app alive with no windows open.
" --suppress-message-center-popups" # prevent popups that may interfere with automated tests.
" --disable-notifications" # prevent notifications that may interfere with automated tests.
" --no-experiments" # Stable behavior is preferred.
Expand Down
8 changes: 7 additions & 1 deletion tests/system/robot/chromeTests.robot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# For more details see: https://www.gnu.org/licenses/gpl-2.0.html
*** Settings ***
Documentation HTML test cases in Chrome
Force Tags NVDA smoke test browser chrome excluded_from_build
Force Tags NVDA smoke test browser chrome
# for start & quit in Test Setup and Test Test Teardown
Library NvdaLib.py
Expand Down Expand Up @@ -91,12 +91,16 @@ ARIA roleDescription focus
ARIA roleDescription inline browse mode
[Documentation] Read an inline element with a custom role in browse mode
test_ariaRoleDescription_inline_browseMode
# Disabled due to chrome message "To get missing image descriptions, open the context menu."
[Tags] excluded_from_build
ARIA roleDescription block browse mode
[Documentation] Read a block element with a custom role in browse mode
test_ariaRoleDescription_block_browseMode
# Disabled due to chrome message "To get missing image descriptions, open the context menu."
ARIA roleDescription inline content editable
[Documentation] Read an inline element with a custom role in content editables
test_ariaRoleDescription_inline_contentEditable
[Tags] excluded_from_build
ARIA roleDescription block content editable
[Documentation] Read an block element with a custom role in content editables
test_ariaRoleDescription_block_contentEditable
Expand Down Expand Up @@ -159,9 +163,11 @@ i13307
textParagraphNavigation
[Documentation] Text paragraph navigation
test_textParagraphNavigation
[Tags] excluded_from_build
styleNav
[Documentation] Same style navigation
test_styleNav
[Tags] excluded_from_build
aria-errormessage
[Documentation] Test that aria-errormessage is reported correctly in focus and browse mode
test_ariaErrorMessage

0 comments on commit ad9ed73

Please sign in to comment.