mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Merge branch 'master' into electron-11.4.3
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
commit
c0f788a8fa
92 files changed
+1335
-733
No files matched your search
@@ -40,7 +40,7 @@ export function minikubeReady(testNamespace: string): boolean {
|
||||
|
||||
export async function addMinikubeCluster(app: Application) {
|
||||
await (await app.client.$("button.MuiSpeedDial-fab")).waitForDisplayed();
|
||||
await app.client.elementClick("button.MuiSpeedDial-fab");
|
||||
await app.client.moveToElement("button.MuiSpeedDial-fab");
|
||||
await (await app.client.$(`button[title="Add from kubeconfig"]`)).waitForDisplayed();
|
||||
await app.client.elementClick(`button[title="Add from kubeconfig"]`);
|
||||
await app.client.waitUntilTextExists("div", "Select kubeconfig file");
|
||||
|
||||
@@ -85,7 +85,7 @@ export async function clickWhatsNew(app: Application) {
|
||||
export async function clickWelcomeNotification(app: Application) {
|
||||
const itemsText = await app.client.getElementText("div.info-panel");
|
||||
|
||||
if (itemsText === "0 item") {
|
||||
if (itemsText === "0 items") {
|
||||
// welcome notification should be present, dismiss it
|
||||
await app.client.waitUntilTextExists("div.message", "Welcome!");
|
||||
await app.client.elementClick(".notification i.Icon.close");
|
||||
|
||||
Reference in new issue
Block a user