We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5d9ec7 commit 495738aCopy full SHA for 495738a
e2e/specs/stateless/ownership.spec.ts
@@ -1175,7 +1175,8 @@ test.describe('Extend name', () => {
1175
await extendNamesModal.getExtendButton.click()
1176
await transactionModal.autoComplete()
1177
const newTimestamp = await ownershipPage.getExpiryTimestamp()
1178
- expect(newTimestamp).toEqual(timestamp + 31536000000)
+ // Allow 1 day tolerance for leap year differences
1179
+ expect(Math.abs(newTimestamp - timestamp - 31536000000)).toBeLessThanOrEqual(86400000)
1180
})
1181
1182
0 commit comments