mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix selectors in integration test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
0d451f31a4
commit
b5c3e29ad2
@ -113,13 +113,13 @@ utils.describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => {
|
||||
await frame.waitForSelector(".LogList .list span.active");
|
||||
|
||||
const showTimestampsButton = await frame.waitForSelector(
|
||||
".LogControls .show-timestamps",
|
||||
"[data-testid='log-controls'] .show-timestamps",
|
||||
);
|
||||
|
||||
await showTimestampsButton.click();
|
||||
|
||||
const showPreviousButton = await frame.waitForSelector(
|
||||
".LogControls .show-previous",
|
||||
"[data-testid='log-controls'] .show-previous",
|
||||
);
|
||||
|
||||
await showPreviousButton.click();
|
||||
|
||||
@ -38,7 +38,7 @@ export const LogControls = observer(({ model }: LogControlsProps) => {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={styles.controls}>
|
||||
<div className={styles.controls} data-testid="log-controls">
|
||||
<div>
|
||||
{since && (
|
||||
<span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user