mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix selector
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
1 parent
24d059f9c3
commit
cbee79176d
2 files changed
+2
-1
No files matched your search
@@ -113,7 +113,7 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
await logSearchInput.type(":");
|
await logSearchInput.type(":");
|
||||||
await frame.waitForSelector(".LogList .list span.active");
|
await frame.waitForSelector("[data-testid=search-overlay-active]");
|
||||||
|
|
||||||
const showTimestampsCheckbox = await frame.waitForSelector(
|
const showTimestampsCheckbox = await frame.waitForSelector(
|
||||||
"[data-testid='log-controls'] .show-timestamps",
|
"[data-testid='log-controls'] .show-timestamps",
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ export function LogRow({ rowIndex, model }: { rowIndex: number; model: LogTabVie
|
|||||||
? (
|
? (
|
||||||
<span
|
<span
|
||||||
className={cssNames(styles.overlay, { [styles.active]: active })}
|
className={cssNames(styles.overlay, { [styles.active]: active })}
|
||||||
|
data-testid={active ? "search-overlay-active" : "search-overlay"}
|
||||||
dangerouslySetInnerHTML={{ __html: ansiToHtml(overlayValue) }}
|
dangerouslySetInnerHTML={{ __html: ansiToHtml(overlayValue) }}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user