49b50d632b
XPath to expected element was changed after Kibana upgrade, this commit changes XPath according chnges in new Kibana. Change-Id: I501de225e1226991db9c263cedf38397cda7b51f
17 lines
767 B
Bash
Executable File
17 lines
767 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -xe
|
|
|
|
export CHROMEDRIVER="${CHROMEDRIVER:="/etc/selenium/chromedriver"}"
|
|
export ARTIFACTS_DIR="${ARTIFACTS_DIR:="/tmp/artifacts/"}"
|
|
|
|
export KIBANA_USER="admin"
|
|
export KIBANA_PASSWORD="changeme"
|
|
export KIBANA_URI="kibana.osh-infra.svc.cluster.local"
|
|
|
|
export KERNEL_QUERY="discove?r_g=()&_a=(columns:!(_source),index:'kernel*',interval:auto,query:(language:kuery,query:''),sort:!('@timestamp',desc))"
|
|
export JOURNAL_QUERY="discove?r_g=()&_a=(columns:!(_source),index:'journal*',interval:auto,query:(language:kuery,query:''),sort:!('@timestamp',desc))"
|
|
export LOGSTASH_QUERY="discove?r_g=()&_a=(columns:!(_source),index:'logstash*',interval:auto,query:(language:kuery,query:''),sort:!('@timestamp',desc))"
|
|
|
|
python3 tools/gate/selenium/kibanaSelenium.py
|