Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✅ fix clearing cookies between tests #2780

Merged
merged 1 commit into from
May 24, 2024
Merged

Conversation

BenoitZugmeyer
Copy link
Member

Motivation

Unit tests were failing because the cookies were not correctly cleared prior to some tests (see https://gitlab.ddbuild.io/DataDog/browser-sdk/-/jobs/518528355)

Changes

Clear cookies before tests rather than after.

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@BenoitZugmeyer BenoitZugmeyer requested a review from a team as a code owner May 24, 2024 12:51
@BenoitZugmeyer BenoitZugmeyer merged commit 4f02fa5 into main May 24, 2024
20 checks passed
@BenoitZugmeyer BenoitZugmeyer deleted the benoit/fix-flacky-tests branch May 24, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants