Skip to content

Commit

Permalink
feat: rename ignition network to fuel sepolia testnet (#1328)
Browse files Browse the repository at this point in the history
Rename ignition network to `Fuel Sepolia Testnet`.

| 📷  |
| --- |
| <img width="384" alt="Screenshot 2024-05-31 at 14 05 31"
src="https://github.com/FuelLabs/fuels-wallet/assets/7074983/6235df60-82f6-45a2-9ff7-dc7ae17f49bc">
|
  • Loading branch information
helciofranco committed May 31, 2024
1 parent 0e74f29 commit 6e5330e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .changeset/curvy-hotels-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fuel-wallet/connections": minor
"@fuel-wallet/types": minor
"fuels-wallet": minor
---

Rename network to `Fuel Sepolia Testnet`
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "fuels-wallet",
"private": true,
"version": "0.20.0",
"database": "16",
"database": "17",
"scripts": {
"build:all": "run-s build:web build:crx build:storybook",
"build:web": "./scripts/build.sh --app=vite",
Expand Down
4 changes: 2 additions & 2 deletions packages/app/playwright/crx/crx.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ test.describe('FuelWallet Extension', () => {

// Check if added network is selected
let networkSelector = getByAriaLabel(popupPage, 'Selected Network');
await expect(networkSelector).toHaveText(/Ignition/);
await expect(networkSelector).toHaveText(/Fuel Sepolia Testnet/);

// Remove added network
await networkSelector.click();
Expand All @@ -594,7 +594,7 @@ test.describe('FuelWallet Extension', () => {

// Check if re-added network is selected
networkSelector = getByAriaLabel(popupPage, 'Selected Network');
await expect(networkSelector).toHaveText(/Ignition/);
await expect(networkSelector).toHaveText(/Fuel Sepolia Testnet/);
});

await test.step('window.fuel.on("currentAccount") to a connected account', async () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/app/playwright/e2e/Networks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ test.describe('Networks', () => {
const urlInput = getInputByName(page, 'url');
await expect(urlInput).toBeFocused();
await urlInput.fill('https://testnet.fuel.network/v1/graphql');
await hasText(page, /Ignition/i, 0, 15000);
await hasText(page, /Fuel Sepolia Testnet/i, 0, 15000);
await expect(buttonCreate).toBeEnabled();
await buttonCreate.click();
// Wait for save and close popup;
await page.waitForTimeout(2000);
await reload(page);
await hasText(page, /Ignition/i);
await hasText(page, /Fuel Sepolia Testnet/i);
});
});
4 changes: 2 additions & 2 deletions packages/app/src/systems/Core/utils/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export class FuelDB extends Dexie {
const networks = tx.table('networks');
// Clean networks
await networks.clear();
// Insert beta-5 network
// Insert testnet network
await networks.add({
name: 'Ignition',
name: 'Fuel Sepolia Testnet',
url: VITE_FUEL_PROVIDER_URL,
isSelected: true,
id: createUUID(),
Expand Down

0 comments on commit 6e5330e

Please sign in to comment.