docs(NA): adds @kbn/test-subj-selector into ops devdocs (#132505)

This commit is contained in:
Tiago Costa 2022-05-20 02:30:01 +01:00 committed by GitHub
parent 04f47dda74
commit 419d4e2e59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 5 deletions

View file

@ -45,5 +45,6 @@ layout: landing
{ pageId: "kibDevDocsOpsExpect" },
{ pageId: "kibDevDocsOpsAmbientStorybookTypes" },
{ pageId: "kibDevDocsOpsAmbientUiTypes"},
{ pageId: "kibDevDocsOpsTestSubjSelector"},
]}
/>

View file

@ -200,7 +200,8 @@
{ "id": "kibDevDocsOpsJestSerializers" },
{ "id": "kibDevDocsOpsExpect" },
{ "id": "kibDevDocsOpsAmbientStorybookTypes" },
{ "id": "kibDevDocsOpsAmbientUiTypes" }
{ "id": "kibDevDocsOpsAmbientUiTypes" },
{ "id": "kibDevDocsOpsTestSubjSelector"}
]
}
]

View file

@ -18,7 +18,6 @@ filegroup(
NPM_MODULE_EXTRA_FILES = [
"package.json",
"README.md",
]
RUNTIME_DEPS = []

View file

@ -1,3 +0,0 @@
# test-subj-selector
Convert a string from test subject syntax to css selectors.

View file

@ -0,0 +1,10 @@
---
id: kibDevDocsOpsTestSubjSelector
slug: /kibana-dev-docs/ops/test-subj-selector
title: "@kbn/test-subj-selector"
description: An utility package to quickly get css selectors from strings
date: 2022-05-19
tags: ['kibana', 'dev', 'contributor', 'operations', 'test', 'subj', 'selector']
---
Converts a string from a test subject syntax into a css selectors composed by `data-test-subj`.