From 5a136719757c7fbf00f47f06c32bbde26efa2e80 Mon Sep 17 00:00:00 2001 From: Jarsen <31397967+Jarsen136@users.noreply.github.com> Date: Wed, 1 Nov 2023 21:57:37 +0800 Subject: [PATCH] fix: Remove "beta" from Chain selection menu options + reorder --- libs/static/src/chains.ts | 6 +++--- libs/static/src/names.ts | 4 ++-- tests/e2e/createcollection.spec.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/static/src/chains.ts b/libs/static/src/chains.ts index aaee50c937..e93b4e03c0 100644 --- a/libs/static/src/chains.ts +++ b/libs/static/src/chains.ts @@ -42,13 +42,13 @@ export const CHAINS: Config = { export const DEFAULT_PREFIX: Prefix = 'ksm' export const chainPrefixes: Prefix[] = [ - 'bsx', + 'ahp', + 'ahk', 'rmrk', 'snek', 'ksm', - 'ahk', 'dot', - 'ahp', + 'bsx', // 'movr', // 'glmr', ] diff --git a/libs/static/src/names.ts b/libs/static/src/names.ts index b6f4c62018..74bfa4f975 100644 --- a/libs/static/src/names.ts +++ b/libs/static/src/names.ts @@ -5,9 +5,9 @@ export const NAMES: Record = { rmrk: 'Kusama', ksm: 'RMRK2', snek: 'Snek [Rococo]', - ahk: 'KusamaHub [Beta]', + ahk: 'KusamaHub', dot: 'Polkadot', - ahp: 'PolkadotHub [Beta]', + ahp: 'PolkadotHub', // glmr: 'Moonbeam [Beta]', // movr: 'Moonriver [Beta]', } diff --git a/tests/e2e/createcollection.spec.ts b/tests/e2e/createcollection.spec.ts index 6eadc2dd14..aa3b5853fe 100644 --- a/tests/e2e/createcollection.spec.ts +++ b/tests/e2e/createcollection.spec.ts @@ -41,7 +41,7 @@ test('Check if chain change works using the dropdown', async ({ page }) => { await expect(page.getByTestId('mockAddress')).toHaveText('true') await page.goto('/create/collection') expect(page.getByTestId('collection-chain')).toBeVisible() - await page.getByTestId('collection-chain').selectOption('KusamaHub [Beta]') + await page.getByTestId('collection-chain').selectOption('KusamaHub') //Check if balances and deposits shows await expect(page.getByTestId('collection-deposit')).toBeVisible({ timeout: 30000,