-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(console): add Leap wallet extension
- Loading branch information
Showing
128 changed files
with
11,712 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { expect, selectors } from "@playwright/test"; | ||
import { test } from "./utils/fixture"; | ||
|
||
import { SSH_VM_IMAGES } from "@src/utils/sdl/data"; | ||
import { DeployHelloWorldPage } from "./pages/DeployHelloWorldPage"; | ||
|
||
test.beforeAll(async ({ page, extensionId }) => { | ||
page.waitForLoadState("domcontentloaded"); | ||
console.log("clicking seed"); | ||
selectors.setTestIdAttribute("data-testing-id"); | ||
|
||
await page.goto(`chrome-extension://${extensionId}/index.html#/onboarding`); | ||
await page.getByTestId("import-seed-phrase").click(); | ||
|
||
await page.locator(`//*[@id="root"]/div/div[2]/div/div[1]/div[1]/div/div[2]/div[1]`).click(); | ||
await page.locator("input").fill("test"); | ||
|
||
await page.pause(); | ||
|
||
selectors.setTestIdAttribute("data-testid"); | ||
}); | ||
|
||
test.only("deploy hello world", async ({ page }) => { | ||
console.log("testing"); | ||
const customTemplatePage = new DeployHelloWorldPage(page, "new-deployment", "build-template-card"); | ||
await customTemplatePage.gotoInteractive(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { DeployBasePage } from "./DeployBasePage"; | ||
|
||
export class DeployHelloWorldPage extends DeployBasePage { | ||
async fillImageName(name: string) { | ||
await this.page.getByTestId("image-name-input").fill(name); | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
apps/deploy-web/tests/utils/Leap/1134cad3abfd602654a896a5e6c6622a.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.