Skip to content

Commit

Permalink
调试无法send-02
Browse files Browse the repository at this point in the history
  • Loading branch information
xu11 committed Aug 14, 2024
1 parent d665a12 commit 2b45265
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions packages/e2e/__tests__/tests/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,9 @@ test.describe('overview page tests', () => {
await page.getByRole('button', {name: 'Confirm'}).click();
console.log('点击确认成功');
await page.screenshot({path: "./test-results/after_confirm.png"});

await page.waitForTimeout(480000);
await page.waitForTimeout(10000);
await page.screenshot({path: "./test-results/after_8min.png"});
await expect(page.getByText('Success').first()).toBeVisible();
await expect(page.getByText('Success').first()).toBeVisible({timeout:480000});
console.log('发送交易成功!');
});

Expand Down
4 changes: 2 additions & 2 deletions packages/neuron-wallet/src/services/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ export default class SettingsService extends Store {
'',
'settings.json',
JSON.stringify({
// locale: app.getLocale(),
locale: 'en',
locale: app.getLocale(),
// locale: 'en',
ckbDataPath: path.resolve(app.getPath('userData'), 'chains/mainnet'),
isFirstSync: true,
[settingKeys.lockWindow]: {
Expand Down

0 comments on commit 2b45265

Please sign in to comment.