mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
set screen resolution only for tests that need a bigger resolution
This commit is contained in:
@@ -74,7 +74,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
- travis_retry travis_wait 30 mvn -B -U -q clean install ${MVN_SKIP} -pl :alfresco-governance-services-automation-ui -am
|
- travis_retry travis_wait 30 mvn -B -U -q clean install ${MVN_SKIP} -pl :alfresco-governance-services-automation-ui -am
|
||||||
script:
|
script:
|
||||||
- travis_wait 90 xvfb-run mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=communitySmokeRecords.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
- travis_wait 90 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=communitySmokeRecords.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
||||||
|
|
||||||
- <<: *community_shared_UI_configuration
|
- <<: *community_shared_UI_configuration
|
||||||
name: "Community Smoke UI Tests for actions in RM site"
|
name: "Community Smoke UI Tests for actions in RM site"
|
||||||
@@ -89,7 +89,7 @@ jobs:
|
|||||||
- <<: *community_shared_UI_configuration
|
- <<: *community_shared_UI_configuration
|
||||||
name: "Community Level 2: Audit, Rules, User Dashboard and Node Browser UI Tests"
|
name: "Community Level 2: Audit, Rules, User Dashboard and Node Browser UI Tests"
|
||||||
script:
|
script:
|
||||||
- travis_wait 90 xvfb-run mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=communityL2AuditRulesDashboardNodeBrowserTests.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
- travis_wait 90 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=communityL2AuditRulesDashboardNodeBrowserTests.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
||||||
|
|
||||||
- &enterprise_shared_UI_configuration
|
- &enterprise_shared_UI_configuration
|
||||||
name: "Enterprise Level 2 UI Tests"
|
name: "Enterprise Level 2 UI Tests"
|
||||||
@@ -111,12 +111,12 @@ jobs:
|
|||||||
- bash scripts/dockerLimitMemory.sh
|
- bash scripts/dockerLimitMemory.sh
|
||||||
- sudo free -m -t
|
- sudo free -m -t
|
||||||
script:
|
script:
|
||||||
- travis_wait 90 xvfb-run mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=enterpriseLevel2Tests.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
- travis_wait 90 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=enterpriseLevel2Tests.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
||||||
|
|
||||||
- <<: *enterprise_shared_UI_configuration
|
- <<: *enterprise_shared_UI_configuration
|
||||||
name: "Enterprise Classification Level 2 UI Tests"
|
name: "Enterprise Classification Level 2 UI Tests"
|
||||||
script:
|
script:
|
||||||
- travis_wait 90 xvfb-run mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=enterpriseLevel2ClassificationTests.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
- travis_wait 90 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=enterpriseLevel2ClassificationTests.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
||||||
|
|
||||||
- <<: *enterprise_shared_UI_configuration
|
- <<: *enterprise_shared_UI_configuration
|
||||||
name: "Enterprise Records Classification UI Tests"
|
name: "Enterprise Records Classification UI Tests"
|
||||||
@@ -136,12 +136,12 @@ jobs:
|
|||||||
- <<: *enterprise_shared_UI_configuration
|
- <<: *enterprise_shared_UI_configuration
|
||||||
name: "Enterprise Security Marks UI Tests"
|
name: "Enterprise Security Marks UI Tests"
|
||||||
script:
|
script:
|
||||||
- travis_wait 90 xvfb-run mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=enterpriseSecurityMarksTests.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
- travis_wait 90 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=enterpriseSecurityMarksTests.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
||||||
|
|
||||||
- <<: *enterprise_shared_UI_configuration
|
- <<: *enterprise_shared_UI_configuration
|
||||||
name: "Enterprise Console, Guides and Configuration UI Tests"
|
name: "Enterprise Console, Guides and Configuration UI Tests"
|
||||||
script:
|
script:
|
||||||
- travis_wait 90 xvfb-run mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=enterpriseConsoleGuidesAndConfiguration.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
- travis_wait 90 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=enterpriseConsoleGuidesAndConfiguration.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
||||||
|
|
||||||
- <<: *enterprise_shared_UI_configuration
|
- <<: *enterprise_shared_UI_configuration
|
||||||
name: "Enterprise WORM UI Tests"
|
name: "Enterprise WORM UI Tests"
|
||||||
@@ -153,6 +153,6 @@ jobs:
|
|||||||
- bash scripts/start-compose.sh "${ENTERPRISE_SHARE_PATH}/docker-compose-worm-support-ui.yml"
|
- bash scripts/start-compose.sh "${ENTERPRISE_SHARE_PATH}/docker-compose-worm-support-ui.yml"
|
||||||
- bash scripts/waitForAlfrescoToStart.sh
|
- bash scripts/waitForAlfrescoToStart.sh
|
||||||
script:
|
script:
|
||||||
- travis_wait 90 xvfb-run mvn -B test -pl :alfresco-governance-services-automation-ui -DsuiteXmlFile=wormTestSuite.xml -Dskip.automationtests=false -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
- travis_wait 90 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B test -pl :alfresco-governance-services-automation-ui -DsuiteXmlFile=wormTestSuite.xml -Dskip.automationtests=false -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
||||||
after_script: bash scripts/cleanup.sh
|
after_script: bash scripts/cleanup.sh
|
||||||
after_failure: docker ps -a | grep '_alfresco_1' | awk '{print $1}' | xargs docker logs | tail -5000
|
after_failure: docker ps -a | grep '_alfresco_1' | awk '{print $1}' | xargs docker logs | tail -5000
|
||||||
|
Reference in New Issue
Block a user