forked from nvaccess/nvda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix system tests (PR nvaccess#11776)
* Fix locking issue. Creating a new lock for each critical section is a bug. Instead, use a reentrant lock, only _onNvdaSpeech modifies speech cache and it will be called from another thread (NVDA Main), all asserts will be called from the RobotRemoteServer thread. * Ensure speech has started before declaring it has finished. There was a race condition after completing an action to trigger speech and waiting for that speech to be completed that meant speech may not not have been started at all. This is fixed by allowing the start index of the speech to be declared. * Avoid start marker search if focus is already correct Sometimes focus lands on the document (and sometimes URL) when starting system tests with Chrome. If the focus is already in the document just continue with the test to save time. * Add example to run the only the chrome tests locally. * reenable treegrid test
- Loading branch information
1 parent
b842b68
commit cb156d2
Showing
4 changed files
with
57 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters