From 081f7c8f4c95e33114fba9b63beb79cc21a9a0af Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Wed, 6 Apr 2022 00:31:44 +0200 Subject: test/lib: Consistent cols, rows, poster attributes for asciinema player Signed-off-by: Stefano Brivio --- test/lib/perf_report | 2 +- test/lib/video | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/lib') 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); -- cgit v1.2.3