diff --git a/packages/ui/components/core/test/SlotMixin.test.js b/packages/ui/components/core/test/SlotMixin.test.js index 413dbf77c9..3c3fed7a7e 100644 --- a/packages/ui/components/core/test/SlotMixin.test.js +++ b/packages/ui/components/core/test/SlotMixin.test.js @@ -567,7 +567,8 @@ describe('SlotMixin', () => { }); }); - describe('Scoped Registries', () => { + // eslint-disable-next-line no-only-tests/no-only-tests + describe.only('Scoped Registries', () => { it('supports scoped elements when polyfill loaded', async () => { const outputObj = mockScopedRegistry(); @@ -605,7 +606,8 @@ describe('SlotMixin', () => { unMockScopedRegistry(); }); - it('does not scope elements when polyfill not loaded', async () => { + // eslint-disable-next-line no-only-tests/no-only-tests + it.only('does not scope elements when polyfill not loaded', async () => { // @ts-expect-error ShadowRoot.prototype.createElement = null; class ScopedEl extends LitElement {} diff --git a/web-test-runner.config.mjs b/web-test-runner.config.mjs index 5f269c6da5..a9013628ab 100644 --- a/web-test-runner.config.mjs +++ b/web-test-runner.config.mjs @@ -8,6 +8,7 @@ const packages = fs .filter( dir => fs.statSync(`packages/${dir}`).isDirectory() && fs.existsSync(`packages/${dir}/test`), ) + .filter(dir => dir === 'ui') .map(dir => ({ name: dir, path: `packages/${dir}/test` })) .concat( fs @@ -17,6 +18,7 @@ const packages = fs fs.statSync(`packages/ui/components/${dir}`).isDirectory() && fs.existsSync(`packages/ui/components/${dir}/test`), ) + .filter(dir => dir === 'core') .map(dir => ({ name: dir, path: `packages/ui/components/${dir}/test` })), ); @@ -28,7 +30,6 @@ const testRunnerHtml = testRunnerImport => ` - @@ -52,6 +53,7 @@ export default { }, }, testRunnerHtml, + browserLogs: true, browsers: [ playwrightLauncher({ product: 'firefox', concurrency: 1 }), playwrightLauncher({ product: 'chromium' }),