-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(e2e): create account in wallet (#2845)
- Loading branch information
1 parent
0d702ff
commit 824f91e
Showing
5 changed files
with
137 additions
and
13 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
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,17 @@ | ||
import { test } from '@kadena-dev/e2e-base/src/fixtures/shared/test.fixture'; | ||
import { expect } from '@playwright/test'; | ||
|
||
test('Create account', async ({ initiator, chainweaverApp }) => { | ||
await test.step('setup', async () => { | ||
await chainweaverApp.setup(initiator); | ||
}); | ||
|
||
await test.step('create account', async () => { | ||
await initiator.goto('/'); | ||
await chainweaverApp.selectNetwork(initiator, 'Development'); | ||
|
||
const result = await chainweaverApp.createAccount(initiator); | ||
|
||
expect(result).toEqual(true); | ||
}); | ||
}); |
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