Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Remove retries for testcafe tests but increase timeout. Wait f…
…or lag in parallel (#1380) * Bump typescript version to 5.5 and also bump related libraries * Remove retries but increase timeout * Wrap in Selector * Add console log saying how long it took to get results * Add "after" query param * Add max allowed api errors * Stop on first fail * Make testSessionId more readable, change ingestion endpoint * Don't use uuidv7 * Pass env vars as dependencies * Improve test namr * Fix typo * Typo * only assert that custom-event was seen * try using a different distinct_id * undo changes, look for all events * use successfunction to look for custom-event in response * Move asserts to a later step in the CI so that ingestion lag can be in parallel * Tidy up deps Move ts-node to dev deps Upgrade express due to dep warning * Tidy up how results file are written and read * Use jest override * Fix complaining about timeout and interval types * WIP * Override testcafe's typescript compiler * Revert check script to js * Sanitise file names * Correctly named script * Some more debuggability * Add a script to make it easier to run locally * Add some debugging * Fix check file * Revert changes to wait duration * Move waits around * Add assertion for whether the snippet has loaded * Revert the assertion event count * Re-add missing asserts * Remove some unused stuff * Be more specific about test files * Fix url * Disable request batching * Rewrite the retry loop to do an attempt immediately * Assert on the number of captures * Fix event count assert * Add captures map * Test * Fix captures * Fix first assert * Fix other asserts * Fix deadline * Increase timeout to 30 minutes * Use optional catch binding syntax * Add an explainer comment * Remove unnecessary hackiness * Slightly improve the hackiness even more --------- Co-authored-by: Phani Raj <[email protected]>
- Loading branch information