mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
use anchor for enterprise UI tests
This commit is contained in:
60
.travis.yml
60
.travis.yml
@@ -37,23 +37,6 @@ stages:
|
|||||||
- name: Release
|
- name: Release
|
||||||
- name: Publish
|
- 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:
|
jobs:
|
||||||
include:
|
include:
|
||||||
# - name: "Build AGS Community"
|
# - name: "Build AGS Community"
|
||||||
@@ -133,33 +116,48 @@ jobs:
|
|||||||
script:
|
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}
|
- 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
|
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
|
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
|
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
|
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
|
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
|
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
|
env: TEST_SUITE=enterpriseConsoleAndConfigurationTests.xml
|
||||||
<<: *enterprise_shared_UI_configuration
|
|
||||||
|
|
||||||
- name: "Source Clear Scan (SCA)"
|
- name: "Source Clear Scan (SCA)"
|
||||||
stage: Security Scans
|
stage: Security Scans
|
||||||
|
Reference in New Issue
Block a user