-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dentity-cleanup' into dentity-integration
- Loading branch information
Showing
145 changed files
with
3,147 additions
and
4,044 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Knip | ||
|
||
on: [push] | ||
|
||
jobs: | ||
knip: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install pnpm | ||
run: corepack enable pnpm | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'pnpm' | ||
|
||
- run: pnpm install --frozen-lockfile | ||
|
||
- run: pnpm knip |
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 |
---|---|---|
|
@@ -63,8 +63,6 @@ tsconfig.vitest-temp.json | |
/archives | ||
/data | ||
/test-environment | ||
/ganache | ||
|
||
# hardhat | ||
/cache | ||
/artifacts | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
18.18.2 | ||
20.13.1 |
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 |
---|---|---|
|
@@ -9,7 +9,6 @@ artifacts | |
cache | ||
coverage | ||
data | ||
ganache | ||
out | ||
subgraphs | ||
|
||
|
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
File renamed without changes.
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 |
---|---|---|
|
@@ -104,6 +104,36 @@ test.describe('profile', () => { | |
await expect(profilePage.record('text', 'email')).toHaveText('[email protected]') | ||
await expect(profilePage.contentHash()).toContainText('ipfs://bafybeic...') | ||
}) | ||
|
||
test('should redirect to profile tab if tab specified in query string does not exist', async ({ | ||
page, | ||
login, | ||
makeName, | ||
makePageObject, | ||
}) => { | ||
const name = await makeName({ | ||
label: 'profile', | ||
type: 'legacy', | ||
records: await makeRecords(), | ||
}) | ||
|
||
const profilePage = makePageObject('ProfilePage') | ||
|
||
await profilePage.goto(name) | ||
await login.connect() | ||
|
||
await page.goto(`/${name}?tab=customTab`) | ||
|
||
await expect(page).toHaveURL(`/${name}`) | ||
|
||
await page.pause() | ||
await expect(profilePage.record('text', 'description')).toHaveText('Hello2') | ||
await expect(profilePage.record('text', 'url')).toHaveText('twitter.com') | ||
await expect(profilePage.record('address', 'btc')).toHaveText('bc1qj...pwa6n') | ||
await expect(profilePage.record('address', 'etcLegacy')).toHaveText('etcLegacy0x3C4...293BC') | ||
await expect(profilePage.record('text', 'email')).toHaveText('[email protected]') | ||
await expect(profilePage.contentHash()).toContainText('ipfs://bafybeic...') | ||
}) | ||
}) | ||
|
||
test.describe('migrations', () => { | ||
|
Oops, something went wrong.