aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-04-06 00:31:44 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-04-07 11:44:35 +0200
commit081f7c8f4c95e33114fba9b63beb79cc21a9a0af (patch)
tree66fc9ded52a1e5c142217c29b8a40cc6973d0358
parent0bf6adc8865922b1adee9f05933771e8a53e500c (diff)
downloadpasst-081f7c8f4c95e33114fba9b63beb79cc21a9a0af.tar
passt-081f7c8f4c95e33114fba9b63beb79cc21a9a0af.tar.gz
passt-081f7c8f4c95e33114fba9b63beb79cc21a9a0af.tar.bz2
passt-081f7c8f4c95e33114fba9b63beb79cc21a9a0af.tar.lz
passt-081f7c8f4c95e33114fba9b63beb79cc21a9a0af.tar.xz
passt-081f7c8f4c95e33114fba9b63beb79cc21a9a0af.tar.zst
passt-081f7c8f4c95e33114fba9b63beb79cc21a9a0af.zip
test/lib: Consistent cols, rows, poster attributes for asciinema player
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rwxr-xr-xtest/lib/perf_report2
-rwxr-xr-xtest/lib/video2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/perf_report b/test/lib/perf_report
index f1d3ab9..b4fa685 100755
--- a/test/lib/perf_report
+++ b/test/lib/perf_report
@@ -117,7 +117,7 @@ for (var i = 0; i < perf_links.length; i++) {
ci_player.dispose();
ci_player = AsciinemaPlayer.create("/builds/latest/web/ci.cast",
ci_video,
- { startAt: seek, autoplay: true });
+ { cols: 240, rows: 51, poster: "npt:999:0", startAt: seek, autoplay: true });
window.scrollTo({ top: top, behavior: "smooth" })
}, false);
diff --git a/test/lib/video b/test/lib/video
index 70a6359..22e73bb 100755
--- a/test/lib/video
+++ b/test/lib/video
@@ -48,7 +48,7 @@ for (var i = 0; i < video___VIDEO_NAME__links.length; i++) {
__VIDEO_NAME___player = AsciinemaPlayer.create(
"/builds/latest/web/__VIDEO_NAME__.cast",
__VIDEO_NAME___div,
- { startAt: seek, autoplay: true });
+ { cols: 240, rows: 51, poster: "npt:999:0", startAt: seek, autoplay: true });
window.scrollTo({ top: top, behavior: "smooth" })
}, false);