diff options
Diffstat (limited to 'test/document-util.test.js')
-rw-r--r-- | test/document-util.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/document-util.test.js b/test/document-util.test.js index 5f2e49ea..109345d1 100644 --- a/test/document-util.test.js +++ b/test/document-util.test.js @@ -114,7 +114,7 @@ const test = createDomTest(path.join(dirname, 'data/html/document-util.html')); describe('DocumentUtil', () => { test('Text scanning functions', ({window}) => { const {document} = window; - for (const testElement of /** @type {NodeListOf<HTMLElement>} */ (document.querySelectorAll('.test[data-test-type=scan]'))) { + for (const testElement of /** @type {NodeListOf<HTMLElement>} */ (document.querySelectorAll('test-case[data-test-type=scan]'))) { // Get test parameters const { elementFromPointSelector, @@ -231,7 +231,7 @@ describe('DocumentUtil', () => { describe('DOMTextScanner', () => { test('Seek functions', async ({window}) => { const {document} = window; - for (const testElement of /** @type {NodeListOf<HTMLElement>} */ (document.querySelectorAll('.test[data-test-type=text-source-range-seek]'))) { + for (const testElement of /** @type {NodeListOf<HTMLElement>} */ (document.querySelectorAll('test-case[data-test-type=text-source-range-seek]'))) { // Get test parameters const { seekNodeSelector, |