mediawiki-selenium 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7501ab3bba4da5dfaa544718171c9b4b566bd9b
4
- data.tar.gz: 548654bddc85fd7348fa3ebeb3513f3f1f6b56bd
3
+ metadata.gz: cc8d06132e0cfbc0cbcbad26907ca543d4f2b0d0
4
+ data.tar.gz: 5d9dd6214187f10ce2c334438b2bafe03e5cd090
5
5
  SHA512:
6
- metadata.gz: 6d00878b27280b2128a4a6759fee11be34658dd05bc09692a62ec83a1cd001b70e5b5e283062ffedeef5af6da49aafedd02ff2eba844ccafa3d5a9983952101d
7
- data.tar.gz: a5687247a63240570d75f4a566d8741c8e7836b8b5d77ac5719a182d1a7e95de68e666772d4c90ae003d6ae0a485836c8510b454467e0d0906d6f9fe7635cb8c
6
+ metadata.gz: c980eba119ec3fd6c5f96c1f8228b3503a680ad6edfec32feffb6dbd008bce3c2d96432821fca887d1ab68e13f45644ad2ec16cd5c2dc122a015ffa81bac5b68
7
+ data.tar.gz: 75cb5818efce7aefaaf49fad3b32d17e95e51a5cd9f88f991ac3f06f2547e05dad96a802efd2448b6d2eb49ac723b5b565d4a5b6f9016dfefaea636aa3c9ae46
@@ -0,0 +1,6 @@
1
+ [gerrit]
2
+ host=gerrit.wikimedia.org
3
+ port=29418
4
+ project=mediawiki/selenium.git
5
+ defaultbranch=master
6
+ defaultrebase=0
data/CREDITS CHANGED
@@ -2,5 +2,7 @@ mediawiki-selenium is a collaborative project released under the
2
2
  GNU General Public License v2. We would like to recognize the
3
3
  following names for their contribution to the product.
4
4
 
5
+ For further details on licensing, see the LICENSE file.
6
+
5
7
  == Developers ==
6
8
  * Željko Filipin
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Mediawiki::Selenium
2
2
 
3
- TODO: Write a gem description
3
+ Several MediaWiki extensions share code that makes it easy to run Selenium tests. This gem
4
+ makes it easy to update the shared code.
4
5
 
5
6
  ## Installation
6
7
 
@@ -18,7 +19,29 @@ Or install it yourself as:
18
19
 
19
20
  ## Usage
20
21
 
