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

[RUMF-729] validate rum events in e2e #597

Merged
merged 3 commits into from
Nov 2, 2020
Merged

[RUMF-729] validate rum events in e2e #597

merged 3 commits into from
Nov 2, 2020

Conversation

bcaudan
Copy link
Contributor

@bcaudan bcaudan commented Oct 30, 2020

Motivation

With migration of different event types to v2 format, validate events generated during e2e tests.

Changes

  • use v2 format in e2e tests
  • add validation in tearDown

Testing

automated tests


I have gone over the contributing documentation.

@bcaudan bcaudan requested a review from a team as a code owner October 30, 2020 15:48
@@ -20,7 +20,7 @@
"no-implicit-dependencies": [
true,
"dev",
["@datadog/browser-logs", "@datadog/browser-rum", "@datadog/browser-core"]
["@datadog/browser-logs", "@datadog/browser-rum", "@datadog/browser-core", "ajv"]
Copy link
Member

@BenoitZugmeyer BenoitZugmeyer Nov 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FMU, ajv is installed because it is listed in the rum workspace dependencies, and hoisted in the root node_modules folder. Why not listing ajv as a root package.json dependency? We could either keep or remove it from rum dependencies.

@codecov-io
Copy link

Codecov Report

Merging #597 into master will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #597      +/-   ##
==========================================
+ Coverage   88.14%   88.18%   +0.04%     
==========================================
  Files          52       52              
  Lines        2472     2472              
  Branches      526      526              
==========================================
+ Hits         2179     2180       +1     
+ Misses        293      292       -1     
Impacted Files Coverage Δ
packages/rum/src/browser/performanceCollection.ts 64.28% <0.00%> (+1.42%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 50e431d...4bbf4ac. Read the comment docs.

@bcaudan bcaudan merged commit 7f7bf50 into master Nov 2, 2020
@bcaudan bcaudan deleted the bcaudan/e2e-v2 branch November 2, 2020 13:43
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