aboutgitcodebugslistschat
path: root/test/lib/perf_report
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-02-23 10:48:49 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-02-23 13:21:52 +0100
commit08b7a2ec3885191b125afcccec7f662fc1617156 (patch)
tree92912d14b61e9ed69658ce25ba0a3e404c70b400 /test/lib/perf_report
parentc47d9f7ee00505b3af83e059c9401be8a4e94bbc (diff)
downloadpasst-08b7a2ec3885191b125afcccec7f662fc1617156.tar
passt-08b7a2ec3885191b125afcccec7f662fc1617156.tar.gz
passt-08b7a2ec3885191b125afcccec7f662fc1617156.tar.bz2
passt-08b7a2ec3885191b125afcccec7f662fc1617156.tar.lz
passt-08b7a2ec3885191b125afcccec7f662fc1617156.tar.xz
passt-08b7a2ec3885191b125afcccec7f662fc1617156.tar.zst
passt-08b7a2ec3885191b125afcccec7f662fc1617156.zip
test: Fix name of CI asciinema player in perf links handler
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/perf_report')
-rwxr-xr-xtest/lib/perf_report9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/lib/perf_report b/test/lib/perf_report
index 9117046..f1d3ab9 100755
--- a/test/lib/perf_report
+++ b/test/lib/perf_report
@@ -114,11 +114,10 @@ for (var i = 0; i < perf_links.length; i++) {
}
event.preventDefault();
- ci_video_player.dispose();
- ci_video_player = AsciinemaPlayer.create(
- "/builds/latest/web/ci.cast",
- ci_video,
- { startAt: seek, autoplay: true });
+ ci_player.dispose();
+ ci_player = AsciinemaPlayer.create("/builds/latest/web/ci.cast",
+ ci_video,
+ { startAt: seek, autoplay: true });
window.scrollTo({ top: top, behavior: "smooth" })
}, false);