This is a demo to show how simple it is to create UI tests with SeleniumHQ based on Zalenium.
To try it out you need Python3 and virtualenv and Docker. Download/clone this repo and run run-tests.sh
.
#!/bin/bash | |
# | |
# search for .m2ts, .mov, .mp4 files and convert them to .m4v files with HandBrake | |
# search in current dir or in files/folders given as args | |
if [[ "$*" == *--help* ]] ; then | |
cat <<EOF | |
Usage: $0 [path or file] ... | |
Convert all .m2ts, .mov, .mp4 videos in given paths or files |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
annotations: | |
labels: | |
app: webdav | |
name: webdav | |
spec: | |
replicas: 1 | |
revisionHistoryLimit: 0 |
Some scripts to help with DEB Repo Management. | |
See http://blog.schlomo.schapiro.org/2013/04/how-to-create-debianubuntu-repository.html for how to use this. |
# This rsh wrapper supports reporting the exit code of the remote program. | |
# Assumes that remote shell is Bash or compatible and that you don't call | |
# exit directly (that would yield a return 127 regardless of the remote | |
# exit code!) | |
# | |
# Written by Schlomo Schapiro @ ImmobilienScout24 | |
# Licensed under the GNU General Public License, see http://www.gnu.org/licenses/gpl.html for full text | |
# | |
function rsh { | |
local res=$( |
This is a demo to show how simple it is to create UI tests with SeleniumHQ based on Zalenium.
To try it out you need Python3 and virtualenv and Docker. Download/clone this repo and run run-tests.sh
.
Copyright 2017 Schlomo Schapiro / Zalando SE | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE O |
# BUG proof for VirtualBox vagrant with centos/7 failing to run autorelabel | |
# | |
# before starting install the reload plugin with: vagrant plugin install vagrant-reload | |
# | |
# see the bug: vagrant up | |
# destroy VM: vagrant destroy -f | |
# see the fix (disable serial console): FIX=1 vagrant up | |
# | |
# destroy VM: vagrant destroy -f |
function aws_mfa { | |
if [[ -z "$AWS_ACCESS_KEY_ID" ]] ; then | |
echo "Please set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY" | |
return 1 | |
fi | |
if [[ -z "$REAL_AWS_ACCESS_KEY_ID" ]] ; then | |
REAL_AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID | |
REAL_AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY | |
fi |
[main] | |
enabled=1 |
I hereby claim:
To claim this, I am signing this object: