From 695bc2cf08ae84f12d731c3bc8e17197f3a3478e Mon Sep 17 00:00:00 2001 From: Ahmed Etefy Date: Mon, 21 Jun 2021 15:25:57 +0200 Subject: [PATCH] Fixed incorrect span check --- packages/ember/tests/acceptance/sentry-performance-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ember/tests/acceptance/sentry-performance-test.js b/packages/ember/tests/acceptance/sentry-performance-test.js index 892d4d0992c3..2293ee8230f5 100644 --- a/packages/ember/tests/acceptance/sentry-performance-test.js +++ b/packages/ember/tests/acceptance/sentry-performance-test.js @@ -30,7 +30,7 @@ function assertSentryCall(assert, callNumber, options) { // FIXME: For some reason, the last `afterRender` and `destroy` run queue event are not always called. // This is not a blocker, but should be investigated and fixed, as this is the expected output. - if (event.spans[event.spans.length - 1] !== 'ember.runloop.afterRender | undefined') { + if (event.spans[event.spans.length - 1] === 'ember.runloop.render | undefined') { event.spans.push('ember.runloop.afterRender | undefined'); } if (event.spans[event.spans.length - 1] !== 'ember.runloop.destroy | undefined') {