-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e484d6
commit 796e6ad
Showing
45 changed files
with
542 additions
and
1,969 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,4 +59,4 @@ | |
"karma-jasmine-html-reporter": "~1.7.0", | ||
"typescript": "~4.9.5" | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -5,8 +5,7 @@ | |
"license": "MIT", | ||
"workspaces": [ | ||
"examples/*", | ||
"packages/*", | ||
"tests/*" | ||
"packages/*" | ||
], | ||
"scripts": { | ||
"build": "turbo run build", | ||
|
@@ -54,4 +53,4 @@ | |
"typescript": "4.9.5" | ||
}, | ||
"packageManager": "[email protected]" | ||
} | ||
} |
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
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
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
8 changes: 4 additions & 4 deletions
8
...reens/onboarding/CompletedWalletScreen.ts → ...c/extension/flows/CompletedWalletFlows.ts
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,36 @@ | ||
import { By } from 'selenium-webdriver'; | ||
import { extension } from '../selenium/WebDriver'; | ||
|
||
const connectWallet = async () => { | ||
// Click connect button | ||
const vdkButtonShadowRoot = await extension.driver | ||
.findElement(By.css('vdk-button')) | ||
.getShadowRoot(); | ||
const connectButton = await vdkButtonShadowRoot.findElement( | ||
By.css('vdk-connect-button'), | ||
); | ||
const connectButtonShadowRoot = await connectButton.getShadowRoot(); | ||
const button = await connectButtonShadowRoot.findElement(By.css('button')); | ||
await button.click(); | ||
|
||
// // Click veworld source | ||
const vdkModalShadowRoot = await extension.driver | ||
.findElement(By.css('vdk-modal')) | ||
.getShadowRoot(); | ||
const vdkConnectModal = await vdkModalShadowRoot.findElement( | ||
By.css('vdk-connect-modal'), | ||
); | ||
const vdkBaseModalShadowRoot = await vdkConnectModal.getShadowRoot(); | ||
const vdkSourceCard = await vdkBaseModalShadowRoot.findElements( | ||
By.css('vdk-source-card'), | ||
); | ||
const vdkSourceCardShadowRoot = await vdkSourceCard[0].getShadowRoot(); | ||
const cardButton = await vdkSourceCardShadowRoot.findElement( | ||
By.css('button'), | ||
); | ||
await cardButton.click(); | ||
}; | ||
|
||
export default { | ||
connectWallet, | ||
}; |
4 changes: 2 additions & 2 deletions
4
.../e2e/src/extension/flows/DashboardFlow.ts → ...e2e/src/extension/flows/DashboardFlows.ts
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 was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
...n/screens/onboarding/FirstAccessScreen.ts → ...e/src/extension/flows/FirstAccessFlows.ts
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
10 changes: 5 additions & 5 deletions
10
...s/onboarding/ImportLocalMnemonicScreen.ts → ...tension/flows/ImportLocalMnemonicFlows.ts
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
Oops, something went wrong.