Skip to content

Commit

Permalink
Tests: Reliability fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicjansma committed Aug 31, 2020
1 parent d545ce8 commit 183d24f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/page-templates/05-angular/03-ng-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe("e2e/05-angular/03-ng-app", function() {

it("Should take as long as the longest img load (if MutationObserver and NavigationTiming are supported)", function() {
if (t.isMutationObserverSupported() && typeof BOOMR.plugins.RT.navigationStart() !== "undefined") {
t.validateBeaconWasSentAfter(0, "img.jpg", 100, 3000, 30000, true);
t.validateBeaconWasSentAfter(0, "img.jpg", 200, 3000, 30000, true);
}
});

Expand All @@ -32,7 +32,7 @@ describe("e2e/05-angular/03-ng-app", function() {

it("Should take as long as the XHRs (if MutationObserver is not supported but NavigationTiming is)", function() {
if (!t.isMutationObserverSupported() && typeof BOOMR.plugins.RT.navigationStart() !== "undefined") {
t.validateBeaconWasSentAfter(0, "widgets.json", 100, 0, 30000, true);
t.validateBeaconWasSentAfter(0, "widgets.json", 200, 0, 30000, true);
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ <h1>34-keep-going-api-beacon</h1>
BOOMR_test.init({
testAfterOnBeacon: true,
Continuity: {
enabled: true
enabled: true,
waitAfterOnload: 3000
},
onBoomerangLoaded: function() {
// Force another beacon type to go out
Expand Down

0 comments on commit 183d24f

Please sign in to comment.