Skip to content

Commit

Permalink
Merge pull request #119 from lidofinance/updates
Browse files Browse the repository at this point in the history
updates
  • Loading branch information
itaven authored Feb 8, 2024
2 parents e52e921 + 6121acc commit ed0b2e0
Show file tree
Hide file tree
Showing 16 changed files with 2 additions and 372 deletions.
2 changes: 1 addition & 1 deletion packages/wallets/src/metamask/metamask.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export class MetamaskPage implements WalletPage {
async confirmTx(page: Page, setAggressiveGas?: boolean) {
await test.step('Confirm TX', async () => {
if (setAggressiveGas) {
await page.getByTestId('edit-gas-fee-button').click();
await page.getByTestId('edit-gas-fee-icon').click();
await page.getByTestId('edit-gas-fee-item-high').click();
}
await page.click('text=Confirm');
Expand Down
1 change: 1 addition & 0 deletions packages/widgets/src/ethereum/ethereum.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export class EthereumPage implements WidgetPage {

async doStaking(walletPage: WalletPage) {
await test.step('Do staking', async () => {
await this.page.waitForTimeout(4000);
await this.page.fill(
'input[type=text]',
String(this.stakeConfig.stakeAmount),
Expand Down
3 changes: 0 additions & 3 deletions packages/widgets/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@ export * from './widgets.constants';
export * from './widgets.page';
export * from './ethereum';
export * from './polygon';
export * from './kusama';
export * from './polkadot';
export * from './solana';
2 changes: 0 additions & 2 deletions packages/widgets/src/kusama/index.ts

This file was deleted.

14 changes: 0 additions & 14 deletions packages/widgets/src/kusama/kusama.constants.ts

This file was deleted.

72 changes: 0 additions & 72 deletions packages/widgets/src/kusama/kusama.page.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/widgets/src/polkadot/index.ts

This file was deleted.

13 changes: 0 additions & 13 deletions packages/widgets/src/polkadot/polkadot.constants.ts

This file was deleted.

72 changes: 0 additions & 72 deletions packages/widgets/src/polkadot/polkadot.page.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/widgets/src/solana/index.ts

This file was deleted.

10 changes: 0 additions & 10 deletions packages/widgets/src/solana/solana.constants.ts

This file was deleted.

68 changes: 0 additions & 68 deletions packages/widgets/src/solana/solana.page.ts

This file was deleted.

6 changes: 0 additions & 6 deletions wallets-testing/browser/browser.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ import {
} from '@lidofinance/wallets-testing-wallets';
import {
EthereumPage,
KusamaPage,
PolkadotPage,
PolygonPage,
SolanaPage,
} from '@lidofinance/wallets-testing-widgets';

export const WALLET_PAGES = {
Expand All @@ -30,7 +27,4 @@ export const WALLET_PAGES = {
export const WIDGET_PAGES = {
ethereum: EthereumPage,
polygon: PolygonPage,
kusama: KusamaPage,
polkadot: PolkadotPage,
solana: SolanaPage,
};
31 changes: 0 additions & 31 deletions wallets-testing/test/widgets/kusama.spec.ts

This file was deleted.

31 changes: 0 additions & 31 deletions wallets-testing/test/widgets/polkadot.spec.ts

This file was deleted.

Loading

0 comments on commit ed0b2e0

Please sign in to comment.