From 23eb4de08b7aaeeeb354ac70978798fdab6e0ac2 Mon Sep 17 00:00:00 2001 From: Radu Mojic Date: Fri, 3 Nov 2023 11:52:26 +0200 Subject: [PATCH] updated cypress config to match the new devnet specs --- cypress/e2e/Dashbboard/Dashboard.cy.ts | 6 +++--- cypress/e2e/Search/enums.ts | 10 +++++----- src/config/config.multiple.ts | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cypress/e2e/Dashbboard/Dashboard.cy.ts b/cypress/e2e/Dashbboard/Dashboard.cy.ts index 1afdcafff..e33331cd2 100644 --- a/cypress/e2e/Dashbboard/Dashboard.cy.ts +++ b/cypress/e2e/Dashbboard/Dashboard.cy.ts @@ -21,9 +21,9 @@ describe('Dashboard', () => { }); cy.verifyApiResponse(ApiEndpointsEnum.stats, (xhr) => { expect(xhr?.response?.body?.accounts).to.be.at.least(3200); - expect(xhr?.response?.body?.scResults).to.be.at.least(191275); - expect(xhr?.response?.body?.blocks).to.be.at.least(14078875); - expect(xhr?.response?.body?.epoch).to.be.at.least(2947); + expect(xhr?.response?.body?.scResults).to.be.at.least(191274); + expect(xhr?.response?.body?.blocks).to.be.at.least(3333177); + expect(xhr?.response?.body?.epoch).to.be.at.least(346); expect(xhr?.response?.body?.shards).to.be.at.least(3); }); }); diff --git a/cypress/e2e/Search/enums.ts b/cypress/e2e/Search/enums.ts index 4ec735c45..2c9eeeede 100644 --- a/cypress/e2e/Search/enums.ts +++ b/cypress/e2e/Search/enums.ts @@ -1,10 +1,10 @@ export enum SearchDataEnums { address = 'erd1wgxxclk0v8xnyj0fm6hx830q77za4mf0036sjuxan7h99v4tla9q3n2mz5', - transactionHash = 'ec6babc0d7c597502c5b93a5cda39ecbaf6f1f9ac2c4fc1a8b4b11c179a330cb', - blockHash = '635523c1dca5abca8e029bdac492041e7853011f0655b567e089a96394c0d862', - validatorKey = '10696e162905998ae1ac65096091f584e6c817660f259e637e14a7edd6f71ffa26f49c672d09b348e826f7ce495d04018581bb356c4eff4f00382d42c2ba2e3e334adaf6bad5c839021a9bdc3443decb802796becc61741c59e59ef6fa5c2a14', - token = 'ASH-4ce444', - collectionName = 'HYBRIDS-859353' + transactionHash = '59ee93ecd116674d01ff38ec8296c0fba5b801ce5207c8cb3e0f012661019120', + blockHash = '5b4c94ec196b4d08429c7236bfb83e412594aaaafa7b4ca262ef2fc1e9c2cc79', + validatorKey = '03c4bdea01ea82f8fdc7a6718b54e274bf88d2268a755c2fce185165632cd4cf085023e6f3aebcf3a1c2246330135703953fa7c158cde66ccd6b3798b0d671e6f01bd6e9698de2c88c7f286b6a3e08814c538063f9e86ba8930154cc08bc9b03', + token = 'USDC-350c4e', + collectionName = 'HLSR-7039de' } export enum SearchSelectorsEnum { diff --git a/src/config/config.multiple.ts b/src/config/config.multiple.ts index 173c20b20..aefea5544 100644 --- a/src/config/config.multiple.ts +++ b/src/config/config.multiple.ts @@ -35,15 +35,15 @@ export const networks: NetworkType[] = [ apiAddress: 'https://devnet-api.multiversx.com' }, { - id: 'devnet2', - name: 'Devnet2', + id: 'devnet', + name: 'Devnet Old', chainId: 'D', adapter: 'api', theme: 'testnet', egldLabel: 'xEGLD', - walletAddress: 'https://devnet2-wallet.multiversx.com', - explorerAddress: 'https://devnet2-explorer.multiversx.com', - apiAddress: 'https://devnet2-api.multiversx.com' + walletAddress: 'https://devnet-old-wallet.multiversx.com', + explorerAddress: 'https://devnet-old-explorer.multiversx.com', + apiAddress: 'https://devnet-old-api.multiversx.com' }, // Internal Testnets