Skip to content

Commit

Permalink
修改超时时间又变成默认的
Browse files Browse the repository at this point in the history
  • Loading branch information
xu11 committed Aug 9, 2024
1 parent cbf7ffd commit e0b0019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/e2e/__tests__/tests/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {test, expect} from "@playwright/test";
let electronApp: ElectronApplication;

test.beforeAll(async () => {
test.setTimeout(480000);
electronApp = await electron.launch({args: ["../../packages/neuron-wallet/dist/main.js"]});
await new Promise((resolve) => {
electronApp.once("window", async (page) => {
Expand Down Expand Up @@ -166,7 +167,6 @@ test.describe('overview page tests', () => {
await page.locator("id=amount").fill("103.5");
console.log('输入金额成功');
await page.screenshot({path: "./test-results/send_transaction_4.png"});
test.setTimeout(480000);
// await page.waitForTimeout(420000);
await page.screenshot({path: "./test-results/7min-sync.png"});
await page.getByRole('button', {name: 'Send'}).click();
Expand Down

0 comments on commit e0b0019

Please sign in to comment.