Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #454 from PureStake/jan/sdk-1.22.0
Browse files Browse the repository at this point in the history
Bump SDK to v1.22.0
  • Loading branch information
PureBrent authored Oct 21, 2022
2 parents b3b7d5b + b39d1d7 commit 12d4dad
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"webpack-cli": "^4.9.0"
},
"dependencies": {
"algosdk": "1.19.0",
"algosdk": "1.22.0",
"buffer": "^6.0.3"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/test-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"description": "Repository for tests",
"devDependencies": {
"algosdk": "1.19.0",
"algosdk": "1.22.0",
"jest": "^28.1.0",
"jest-runner-groups": "^2.2.0",
"puppeteer": "^13.7.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/test-project/tests/common/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ async function inputPassword() {
await extensionPage.waitForSelector('#enterPassword');
await extensionPage.type('#enterPassword', wallet.password);
await extensionPage.click('#authButton');
await extensionPage.waitForFunction(() => !document.querySelector('#authButton'));
await extensionPage.waitForFunction(() => document.querySelector('#authButton') === null);
await expect(extensionPage.select('#authButton')).rejects.toThrow();
}

async function getOpenedTab() {
Expand Down
8 changes: 4 additions & 4 deletions packages/test-project/tests/ui-networks-e2e.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('Create and Test Custom Networks', () => {
const otherNet = 'OtherNet';
const otherNetSelector = `button#select${otherNet}`;

test('Add Custom TestNet and test it', async () => {
test('Add Custom TestNet proxy and test it', async () => {
// Create network
await openNetworkMenu();
await extensionPage.click('#createNetwork');
Expand Down Expand Up @@ -74,12 +74,12 @@ describe('Create and Test Custom Networks', () => {
// // Save Network
await extensionPage.waitForTimeout(1000);
await extensionPage.click('#saveNetwork:not(disabled)');
await extensionPage.waitForTimeout(2000);
await extensionPage.waitForTimeout(4000);
});

ImportAccount(accounts.ui);

test('Test Modifying Network', async () => {
test('Test Modifying Custom Network', async () => {
await openNetworkMenu();

// Change Network name
Expand All @@ -93,7 +93,7 @@ describe('Create and Test Custom Networks', () => {
await inputPassword();
});

test('Test Deleting Networks', async () => {
test('Test Deleting Custom Network', async () => {
await openNetworkMenu();

// Delete OtherNet
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@fortawesome/fontawesome-free": "^5.15.0",
"@ledgerhq/hw-app-algorand": "^5.51.1",
"@ledgerhq/hw-transport-webhid": "^5.46.0",
"algosdk": "1.19.0",
"algosdk": "1.22.0",
"buffer": "^6.0.3",
"history": "^5.0.0",
"htm": "^3.0.4",
Expand Down

0 comments on commit 12d4dad

Please sign in to comment.