Skip to content

Commit 7eee163

Browse files
committed
fix(e2e): conditionally register payment delegation tests for non-dev networks
1 parent f89c653 commit 7eee163

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

packages/e2e/src/e2e.spec.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ describe('all', () => {
174174
});
175175
});
176176

177-
describe('Tickets', () => {
178-
registerPaymentDelegationTicketSuite();
179-
});
177+
if (process.env['NETWORK'] !== 'naga-dev') {
178+
describe('paid networks only', () => {
179+
registerPaymentDelegationTicketSuite();
180+
});
181+
}
180182
});

packages/e2e/src/tickets/delegation.suite.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function registerPaymentDelegationTicketSuite() {
4848
restrictions: {
4949
totalMaxPriceInWei: '1000000000000000000',
5050
requestsPerPeriod: '100',
51-
periodSeconds: '10',
51+
periodSeconds: '60',
5252
},
5353
userAddresses: [bobAccount.account.address],
5454
},

0 commit comments

Comments
 (0)