#!/bin/bash -e types=("MySQLi" "MySQL (PDO)" "MySQLi" "MySQL (PDO)" "PostgreSQL (PDO)") hosts=("fd00::7" "fd00::7" "fd00::7" "fd00::7" "fd00::7") ports=("4711" "4711" "4712" "4712" "4713") for i in "${!types[@]}"; do echo "TESTING type=[${types[$i]}] host=[${hosts[$i]}] port=[${ports[$i]}]" docker exec jbt_cypress bash -c "sed -i -e \"s|db_type: '.*'|db_type: '${types[$i]}'|\" \ -e \"s|db_host: '.*'|db_host: '${hosts[$i]}'|\" \ -e \"s|db_port: '.*'|db_port: '${ports[$i]}'|\" /jbt/branch_52/cypress.config.mjs" scripts/test 52 system novnc tests/System/integration/install/Installation.cy.js,tests/System/integration/administrator/components/com_banners/Banner.cy.js done