Test: Added expect to Dockerfile and made sure pagination test worked in docker

This commit is contained in:
Olof hagsand 2022-03-14 14:17:32 +01:00
parent e0f5472161
commit 159ac0a2d7
6 changed files with 14 additions and 9 deletions

View file

@ -163,8 +163,11 @@ if [ -n "$(type expect 2> /dev/null)" ]; then
testrun_start "/es:audit-logs/es:audit-log"
newtest "CLI scroll test using expect"
new "CLI scroll test using expect"
expect ./test_pagination_expect.exp "$cfg" "$xpath" bob3 bob4
if [ $? -ne 0 ]; then
err1 "Failed: CLI show paginate state scroll using expect"
fi
testrun_stop