use anchor for enterprise UI tests

This commit is contained in:
Claudia Agache
2020-10-19 07:48:27 +03:00
parent 7e14491726
commit 7f6a9fe9c5

View File

@@ -37,23 +37,6 @@ stages:
- name: Release
- name: Publish
_shared_job: &enterprise_shared_UI_configuration
stage: Tests
addons:
firefox: "43.0.1"
artifacts:
paths:
- ./rm-automation/rm-automation-ui/target/surefire-reports
- ./rm-automation/rm-automation-ui/target/reports
- ./rm-automation/rm-automation-ui/target/screenshots
target_paths: $TRAVIS_BUILD_NUMBER
before_install:
- travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q
- travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_UI_PATH/target
install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-enterprise -q -f $AUTOMATION_UI_PATH/pom.xml
script:
- travis_wait 60 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B test -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_UI_PATH/pom.xml -DsuiteXmlFile=$TEST_SUITE -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
jobs:
include:
# - name: "Build AGS Community"
@@ -133,33 +116,48 @@ jobs:
script:
- travis_wait 60 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B install -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_UI_PATH/pom.xml -DsuiteXmlFile=communityLevel2Tests.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
- name: "Enterprise Level 2 UI Tests"
- &enterprise_shared_UI_configuration
name: "Enterprise Level 2 UI Tests"
stage: Tests
env: TEST_SUITE=enterpriseLevel2Tests.xml
<<: *enterprise_shared_UI_configuration
addons:
firefox: "43.0.1"
artifacts:
paths:
- ./rm-automation/rm-automation-ui/target/surefire-reports
- ./rm-automation/rm-automation-ui/target/reports
- ./rm-automation/rm-automation-ui/target/screenshots
target_paths: $TRAVIS_BUILD_NUMBER
before_install:
- travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q
- travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_UI_PATH/target
install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-enterprise -q -f $AUTOMATION_UI_PATH/pom.xml
script:
- travis_wait 60 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B test -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_UI_PATH/pom.xml -DsuiteXmlFile=$TEST_SUITE -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
- name: "Enterprise Classification Level 2 UI Tests"
- <<: *enterprise_shared_UI_configuration
name: "Enterprise Classification Level 2 UI Tests"
env: TEST_SUITE=enterpriseLevel2ClassificationTests.xml
<<: *enterprise_shared_UI_configuration
- name: "Enterprise Classification UI Tests"
- <<: *enterprise_shared_UI_configuration
name: "Enterprise Classification UI Tests"
env: TEST_SUITE=enterpriseContentClassificationTests.xml
<<: *enterprise_shared_UI_configuration
- name: "Enterprise Folders Classification UI Tests"
- <<: *enterprise_shared_UI_configuration
name: "Enterprise Folders Classification UI Tests"
env: TEST_SUITE=enterpriseFoldersClassificationTests.xml
<<: *enterprise_shared_UI_configuration
- name: "Enterprise Guides UI Tests"
- <<: *enterprise_shared_UI_configuration
name: "Enterprise Guides UI Tests"
env: TEST_SUITE=enterpriseGuidesTests.xml
<<: *enterprise_shared_UI_configuration
- name: "Enterprise Security Marks UI Tests"
- <<: *enterprise_shared_UI_configuration
name: "Enterprise Security Marks UI Tests"
env: TEST_SUITE=enterpriseSecurityMarksTests.xml
<<: *enterprise_shared_UI_configuration
- name: "Enterprise Console and Configuration UI Tests"
- <<: *enterprise_shared_UI_configuration
name: "Enterprise Console and Configuration UI Tests"
env: TEST_SUITE=enterpriseConsoleAndConfigurationTests.xml
<<: *enterprise_shared_UI_configuration
- name: "Source Clear Scan (SCA)"
stage: Security Scans