OpenMetadata/bin/initAndIngest.sh
parthp2107 bfe3d86583
git workflow for selenium tests (#945)
* Create selenium-tests.yml

* Update selenium-tests.yml

* added dependency and configured testng.xml in pom

* removing testng config

* headless browers, testng to junit

* removed webDriverManager

* removed webDriverManager

* testing commit

* pushing all tests

* end-to-end tests

* changed workflow for proper test running order

* checking docker build

* printing logs for testing

* reformatted the code

* printing logs

* addressed null pointer exception

* addressing git worflow errows

* removing logs from start server test

* running .sh script directly from workflow

* testing script

* testing script

* addressing reviewdog findings

* updated chrome drivers

* addressing failing tests

* searchbar to searchBox

* testing

* cleaning code and added api test config in pom.xml

* commenting tests - functionality absent

* addressing reviewdog finding

* addressing reviewdog finding

* uncommenting search tests

* added condition for no service exists and added click event to leftout actions

* addressing reviewdog findings
2021-11-06 00:58:19 -07:00

24 lines
1.0 KiB
Bash
Executable File

#!/bin/bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#cd ..
echo "Maven clean package"
mvn -DskipTests clean package
echo "Docker compose up"
cd docker/local-metadata/
docker-compose up -d --build
while ! wget -O /dev/null -o /dev/null localhost:8585/api/v1/teams/name/Finance; do sleep 5; done