Skip to content

Commit

Permalink
Remove transferable and comment out e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
ayumitk committed Nov 20, 2023
1 parent 6c37174 commit 787a3bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/components/assets/NativeAssetList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
<div class="expand-container">
<div :id="isExpand ? 'asset-expand' : 'asset-expand-close'" class="rows--expand">
<!-- Transferable -->
<div class="row--expand">
<!-- <div class="row--expand">
<div class="row--expand__info">
<div class="column--label text--label">{{ $t('assets.transferable') }}</div>
<div class="column--balance">
Expand Down Expand Up @@ -179,7 +179,7 @@
</button>
</router-link>
</div>
</div>
</div> -->

<!-- Vesting -->
<div class="row--expand">
Expand Down
14 changes: 7 additions & 7 deletions tests/test_specs/assets.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ test.describe('account panel', () => {
await expect(page.locator('.noti-content')).toBeVisible();
});

test('account expander works', async ({ page }) => {
await page.locator('.icon--expand').first().click();
const transferButton = page.locator('#asset-expand').getByRole('button', { name: 'Transfer' });
await expect(transferButton).toBeVisible();
// test('account expander works', async ({ page }) => {
// await page.locator('.icon--expand').first().click();
// const transferButton = page.locator('#asset-expand').getByRole('button', { name: 'Transfer' });
// await expect(transferButton).toBeVisible();

await page.locator('.icon--expand').first().click();
await expect(transferButton).not.toBeVisible();
});
// await page.locator('.icon--expand').first().click();
// await expect(transferButton).not.toBeVisible();
// });
});

0 comments on commit 787a3bd

Please sign in to comment.