Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(doclint): handle hidden metadata earlier in parsing (#38926)
Simon Knotte5bdfda91b68
diff --git a/utils/doclint/api_parser.js b/utils/doclint/api_parser.jsindex a4d504ea48..28e6711450 100644--- a/utils/doclint/api_parser.js+++ b/utils/doclint/api_parser.js@@ -93,6 +93,9 @@ class ApiParser {if (!match)throw new Error('Invalid member: ' + spec.text);const metainfo = extractMetainfo(spec);+ if (metainfo.hidden)+ return;+const name = match[3];let returnType = null;let optional = false;@@ -125,8 +128,6 @@ class ApiParser {const clazz = /** @type {docs.Class} */(this.classes.get(match[2]));if (!clazz)throw new Error(`Unknown class ${match[2]} for member: ` + spec.text);- if (metainfo.hidden)- return;const existingMember = clazz.membersArray.find(m => m.name === name && m.kind === member.kind);if (existingMember && isTypeOverride(existingMember, member)) {@@ -146,6 +147,9 @@ class ApiParser {const match = spec.text.match(/(param|option): (.*)/);if (!match)throw `Something went wrong with matching ${spec.text}`;+ const metainfo = extractMetainfo(spec);+ if (metainfo.hidden)+ return null;// For "test.describe.only.title":// - className is "test"