mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Fix spelling of helper function
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
bfb2b8e659
commit
4fb21af57b
@ -27,7 +27,7 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => {
|
|||||||
({ window, cleanup } = await utils.start());
|
({ window, cleanup } = await utils.start());
|
||||||
await utils.clickWelcomeButton(window);
|
await utils.clickWelcomeButton(window);
|
||||||
|
|
||||||
frame = await utils.lauchMinikubeClusterFromCatalog(window);
|
frame = await utils.launchMinikubeClusterFromCatalog(window);
|
||||||
}, 10 * 60 * 1000);
|
}, 10 * 60 * 1000);
|
||||||
|
|
||||||
afterEach(async () => {
|
afterEach(async () => {
|
||||||
@ -86,7 +86,7 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => {
|
|||||||
10 * 60 * 1000,
|
10 * 60 * 1000,
|
||||||
);
|
);
|
||||||
|
|
||||||
it(
|
it.only(
|
||||||
`should create the ${TEST_NAMESPACE} and a pod in the namespace and then remove that pod via the context menu`,
|
`should create the ${TEST_NAMESPACE} and a pod in the namespace and then remove that pod via the context menu`,
|
||||||
async () => {
|
async () => {
|
||||||
await navigateToNamespaces(frame);
|
await navigateToNamespaces(frame);
|
||||||
|
|||||||
@ -116,7 +116,7 @@ function minikubeEntityId() {
|
|||||||
/**
|
/**
|
||||||
* From the catalog, click the minikube entity and wait for it to connect, returning its frame
|
* From the catalog, click the minikube entity and wait for it to connect, returning its frame
|
||||||
*/
|
*/
|
||||||
export async function lauchMinikubeClusterFromCatalog(window: Page): Promise<Frame> {
|
export async function launchMinikubeClusterFromCatalog(window: Page): Promise<Frame> {
|
||||||
await window.click("div.TableCell >> text='minikube'");
|
await window.click("div.TableCell >> text='minikube'");
|
||||||
|
|
||||||
const minikubeFrame = await window.waitForSelector(`#cluster-frame-${minikubeEntityId()}`);
|
const minikubeFrame = await window.waitForSelector(`#cluster-frame-${minikubeEntityId()}`);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user