21
- TODO: Write usage instructions here
22
+ Add the gem to Gemfile.
23
+
24
+ Create `tests/browser/features/support/env.rb` file with this content: `require 'mediawiki/selenium'`
25
+
26
+ ## Links
27
+
28
+ mediawiki-selenium gem at various sites:
29
+
30
+ - https://rubygems.org/gems/mediawiki-selenium
31
+ - https://github.com/wikimedia/mediawiki-selenium
32
+ - https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/selenium
33
+
34
+ Repositories that use the gem:
35
+
36
+ - CirrusSearch: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/CirrusSearch), [GitHub](https://github.com/wikimedia/mediawiki-extensions-CirrusSearch), `/tests/browser` folder
37
+ - Flow: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/Flow), [GitHub](https://github.com/wikimedia/mediawiki-extensions-Flow), `/tests/browser` folder
38
+ - MobileFrontend: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/MobileFrontend), [GitHub](https://github.com/wikimedia/mediawiki-extensions-MobileFrontend), `/tests/acceptance` folder
39
+ - Translate: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/Translate), [GitHub](https://github.com/wikimedia/mediawiki-extensions-Translate), `/tests/browser` folder
40
+ - TwnMainPage: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/TwnMainPage), [GitHub](https://github.com/wikimedia/mediawiki-extensions-TwnMainPage), `/tests/browser` folder
41
+ - UniversalLanguageSelector: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/UniversalLanguageSelector), [GitHub](https://github.com/wikimedia/mediawiki-extensions-UniversalLanguageSelector), `/tests/browser` folder
42
+ - VisualEditor: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/VisualEditor), [GitHub](https://github.com/wikimedia/mediawiki-extensions-VisualEditor), `/modules/ve-mw/test/browser` folder
43
+ - Wikibase: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/Wikibase), [GitHub](https://github.com/wikimedia/mediawiki-extensions-Wikibase), `/selenium_cuc` folder
44
+ - browsertests: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/qa/browsertests), [GitHub](https://github.com/wikimedia/qa-browsertests), `/` folder
22
45
 
23
46
  ## Contributing
24
47
 
@@ -0,0 +1,28 @@
1
+ # Jenkins
2
+
3
+ ## Plugins
4
+
5
+ - Jenkins > Manage Jenkins > Manage Plugins > Available > ChuckNorris Plugin, Green Balls, Jenkins instant-messaging plugin, Jenkins IRC Plugin
6
+
7
+ ## IRC Notification
8
+
9
+ - Jenkins > Manage Jenkins > Configure System
10
+ - Enable IRC Notification > check
11
+ - Hostname: irc.freenode.net
12
+ - Port: 6667
13
+ - Channels
14
+ - Name: #wikimedia-mobile
15
+ - Notification only: check
16
+ - Advanced...
17
+ - Nickname: wmf-selenium-bot
18
+ - Login: wmf-selenium-bot
19
+ - nickname and login have to be the same
20
+
21
+ ## Environment variables
22
+
23
+ - Jenkins > Manage Jenkins > Configure System > Global properties > Environment variables > List of key-value pairs
24
+ - name
25
+ - MEDIAWIKI_USER
26
+ - MEDIAWIKI_PASSWORD
27
+ - SAUCE_ONDEMAND_ACCESS_KEY
28
+ - SAUCE_ONDEMAND_USERNAME
@@ -0,0 +1,30 @@
1
+ # Job
2
+
3
+ - Jenkins > New Job
4
+ - Job name: (name)
5
+ - Build a free-style software project
6
+ - OK
7
+ - Jenkins > Job > Configure
8
+ - Project name: (name)
9
+ - Source Code Management > Git > Repositories > Repository URL: (repository)
10
+ - Build > Add build step > Execute shell
11
+
12
+ --
13
+
14
+ export BROWSER_LABEL=(label)
15
+ export MEDIAWIKI_URL=(url)
16
+
17
+ curl -s -o use-ruby https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/ruby/use-ruby
18
+ RUBY_VERSION=2.0.0-p247 \
19
+ source ./use-ruby
20
+
21
+ gem install bundler --no-ri --no-rdoc
22
+ bundle install
23
+ bundle exec cucumber
24
+
25
+ --
26
+
27
+ - Post-build Actions > Add post-build action
28
+ - Publish JUnit test result report > Test report XMLs: reports/junit/*.xml
29
+ - E-mail Notification > Recipients: (recipients)
30
+ - IRC Notification
@@ -0,0 +1,195 @@
1
+ # browsertests
2
+
3
+ - Recipients: cmcmahon@wikimedia.org zfilipin@wikimedia.org
4
+ - Repository URL: browsertests@gerrit
5
+ - Branch: master
6
+ - Folder: root of the repository
7
+
8
+
9
+
10
+ # browsertests-commons.wikimedia.beta.wmflabs.org
11
+
12
+ - MediaWiki URL: commons.wikimedia.beta.wmflabs.org
13
+ - bundle exec: cucumber --verbose --profile ci --tags @commons.wikimedia.beta.wmflabs.org
14
+
15
+
16
+ ## browsertests-commons.wikimedia.beta.wmflabs.org-linux-chrome
17
+ - Browser Label: chrome
18
+
19
+ ## browsertests-commons.wikimedia.beta.wmflabs.org-linux-firefox
20
+ - Browser Label: firefox
21
+
22
+ ## browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_6
23
+ - Browser Label: internet_explorer_6
24
+ - bundle exec: cucumber --verbose --profile ci --tags @commons.wikimedia.beta.wmflabs.org --tags ~@ie6-bug
25
+
26
+ ## browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_7
27
+ - Browser Label: internet_explorer_7
28
+ - bundle exec: cucumber --verbose --profile ci --tags @commons.wikimedia.beta.wmflabs.org --tags ~@ie7-bug
29
+
30
+ ## browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_8
31
+ - Browser Label: internet_explorer_8
32
+ - bundle exec: cucumber --verbose --profile ci --tags @commons.wikimedia.beta.wmflabs.org --tags ~@ie8-bug
33
+
34
+ ## browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_9
35
+ - Browser Label: internet_explorer_9
36
+
37
+ ## browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_10
38
+ - Browser Label: internet_explorer_10
39
+
40
+
41
+
42
+ # browsertests-en.wikipedia.beta.wmflabs.org
43
+ - bundle exec: cucumber --verbose --profile ci --tags @en.wikipedia.beta.wmflabs.org
44
+ - MediaWiki URL: en.wikipedia.beta.wmflabs.org
45
+
46
+
47
+ ## browsertests-en.wikipedia.beta.wmflabs.org-linux-chrome
48
+ - Browser Label: chrome
49
+
50
+ ## browsertests-en.wikipedia.beta.wmflabs.org-linux-firefox
51
+ - Browser Label: firefox
52
+
53
+ ## browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_6
54
+ - Browser Label: internet_explorer_6
55
+ - bundle exec: cucumber --verbose --profile ci --tags @en.wikipedia.beta.wmflabs.org --tags ~@ie6-bug
56
+
57
+ ## browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_7
58
+ - Browser Label: internet_explorer_7
59
+ - bundle exec: cucumber --verbose --profile ci --tags @en.wikipedia.beta.wmflabs.org --tags ~@ie7-bug
60
+
61
+ ## browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_8
62
+ - Browser Label: internet_explorer_8
63
+ - bundle exec: cucumber --verbose --profile ci --tags @en.wikipedia.beta.wmflabs.org --tags ~@ie8-bug
64
+
65
+ ## browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_9
66
+ - Browser Label: internet_explorer_9
67
+
68
+ ## browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_10
69
+ - Browser Label: internet_explorer_10
70
+
71
+
72
+
73
+ # browsertests-test2.wikipedia.org
74
+
75
+ - bundle exec: cucumber --verbose --profile ci --tags @test2.wikipedia.org
76
+ - MediaWiki URL: test2.wikipedia.org
77
+
78
+
79
+ ## browsertests-test2.wikipedia.org-linux-chrome
80
+ - Browser Label: chrome
81
+
82
+ ## browsertests-test2.wikipedia.org-linux-firefox
83
+ - Browser Label: firefox
84
+
85
+ ## browsertests-test2.wikipedia.org-windows-internet_explorer_6
86
+ - Browser Label: internet_explorer_6
87
+ - bundle exec: cucumber --verbose --profile ci --tags @test2.wikipedia.org --tags ~@ie6-bug
88
+
89
+ ## browsertests-test2.wikipedia.org-windows-internet_explorer_7
90
+ - Browser Label: internet_explorer_7
91
+ - bundle exec: cucumber --verbose --profile ci --tags @test2.wikipedia.org --tags ~@ie7-bug
92
+
93
+ ## browsertests-test2.wikipedia.org-windows-internet_explorer_8
94
+ - Browser Label: internet_explorer_8
95
+ - bundle exec: cucumber --verbose --profile ci --tags @test2.wikipedia.org --tags ~@ie8-bug
96
+
97
+ ## browsertests-test2.wikipedia.org-windows-internet_explorer_9
98
+ - Browser Label: internet_explorer_9
99
+
100
+ ## browsertests-test2.wikipedia.org-windows-internet_explorer_10
101
+ - Browser Label: internet_explorer_10
102
+
103
+
104
+
105
+ # CirrusSearch-en.wikipedia.beta.wmflabs.org
106
+
107
+ - bundle exec: cucumber --verbose --profile ci
108
+ - Recipients: cmcmahon@wikimedia.org neverett@wikimedia.org zfilipin@wikimedia.org
109
+ - Repository URL: CirrusSearch@gerrit
110
+ - MediaWiki URL: en.wikipedia.beta.wmflabs.org
111
+ - Folder: tests/browser/
112
+
113
+
114
+ ## CirrusSearch-en.wikipedia.beta.wmflabs.org-linux-chrome
115
+ - Browser Label: chrome
116
+
117
+
118
+
119
+ # Flow
120
+
121
+ - bundle exec: cucumber --verbose --profile ci --tags @en.wikipedia.beta.wmflabs.org
122
+ - Recipients: zfilipin@wikimedia.org cmcmahon@wikimedia.org
123
+ - Repository URL: Flow@gerrit
124
+ - Branch: master
125
+ - MediaWiki URL: en.m.wikipedia.beta.wmflabs.org
126
+ - Folder: tests/browser/
127
+
128
+ ## Flow-en.wikipedia.beta.wmflabs.org-linux-chrome
129
+ - Browser Label: chrome
130
+
131
+
132
+ ## Flow-en.wikipedia.beta.wmflabs.org-linux-firefox
133
+ - Browser Label: firefox
134
+
135
+
136
+ ## Flow-en.wikipedia.beta.wmflabs.org-linux-internet_explorer_10
137
+ - Browser Label: internet_explorer_10
138
+
139
+
140
+
141
+ # MobileFrontend
142
+
143
+ - Browser Label: firefox
144
+ - bundle exec: cucumber --verbose --profile ci
145
+ - Recipients: cmcmahon@wikimedia.org mgrover@wikimedia.org mobile-l@lists.wikimedia.org mobile-tech@wikimedia.org zfilipin@wikimedia.org
146
+ - Repository URL: MobileFrontend@gerrit
147
+ - Folder: tests/acceptance/
148
+
149
+
150
+ ## MobileFrontend-en.m.wikipedia.beta.wmflabs.org-linux-firefox
151
+ - MediaWiki URL: en.m.wikipedia.beta.wmflabs.org
152
+
153
+
154
+ ## MobileFrontend-en.m.wikipedia.org-linux-firefox
155
+ - MediaWiki URL: en.m.wikipedia.org
156
+
157
+
158
+ # TwnMainPage
159
+
160
+
161
+ ## TwnMainPage-sandbox.translatewiki.net-linux-firefox
162
+ - Browser Label: firefox
163
+ - bundle exec: cucumber --verbose --profile ci --tags @sandbox.translatewiki.net
164
+ - Recipients: aaharoni@wikimedia.org cmcmahon@wikimedia.org nlaxstrom@wikimedia.org smazeland@wikimedia.org zfilipin@wikimedia.org
165
+ - Repository URL: TwnMainPage@gerrit
166
+ - Branch: master
167
+ - MediaWiki URL: sandbox.translatewiki.net
168
+ - Folder: tests/browser/
169
+
170
+
171
+
172
+ # UniversalLanguageSelector
173
+ - Browser Label: firefox
174
+ - Recipients: aaharoni@wikimedia.org cmcmahon@wikimedia.org nlaxstrom@wikimedia.org smazeland@wikimedia.org sthottingal@wikimedia.org zfilipin@wikimedia.org
175
+ - Repository URL: UniversalLanguageSelector@gerrit
176
+ - Folder: tests/browser/
177
+
178
+
179
+ ## UniversalLanguageSelector-commons.wikimedia.beta.wmflabs.org-linux-firefox
180
+ - bundle exec: cucumber --verbose --profile ci --tags @commons.wikimedia.beta.wmflabs.org
181
+ - MediaWiki URL: commons.wikimedia.beta.wmflabs.org
182
+
183
+ ## UniversalLanguageSelector-sandbox.translatewiki.net-linux-firefox
184
+ - bundle exec: cucumber --verbose --profile ci --tags @sandbox.translatewiki.net
185
+ - MediaWiki URL: sandbox.translatewiki.net
186
+
187
+
188
+
189
+ # VisualEditor-test2.wikipedia.org-linux-firefox
190
+ - Browser Label: firefox
191
+ - bundle exec: cucumber --verbose --profile ci --tags @test2.wikipedia.org
192
+ - Recipients: cmcmahon@wikimedia.org jforrester@wikimedia.org zfilipin@wikimedia.org
193
+ - Repository URL: VisualEditor@gerrit
194
+ - MediaWiki URL: test2.wikipedia.org
195
+ - Folder: modules/ve-mw/test/browser/
@@ -0,0 +1,262 @@
1
+ # Template
2
+
3
+ ## Setup
4
+
5
+ - Jenkins > Templates > New Template > (name) > Job Template > OK > Save
6
+ - Display Name: (name)
7
+ - Description: (description)
8
+ - Instantiable?: check
9
+ - Attribute
10
+
11
+ ## Name
12
+
13
+ - ID: name
14
+ - Display Name: Name
15
+ - Type: Text-field
16
+
17
+ ## Browser Label
18
+
19
+ - ID: BROWSER_LABEL
20
+ - Display Name: Browser Label
21
+ - Type: Select a string among many
22
+ - UI Mode: Dropdown list (no inline help, but more compact UI)
23
+ - Options
24
+ - Display Name: (name)
25
+ - Value: (name)
26
+ - chrome
27
+ - firefox
28
+ - internet_explorer_6
29
+ - internet_explorer_7
30
+ - internet_explorer_8
31
+ - internet_explorer_9
32
+ - internet_explorer_10
33
+
34
+ ## bundle exec
35
+
36
+ - ID: BUNDLE_EXEC
37
+ - Display Name: bundle exec
38
+ - Type: Text-field
39
+
40
+ ## Recipients
41
+
42
+ - ID: RECIPIENTS
43
+ - Display Name: Recipients
44
+ - Type: Text-field
45
+
46
+ ## Repository URL
47
+
48
+ - ID: REPOSITORY_URL
49
+ - Display Name: Repository URL
50
+ - Type: Select a string among many
51
+ - UI Mode: Dropdown list (no inline help, but more compact UI)
52
+ - Options
53
+
54
+ - Display Name: browsertests@cloudbees
55
+ - Value: git://git.cloudbees.com/wmf/browsertests.git
56
+
57
+ - Display Name: browsertests@gerrit
58
+ - Value: https://gerrit.wikimedia.org/r/qa/browsertests
59
+
60
+ - Display Name: CirrusSearch@gerrit
61
+ - Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/CirrusSearch
62
+
63
+ - Display Name: Flow@gerrit
64
+ - Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/Flow
65
+
66
+ - Display Name: MobileFrontend@cloudbees
67
+ - Value: git://git.cloudbees.com/wmf/MobileFrontend.git
68
+
69
+ - Display Name: MobileFrontend@gerrit
70
+ - Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/MobileFrontend
71
+
72
+ - Display Name: TwnMainPage@gerrit
73
+ - Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/TwnMainPage
74
+
75
+ - Display Name: UniversalLanguageSelector@gerrit
76
+ - Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/UniversalLanguageSelector
77
+
78
+ - Display Name: VisualEditor@gerrit
79
+ - Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
80
+
81
+ ## Branch
82
+
83
+ - ID: BRANCH
84
+ - Display Name: Branch
85
+ - Type: Select a string among many
86
+ - UI Mode: Dropdown list (no inline help, but more compact UI)
87
+ - Options
88
+ - Display Name: (name)
89
+ - Value: (name)
90
+
91
+ - name:
92
+ - debug
93
+ - master
94
+
95
+ ## MediaWiki URL
96
+
97
+ - ID: MEDIAWIKI_URL
98
+ - Display Name: MediaWiki URL
99
+ - Type: Select a string among many
100
+ - UI Mode: Dropdown list (no inline help, but more compact UI)
101
+ - Options
102
+ - Display Name: (name)
103
+ - Value: (name)
104
+
105
+ - name:
106
+ - commons.wikimedia.beta.wmflabs.org
107
+ - dev.translatewiki.net
108
+ - en.m.wikipedia.beta.wmflabs.org
109
+ - en.m.wikipedia.org
110
+ - en.wikipedia.beta.wmflabs.org
111
+ - en.wikipedia.org
112
+ - sandbox.translatewiki.net
113
+ - test2.wikipedia.org
114
+
115
+ ## Folder
116
+
117
+ - ID: FOLDER
118
+ - Display Name: Folder
119
+ - Type: Select a string among many
120
+ - UI Mode: Dropdown list (no inline help, but more compact UI)
121
+ - Options
122
+ - Display Name: (name)
123
+ - Value: (name)
124
+
125
+ - name:
126
+ - (empty)
127
+ - modules/ve-mw/test/browser/
128
+ - tests/acceptance/
129
+ - tests/browser/
130
+
131
+ ## Jelly-based transformation
132
+
133
+ - Property
134
+ - Transformer: Jelly-based transformation
135
+ - Script, from (site)/job/(job)/config.xml
136
+
137
+ --
138
+
139
+ <?xml version='1.0' encoding='UTF-8'?>
140
+ <project>
141
+ <actions/>
142
+ <description></description>
143
+ <logRotator>
144
+ <daysToKeep>60</daysToKeep>
145
+ <numToKeep>-1</numToKeep>
146
+ <artifactDaysToKeep>-1</artifactDaysToKeep>
147
+ <artifactNumToKeep>20</artifactNumToKeep>
148
+ </logRotator>
149
+ <keepDependencies>false</keepDependencies>
150
+ <properties>
151
+ <nectar.plugins.rbac.groups.JobProxyGroupContainer>
152
+ <groups/>
153
+ </nectar.plugins.rbac.groups.JobProxyGroupContainer>
154
+ <com.cloudbees.jenkins.plugins.PublicKey/>
155
+ <com.cloudbees.plugins.deployer.DeployNowJobProperty>
156
+ <oneClickDeploy>false</oneClickDeploy>
157
+ <configuration>
158
+ <user>(jenkins)</user>
159
+ <account>wmf</account>
160
+ <deployables/>
161
+ </configuration>
162
+ </com.cloudbees.plugins.deployer.DeployNowJobProperty>
163
+ </properties>
164
+ <scm class="hudson.plugins.git.GitSCM">
165
+ <configVersion>2</configVersion>
166
+ <userRemoteConfigs>
167
+ <hudson.plugins.git.UserRemoteConfig>
168
+ <name></name>
169
+ <refspec></refspec>
170
+ <url>${REPOSITORY_URL}</url>
171
+ </hudson.plugins.git.UserRemoteConfig>
172
+ </userRemoteConfigs>
173
+ <branches>
174
+ <hudson.plugins.git.BranchSpec>
175
+ <name>${BRANCH}</name>
176
+ </hudson.plugins.git.BranchSpec>
177
+ </branches>
178
+ <disableSubmodules>false</disableSubmodules>
179
+ <recursiveSubmodules>false</recursiveSubmodules>
180
+ <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
181
+ <authorOrCommitter>false</authorOrCommitter>
182
+ <clean>false</clean>
183
+ <wipeOutWorkspace>false</wipeOutWorkspace>
184
+ <pruneBranches>false</pruneBranches>
185
+ <remotePoll>false</remotePoll>
186
+ <ignoreNotifyCommit>false</ignoreNotifyCommit>
187
+ <useShallowClone>false</useShallowClone>
188
+ <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
189
+ <gitTool>Default</gitTool>
190
+ <submoduleCfg class="list"/>
191
+ <relativeTargetDir></relativeTargetDir>
192
+ <reference></reference>
193
+ <excludedRegions></excludedRegions>
194
+ <excludedUsers></excludedUsers>
195
+ <gitConfigName></gitConfigName>
196
+ <gitConfigEmail></gitConfigEmail>
197
+ <skipTag>false</skipTag>
198
+ <includedRegions></includedRegions>
199
+ <scmName></scmName>
200
+ </scm>
201
+ <canRoam>true</canRoam>
202
+ <disabled>false</disabled>
203
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
204
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
205
+ <triggers class="vector">
206
+ <hudson.triggers.TimerTrigger>
207
+ <spec>0 3,18 * * *</spec>
208
+ </hudson.triggers.TimerTrigger>
209
+ </triggers>
210
+ <concurrentBuild>false</concurrentBuild>
211
+ <builders>
212
+ <hudson.tasks.Shell>
213
+ <command>
214
+ export BROWSER_LABEL=${BROWSER_LABEL}
215
+ export MEDIAWIKI_URL=http://${MEDIAWIKI_URL}/wiki/
216
+
217
+ curl -s -o use-ruby https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/ruby/use-ruby
218
+ RUBY_VERSION=2.0.0-p247 \
219
+ source ./use-ruby
220
+
221
+ gem install bundler --no-ri --no-rdoc
222
+ if [ -d "${FOLDER}" ]; then cd ${FOLDER}; fi
223
+ bundle install
224
+ bundle exec ${BUNDLE_EXEC}
225
+ </command>
226
+ </hudson.tasks.Shell>
227
+ </builders>
228
+ <publishers>
229
+ <hudson.tasks.junit.JUnitResultArchiver>
230
+ <testResults>${FOLDER}reports/junit/*.xml</testResults>
231
+ <keepLongStdio>false</keepLongStdio>
232
+ <testDataPublishers/>
233
+ </hudson.tasks.junit.JUnitResultArchiver>
234
+ <hudson.tasks.Mailer>
235
+ <recipients>${RECIPIENTS}</recipients>
236
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
237
+ <sendToIndividuals>false</sendToIndividuals>
238
+ </hudson.tasks.Mailer>
239
+ <hudson.plugins.ircbot.IrcPublisher plugin="ircbot@2.21">
240
+ <targets class="java.util.Collections$EmptyList"/>
241
+ <strategy>STATECHANGE_ONLY</strategy>
242
+ <notifyOnBuildStart>false</notifyOnBuildStart>
243
+ <notifySuspects>false</notifySuspects>
244
+ <notifyCulprits>false</notifyCulprits>
245
+ <notifyFixers>false</notifyFixers>
246
+ <notifyUpstreamCommitters>false</notifyUpstreamCommitters>
247
+ <buildToChatNotifier class="hudson.plugins.im.build_notify.SummaryOnlyBuildToChatNotifier" plugin="instant-messaging@1.25"/>
248
+ <matrixMultiplier>ONLY_CONFIGURATIONS</matrixMultiplier>
249
+ <channels/>
250
+ </hudson.plugins.ircbot.IrcPublisher>
251
+ </publishers>
252
+ <buildWrappers/>
253
+ <executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
254
+ <runSequentially>false</runSequentially>
255
+ </executionStrategy>
256
+ </project>
257
+
258
+ --
259
+
260
+ ## Save
261
+
262
+ - Save
@@ -0,0 +1,11 @@
1
+ # Create new view
2
+
3
+ - https://wmf.ci.cloudbees.com/newView
4
+ - View name: (name)
5
+ - List View
6
+ - OK
7
+
8
+ - https://wmf.ci.cloudbees.com/view/r-uls/configure
9
+ - Use a regular expression to include jobs into the view: .*STRING.*
10
+ - replace STRING with a string
11
+ - OK
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  This file is subject to the license terms in the LICENSE file found in the
3
- mediawiki-selenium top-level directory of and at
3
+ mediawiki-selenium top-level directory and at
4
4
  https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/LICENSE. No part of
5
5
  mediawiki-selenium, including this file, may be copied, modified, propagated, or
6
6
  distributed except according to the terms contained in the LICENSE file.
7
7
  Copyright 2013 by the Mediawiki developers. See the CREDITS file in the
8
8
  mediawiki-selenium top-level directory and at
9
- https://github.com/zeljkofilipin/mediawiki-selenium/blob/master//CREDITS.
9
+ https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/CREDITS.
10
10
  =end
11
11
 
12
12
  require "mediawiki/selenium/env"
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  This file is subject to the license terms in the LICENSE file found in the
3
- mediawiki-selenium top-level directory of and at
3
+ mediawiki-selenium top-level directory and at
4
4
  https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/LICENSE. No part of
5
5
  mediawiki-selenium, including this file, may be copied, modified, propagated, or
6
6
  distributed except according to the terms contained in the LICENSE file.
7
7
  Copyright 2013 by the Mediawiki developers. See the CREDITS file in the
8
8
  mediawiki-selenium top-level directory and at
9
- https://github.com/zeljkofilipin/mediawiki-selenium/blob/master//CREDITS.
9
+ https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/CREDITS.
10
10
  =end
11
11
 
12
12
  # before all
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  This file is subject to the license terms in the LICENSE file found in the
3
- mediawiki-selenium top-level directory of and at
3
+ mediawiki-selenium top-level directory and at
4
4
  https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/LICENSE. No part of
5
5
  mediawiki-selenium, including this file, may be copied, modified, propagated, or
6
6
  distributed except according to the terms contained in the LICENSE file.
7
7
  Copyright 2013 by the Mediawiki developers. See the CREDITS file in the
8
8
  mediawiki-selenium top-level directory and at
9
- https://github.com/zeljkofilipin/mediawiki-selenium/blob/master//CREDITS.
9
+ https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/CREDITS.
10
10
  =end
11
11
 
12
12
  config = YAML.load_file('config/config.yml')
@@ -19,12 +19,12 @@ end
19
19
  Before do |scenario|
20
20
  @config = config
21
21
  @random_string = Random.new.rand.to_s
22
- if ENV['REUSE_BROWSER'] == 'true' and $browser # only CirrusSearch needs this
22
+ if ENV['REUSE_BROWSER'] == 'true' and $browser # CirrusSearch and VisualEditor need this
23
23
  @browser = $browser
24
24
  else
25
25
  unless @language or @user_agent # only UniversalLanguageSelector needs @language, only MobileFrontend needs @user_agent
26
26
  @browser = browser(environment, test_name(scenario), 'default')
27
- $browser = @browser # only CirrusSearch needs this
27
+ $browser = @browser # CirrusSearch and VisualEditor need this
28
28
  $session_id = @browser.driver.instance_variable_get(:@bridge).session_id
29
29
  end
30
30
  end
@@ -36,5 +36,5 @@ After do |scenario|
36
36
  sauce_api(%Q{{"public": true}})
37
37
  sauce_api(%Q{{"build": #{ENV['BUILD_NUMBER']}}}) if ENV['BUILD_NUMBER']
38
38
  end
39
- @browser.close unless ENV['KEEP_BROWSER_OPEN'] == 'true' or ENV['REUSE_BROWSER'] == 'true' # only CirrusSearch needs ENV['REUSE_BROWSER']
39
+ @browser.close unless ENV['KEEP_BROWSER_OPEN'] == 'true' or ENV['REUSE_BROWSER'] == 'true' # CirrusSearch and VisualEditor need this
40
40
  end
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  This file is subject to the license terms in the LICENSE file found in the
3
- mediawiki-selenium top-level directory of and at
3
+ mediawiki-selenium top-level directory and at
4
4
  https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/LICENSE. No part of
5
5
  mediawiki-selenium, including this file, may be copied, modified, propagated, or
6
6
  distributed except according to the terms contained in the LICENSE file.
7
7
  Copyright 2013 by the Mediawiki developers. See the CREDITS file in the
8
8
  mediawiki-selenium top-level directory and at
9
- https://github.com/zeljkofilipin/mediawiki-selenium/blob/master//CREDITS.
9
+ https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/CREDITS.
10
10
  =end
11
11
 
12
12
  require 'cucumber/formatter/junit'
@@ -1,16 +1,16 @@
1
1
  =begin
2
2
  This file is subject to the license terms in the LICENSE file found in the
3
- mediawiki-selenium top-level directory of and at
3
+ mediawiki-selenium top-level directory and at
4
4
  https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/LICENSE. No part of
5
5
  mediawiki-selenium, including this file, may be copied, modified, propagated, or
6
6
  distributed except according to the terms contained in the LICENSE file.
7
7
  Copyright 2013 by the Mediawiki developers. See the CREDITS file in the
8
8
  mediawiki-selenium top-level directory and at
9
- https://github.com/zeljkofilipin/mediawiki-selenium/blob/master//CREDITS.
9
+ https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/CREDITS.
10
10
  =end
11
11
 
12
12
  module Mediawiki
13
13
  module Selenium
14
- VERSION = "0.1.8"
14
+ VERSION = "0.1.9"
15
15
  end
16
16
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.description = %q{Several MediaWiki extensions share code that makes it easy to run Selenium tests. This gem
12
12
  makes it easy to update the shared code.}
13
13
  spec.summary = %q{An easy way to run MediaWiki Selenium tests.}
14
- spec.homepage = "https://github.com/zeljkofilipin/mediawiki-selenium"
14
+ spec.homepage = "https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/selenium"
15
15
  spec.license = "GPL-2"
16
16
 
17
17
  spec.files = `git ls-files`.split($/)
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mediawiki-selenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zeljko Filipin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-04 00:00:00.000000000 Z
11
+ date: 2013-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: |-
@@ -47,19 +47,22 @@ executables: []
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
- - .gitignore
50
+ - ".gitreview"
51
51
  - CREDITS
52
- - Gemfile
53
52
  - LICENSE
54
53
  - README.md
55
- - Rakefile
54
+ - docs/jenkins.md
55
+ - docs/job.md
56
+ - docs/jobs.md
57
+ - docs/template.md
58
+ - docs/view.md
56
59
  - lib/mediawiki/selenium.rb
57
60
  - lib/mediawiki/selenium/env.rb
58
61
  - lib/mediawiki/selenium/hooks.rb
59
62
  - lib/mediawiki/selenium/sauce.rb
60
63
  - lib/mediawiki/selenium/version.rb
61
64
  - mediawiki-selenium.gemspec
62
- homepage: https://github.com/zeljkofilipin/mediawiki-selenium
65
+ homepage: https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/selenium
63
66
  licenses:
64
67
  - GPL-2
65
68
  metadata: {}
@@ -69,17 +72,17 @@ require_paths:
69
72
  - lib
70
73
  required_ruby_version: !ruby/object:Gem::Requirement
71
74
  requirements:
72
- - - '>='
75
+ - - ">="
73
76
  - !ruby/object:Gem::Version
74
77
  version: '0'
75
78
  required_rubygems_version: !ruby/object:Gem::Requirement
76
79
  requirements:
77
- - - '>='
80
+ - - ">="
78
81
  - !ruby/object:Gem::Version
79
82
  version: '0'
80
83
  requirements: []
81
84
  rubyforge_project:
82
- rubygems_version: 2.0.6
85
+ rubygems_version: 2.1.9
83
86
  signing_key:
84
87
  specification_version: 4
85
88
  summary: An easy way to run MediaWiki Selenium tests.
data/.gitignore DELETED
@@ -1,17 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in mediawiki-selenium.gemspec
4
- gemspec
data/Rakefile DELETED
@@ -1 +0,0 @@
1
- require "bundler/gem_tasks"