Zfilipin has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/142244

Change subject: WIP The first job to take sceenshots
......................................................................

WIP The first job to take sceenshots

Paired with: Amir Aharoni
Paired with: Vikas Yaligar

Bug: 62737
Change-Id: I5a98fe0b47057696eb6c8056363127f6a3fe1759
---
M jobs.yaml
M macro.yaml
2 files changed, 6 insertions(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder-config 
refs/changes/44/142244/1

diff --git a/jobs.yaml b/jobs.yaml
index f7e06aa..41865a3 100644
--- a/jobs.yaml
+++ b/jobs.yaml
@@ -252,6 +252,10 @@
         mediawiki_url: test2.wikipedia.org
      - 'browsertests-{name}-production-{platform}-{browser}-sauce':
         browser: firefox
+     - 'browsertests-{name}-{mediawiki_url}-{platform}-{browser}':
+        browser: firefox
+        headless: 'true'
+        mediawiki_url: en.wikipedia.beta.wmflabs.org
 
 # WikiLove
 - project:
diff --git a/macro.yaml b/macro.yaml
index 85979f0..571f277 100644
--- a/macro.yaml
+++ b/macro.yaml
@@ -5,6 +5,7 @@
           # set up environment variables
           export BROWSER={browser}
           export HEADLESS={headless}
+          export LANGUAGE_SCREENSHOT_CODE=en
           export MEDIAWIKI_API_URL=http://{mediawiki_url}/w/api.php
           export MEDIAWIKI_PASSWORD_VARIABLE={mediawiki_password_variable}
           export MEDIAWIKI_URL=http://{mediawiki_url}/wiki/
@@ -77,7 +78,7 @@
             --format pretty \
             --format Cucumber::Formatter::Sauce \
             --out "$WORKSPACE/log/junit" \
-            --tags @{mediawiki_url} \
+            --tags @language_screenshot \
             --tags @$BROWSER_TAG \
             || (echo -e "\nJob has failed (exit code: $?)."; false)
 

-- 
To view, visit https://gerrit.wikimedia.org/r/142244
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a98fe0b47057696eb6c8056363127f6a3fe1759
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: cloudbees
Gerrit-Owner: Zfilipin <zfili...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to