mediawiki-selenium 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -14
- data/docs/jenkins.md +4 -2
- data/docs/jobs.md +80 -51
- data/docs/template.md +26 -14
- data/lib/mediawiki/selenium/hooks.rb +5 -0
- data/lib/mediawiki/selenium/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d9dd55f8c0cca2fdd161550be29a2b3525ded86
|
4
|
+
data.tar.gz: 1a3a1852515cd884a15fc478f6e55fffa641b015
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a623425d4db489bd6178291ac15888a4b18c9271bb6674431d772025bda0a0e41c0af6f650d33bb8a644d9be973ebe687b4f9c11eebd63835ab61c69289edead
|
7
|
+
data.tar.gz: 6923a0d648a30121a64309c4b75956fd661b555fb843d1eface5115b53b2478e46070126640aecec48aff63afdd5873e8720d351fdad8d35802e6a5008dcc28c
|
data/README.md
CHANGED
@@ -25,23 +25,19 @@ Create `tests/browser/features/support/env.rb` file with this content: `require
|
|
25
25
|
|
26
26
|
## Links
|
27
27
|
|
28
|
-
mediawiki-selenium gem
|
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
|
28
|
+
mediawiki-selenium gem: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/selenium), [GitHub](https://github.com/wikimedia/mediawiki-selenium), [RubyGems](https://rubygems.org/gems/mediawiki-selenium), [Code Climate](https://codeclimate.com/github/wikimedia/mediawiki-selenium)
|
33
29
|
|
34
30
|
Repositories that use the gem:
|
35
31
|
|
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/
|
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
|
32
|
+
- CirrusSearch: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/CirrusSearch), [GitHub](https://github.com/wikimedia/mediawiki-extensions-CirrusSearch), [Code Climate](https://codeclimate.com/github/wikimedia/mediawiki-extensions-CirrusSearch), `/tests/browser` folder
|
33
|
+
- Flow: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/Flow), [GitHub](https://github.com/wikimedia/mediawiki-extensions-Flow), [Code Climate](https://codeclimate.com/github/wikimedia/mediawiki-extensions-Flow), `/tests/browser` folder
|
34
|
+
- MobileFrontend: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/MobileFrontend), [GitHub](https://github.com/wikimedia/mediawiki-extensions-MobileFrontend), [Code Climate](https://codeclimate.com/github/wikimedia/mediawiki-extensions-MobileFrontend), `/tests/browser` folder
|
35
|
+
- Translate: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/Translate), [GitHub](https://github.com/wikimedia/mediawiki-extensions-Translate), [Code Climate](https://codeclimate.com/github/wikimedia/mediawiki-extensions-Translate), `/tests/browser` folder
|
36
|
+
- TwnMainPage: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/TwnMainPage), [GitHub](https://github.com/wikimedia/mediawiki-extensions-TwnMainPage), [Code Climate](https://codeclimate.com/github/wikimedia/mediawiki-extensions-TwnMainPage), `/tests/browser` folder
|
37
|
+
- UniversalLanguageSelector: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/UniversalLanguageSelector), [GitHub](https://github.com/wikimedia/mediawiki-extensions-UniversalLanguageSelector), [Code Climate](https://codeclimate.com/github/wikimedia/mediawiki-extensions-UniversalLanguageSelector), `/tests/browser` folder
|
38
|
+
- VisualEditor: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/VisualEditor), [GitHub](https://github.com/wikimedia/mediawiki-extensions-VisualEditor), [Code Climate](https://codeclimate.com/github/wikimedia/mediawiki-extensions-VisualEditor), `/modules/ve-mw/test/browser` folder
|
39
|
+
- Wikibase: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/Wikibase), [GitHub](https://github.com/wikimedia/mediawiki-extensions-Wikibase), [Code Climate](https://codeclimate.com/github/wikimedia/mediawiki-extensions-Wikibase), `/selenium_cuc` folder
|
40
|
+
- browsertests: [Gerrit](https://gerrit.wikimedia.org/r/#/admin/projects/qa/browsertests), [GitHub](https://github.com/wikimedia/qa-browsertests), [Code Climate](https://codeclimate.com/github/wikimedia/qa-browsertests), `/` folder
|
45
41
|
|
46
42
|
## Contributing
|
47
43
|
|
data/docs/jenkins.md
CHANGED
@@ -22,7 +22,9 @@
|
|
22
22
|
|
23
23
|
- Jenkins > Manage Jenkins > Configure System > Global properties > Environment variables > List of key-value pairs
|
24
24
|
- name
|
25
|
-
- MEDIAWIKI_USER
|
26
|
-
- MEDIAWIKI_PASSWORD
|
27
25
|
- SAUCE_ONDEMAND_ACCESS_KEY
|
28
26
|
- SAUCE_ONDEMAND_USERNAME
|
27
|
+
- MEDIAWIKI_PASSWORD_SELENIUM_SANDBOX_TRANSLATEWIKI_NET
|
28
|
+
- MEDIAWIKI_PASSWORD_SELENIUM_USER_WIKIPEDIA_ORG
|
29
|
+
- MEDIAWIKI_PASSWORD_SELENIUM_USER_WMFLABS_ORG
|
30
|
+
- MEDIAWIKI_PASSWORD_ULS_WMFLABS_ORG
|
data/docs/jobs.md
CHANGED
@@ -1,14 +1,25 @@
|
|
1
|
-
#
|
1
|
+
# all jobs
|
2
|
+
- Browser Label:
|
3
|
+
- bundle exec:
|
4
|
+
- Recipients:
|
5
|
+
- Branch: master
|
6
|
+
- MediaWiki URL:
|
7
|
+
- Folder:
|
8
|
+
- MediaWiki user:
|
9
|
+
- MediaWiki password:
|
10
|
+
- Repository URL:
|
11
|
+
|
2
12
|
|
13
|
+
|
14
|
+
# browsertests
|
3
15
|
- Recipients: cmcmahon@wikimedia.org zfilipin@wikimedia.org
|
4
|
-
- Repository URL: browsertests@gerrit
|
5
|
-
- Branch: master
|
6
16
|
- Folder: root of the repository
|
17
|
+
- MediaWiki user: Selenium_user
|
18
|
+
- Repository URL: browsertests
|
7
19
|
|
8
20
|
|
9
21
|
|
10
22
|
# browsertests-commons.wikimedia.beta.wmflabs.org
|
11
|
-
|
12
23
|
- MediaWiki URL: commons.wikimedia.beta.wmflabs.org
|
13
24
|
- bundle exec: cucumber --verbose --profile ci --tags @commons.wikimedia.beta.wmflabs.org
|
14
25
|
|
@@ -19,18 +30,6 @@
|
|
19
30
|
## browsertests-commons.wikimedia.beta.wmflabs.org-linux-firefox
|
20
31
|
- Browser Label: firefox
|
21
32
|
|
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
33
|
## browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_9
|
35
34
|
- Browser Label: internet_explorer_9
|
36
35
|
|
@@ -71,7 +70,6 @@
|
|
71
70
|
|
72
71
|
|
73
72
|
# browsertests-test2.wikipedia.org
|
74
|
-
|
75
73
|
- bundle exec: cucumber --verbose --profile ci --tags @test2.wikipedia.org
|
76
74
|
- MediaWiki URL: test2.wikipedia.org
|
77
75
|
|
@@ -102,58 +100,65 @@
|
|
102
100
|
|
103
101
|
|
104
102
|
|
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
103
|
# Flow
|
120
|
-
|
121
104
|
- bundle exec: cucumber --verbose --profile ci --tags @en.wikipedia.beta.wmflabs.org
|
122
105
|
- Recipients: zfilipin@wikimedia.org cmcmahon@wikimedia.org
|
123
|
-
- Repository URL: Flow@gerrit
|
124
|
-
- Branch: master
|
125
106
|
- MediaWiki URL: en.m.wikipedia.beta.wmflabs.org
|
126
107
|
- Folder: tests/browser/
|
108
|
+
- MediaWiki user: Selenium_user
|
109
|
+
- Repository URL: Flow
|
110
|
+
|
127
111
|
|
128
112
|
## Flow-en.wikipedia.beta.wmflabs.org-linux-chrome
|
129
113
|
- Browser Label: chrome
|
130
114
|
|
131
|
-
|
132
115
|
## Flow-en.wikipedia.beta.wmflabs.org-linux-firefox
|
133
116
|
- Browser Label: firefox
|
134
117
|
|
135
118
|
|
136
|
-
## Flow-en.wikipedia.beta.wmflabs.org-linux-internet_explorer_10
|
137
|
-
- Browser Label: internet_explorer_10
|
138
|
-
|
139
|
-
|
140
119
|
|
141
120
|
# MobileFrontend
|
142
|
-
|
143
|
-
- Browser Label: firefox
|
144
121
|
- bundle exec: cucumber --verbose --profile ci
|
145
|
-
-
|
146
|
-
-
|
147
|
-
-
|
122
|
+
- Folder: tests/browser/
|
123
|
+
- MediaWiki user: Selenium_user
|
124
|
+
- Repository URL: MobileFrontend
|
148
125
|
|
149
126
|
|
150
|
-
## MobileFrontend-en.m.wikipedia.beta.wmflabs.org-linux-
|
127
|
+
## MobileFrontend-en.m.wikipedia.beta.wmflabs.org-linux-chrome
|
128
|
+
- Browser Label: chrome
|
129
|
+
- Recipients: mgrover@wikimedia.org
|
151
130
|
- MediaWiki URL: en.m.wikipedia.beta.wmflabs.org
|
152
131
|
|
132
|
+
## MobileFrontend-en.m.wikipedia.beta.wmflabs.org-linux-firefox
|
133
|
+
- Browser Label: firefox
|
134
|
+
- Recipients: cmcmahon@wikimedia.org mgrover@wikimedia.org mobile-l@lists.wikimedia.org mobile-tech@wikimedia.org zfilipin@wikimedia.org
|
135
|
+
- MediaWiki URL: en.m.wikipedia.beta.wmflabs.org
|
153
136
|
|
154
137
|
## MobileFrontend-en.m.wikipedia.org-linux-firefox
|
138
|
+
- Browser Label: firefox
|
139
|
+
- Recipients: cmcmahon@wikimedia.org mgrover@wikimedia.org mobile-l@lists.wikimedia.org mobile-tech@wikimedia.org zfilipin@wikimedia.org
|
155
140
|
- MediaWiki URL: en.m.wikipedia.org
|
156
141
|
|
142
|
+
## MobileFrontend-test2.m.wikipedia.org-linux-firefox
|
143
|
+
- Browser Label: firefox
|
144
|
+
- Recipients: cmcmahon@wikimedia.org mgrover@wikimedia.org mobile-tech@wikimedia.org zfilipin@wikimedia.org
|
145
|
+
- MediaWiki URL: test2.m.wikipedia.org
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
# Translate
|
150
|
+
|
151
|
+
|
152
|
+
## Translate-sandbox.translatewiki.net-linux-firefox
|
153
|
+
- Browser Label: firefox
|
154
|
+
- bundle exec: cucumber --verbose --profile ci --tags @sandbox.translatewiki.net
|
155
|
+
- Recipients: aaharoni@wikimedia.org cmcmahon@wikimedia.org nlaxstrom@wikimedia.org smazeland@wikimedia.org zfilipin@wikimedia.org
|
156
|
+
- MediaWiki URL: sandbox.translatewiki.net
|
157
|
+
- Folder: tests/browser/
|
158
|
+
- MediaWiki user: Selenium
|
159
|
+
- Repository URL: Translate
|
160
|
+
|
161
|
+
|
157
162
|
|
158
163
|
# TwnMainPage
|
159
164
|
|
@@ -162,34 +167,58 @@
|
|
162
167
|
- Browser Label: firefox
|
163
168
|
- bundle exec: cucumber --verbose --profile ci --tags @sandbox.translatewiki.net
|
164
169
|
- 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
170
|
- MediaWiki URL: sandbox.translatewiki.net
|
168
171
|
- Folder: tests/browser/
|
172
|
+
- MediaWiki user: Selenium
|
173
|
+
- Repository URL: TwnMainPage
|
169
174
|
|
170
175
|
|
171
176
|
|
172
177
|
# UniversalLanguageSelector
|
173
178
|
- Browser Label: firefox
|
174
179
|
- 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
180
|
- Folder: tests/browser/
|
181
|
+
- Repository URL: UniversalLanguageSelector
|
177
182
|
|
178
183
|
|
179
184
|
## UniversalLanguageSelector-commons.wikimedia.beta.wmflabs.org-linux-firefox
|
180
185
|
- bundle exec: cucumber --verbose --profile ci --tags @commons.wikimedia.beta.wmflabs.org
|
181
186
|
- MediaWiki URL: commons.wikimedia.beta.wmflabs.org
|
187
|
+
- MediaWiki user: Uls
|
182
188
|
|
183
189
|
## UniversalLanguageSelector-sandbox.translatewiki.net-linux-firefox
|
184
190
|
- bundle exec: cucumber --verbose --profile ci --tags @sandbox.translatewiki.net
|
185
191
|
- MediaWiki URL: sandbox.translatewiki.net
|
192
|
+
- MediaWiki user: Selenium
|
193
|
+
|
186
194
|
|
187
195
|
|
196
|
+
# VisualEditor
|
197
|
+
- Folder: modules/ve-mw/test/browser/
|
198
|
+
- MediaWiki user: Selenium_user
|
199
|
+
- Repository URL: VisualEditor
|
200
|
+
|
201
|
+
|
202
|
+
## VisualEditor-en.wikipedia.beta.wmflabs.org-linux-chrome
|
203
|
+
- Browser Label: chrome
|
204
|
+
- bundle exec: cucumber --verbose --profile ci --tags @en.wikipedia.beta.wmflabs.org
|
205
|
+
- Recipients: cmcmahon@wikimedia.org zfilipin@wikimedia.org
|
206
|
+
- MediaWiki URL: en.wikipedia.beta.wmflabs.org
|
207
|
+
|
208
|
+
## VisualEditor-en.wikipedia.beta.wmflabs.org-linux-firefox
|
209
|
+
- Browser Label: firefox
|
210
|
+
- bundle exec: cucumber --verbose --profile ci --tags @en.wikipedia.beta.wmflabs.org
|
211
|
+
- Recipients: cmcmahon@wikimedia.org jforrester@wikimedia.org zfilipin@wikimedia.org
|
212
|
+
- MediaWiki URL: en.wikipedia.beta.wmflabs.org
|
188
213
|
|
189
|
-
|
214
|
+
## VisualEditor-test2.wikipedia.org-linux-chrome
|
215
|
+
- Browser Label: chrome
|
216
|
+
- bundle exec: cucumber --verbose --profile ci --tags @test2.wikipedia.org
|
217
|
+
- Recipients: cmcmahon@wikimedia.org zfilipin@wikimedia.org
|
218
|
+
- MediaWiki URL: test2.wikipedia.org
|
219
|
+
|
220
|
+
## VisualEditor-test2.wikipedia.org-linux-firefox
|
190
221
|
- Browser Label: firefox
|
191
222
|
- bundle exec: cucumber --verbose --profile ci --tags @test2.wikipedia.org
|
192
223
|
- Recipients: cmcmahon@wikimedia.org jforrester@wikimedia.org zfilipin@wikimedia.org
|
193
|
-
- Repository URL: VisualEditor@gerrit
|
194
224
|
- MediaWiki URL: test2.wikipedia.org
|
195
|
-
- Folder: modules/ve-mw/test/browser/
|
data/docs/template.md
CHANGED
@@ -51,31 +51,28 @@
|
|
51
51
|
- UI Mode: Dropdown list (no inline help, but more compact UI)
|
52
52
|
- Options
|
53
53
|
|
54
|
-
- Display Name: browsertests
|
55
|
-
- Value: git://git.cloudbees.com/wmf/browsertests.git
|
56
|
-
|
57
|
-
- Display Name: browsertests@gerrit
|
54
|
+
- Display Name: browsertests
|
58
55
|
- Value: https://gerrit.wikimedia.org/r/qa/browsertests
|
59
56
|
|
60
|
-
- Display Name: CirrusSearch
|
57
|
+
- Display Name: CirrusSearch
|
61
58
|
- Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/CirrusSearch
|
62
59
|
|
63
|
-
- Display Name: Flow
|
60
|
+
- Display Name: Flow
|
64
61
|
- Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/Flow
|
65
62
|
|
66
|
-
- Display Name: MobileFrontend
|
67
|
-
- Value: git://git.cloudbees.com/wmf/MobileFrontend.git
|
68
|
-
|
69
|
-
- Display Name: MobileFrontend@gerrit
|
63
|
+
- Display Name: MobileFrontend
|
70
64
|
- Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/MobileFrontend
|
71
65
|
|
72
|
-
- Display Name:
|
66
|
+
- Display Name: Translate
|
67
|
+
- Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/Translate
|
68
|
+
|
69
|
+
- Display Name: TwnMainPage
|
73
70
|
- Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/TwnMainPage
|
74
71
|
|
75
|
-
- Display Name: UniversalLanguageSelector
|
72
|
+
- Display Name: UniversalLanguageSelector
|
76
73
|
- Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/UniversalLanguageSelector
|
77
74
|
|
78
|
-
- Display Name: VisualEditor
|
75
|
+
- Display Name: VisualEditor
|
79
76
|
- Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
|
80
77
|
|
81
78
|
## Branch
|
@@ -110,6 +107,7 @@
|
|
110
107
|
- en.wikipedia.beta.wmflabs.org
|
111
108
|
- en.wikipedia.org
|
112
109
|
- sandbox.translatewiki.net
|
110
|
+
- test2.m.wikipedia.org
|
113
111
|
- test2.wikipedia.org
|
114
112
|
|
115
113
|
## Folder
|
@@ -125,9 +123,20 @@
|
|
125
123
|
- name:
|
126
124
|
- (empty)
|
127
125
|
- modules/ve-mw/test/browser/
|
128
|
-
- tests/acceptance/
|
129
126
|
- tests/browser/
|
130
127
|
|
128
|
+
## MediaWiki user
|
129
|
+
|
130
|
+
- ID: MEDIAWIKI_USER
|
131
|
+
- Display Name: MediaWiki user
|
132
|
+
- Type: Text-field
|
133
|
+
|
134
|
+
## MediaWiki password
|
135
|
+
|
136
|
+
- ID: MEDIAWIKI_PASSWORD
|
137
|
+
- Display Name: MediaWiki password
|
138
|
+
- Type: Text-field
|
139
|
+
|
131
140
|
## Jelly-based transformation
|
132
141
|
|
133
142
|
- Property
|
@@ -211,6 +220,9 @@
|
|
211
220
|
<builders>
|
212
221
|
<hudson.tasks.Shell>
|
213
222
|
<command>
|
223
|
+
export MEDIAWIKI_USER=${MEDIAWIKI_USER}
|
224
|
+
export MEDIAWIKI_PASSWORD=${MEDIAWIKI_PASSWORD}
|
225
|
+
|
214
226
|
export BROWSER_LABEL=${BROWSER_LABEL}
|
215
227
|
export MEDIAWIKI_URL=http://${MEDIAWIKI_URL}/wiki/
|
216
228
|
|
@@ -12,6 +12,11 @@ https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/CREDITS.
|
|
12
12
|
config = YAML.load_file('config/config.yml')
|
13
13
|
|
14
14
|
Before('@login') do
|
15
|
+
ENV['MEDIAWIKI_PASSWORD'] = ENV['MEDIAWIKI_PASSWORD_SELENIUM_SANDBOX_TRANSLATEWIKI_NET'] if ENV['MEDIAWIKI_PASSWORD_SELENIUM_SANDBOX_TRANSLATEWIKI_NET']
|
16
|
+
ENV['MEDIAWIKI_PASSWORD'] = ENV['MEDIAWIKI_PASSWORD_SELENIUM_USER_WIKIPEDIA_ORG'] if ENV['MEDIAWIKI_PASSWORD_SELENIUM_USER_WIKIPEDIA_ORG']
|
17
|
+
ENV['MEDIAWIKI_PASSWORD'] = ENV['MEDIAWIKI_PASSWORD_SELENIUM_USER_WMFLABS_ORG'] if ENV['MEDIAWIKI_PASSWORD_SELENIUM_USER_WMFLABS_ORG']
|
18
|
+
ENV['MEDIAWIKI_PASSWORD'] = ENV['MEDIAWIKI_PASSWORD_ULS_WMFLABS_ORG'] if ENV['MEDIAWIKI_PASSWORD_ULS_WMFLABS_ORG']
|
19
|
+
|
15
20
|
puts "MEDIAWIKI_USER environment variable is not defined! Please export a value for that variable before proceeding." unless ENV['MEDIAWIKI_USER']
|
16
21
|
puts "MEDIAWIKI_PASSWORD environment variable is not defined! Please export a value for that variable before proceeding." unless ENV['MEDIAWIKI_PASSWORD']
|
17
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mediawiki-selenium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
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-
|
11
|
+
date: 2013-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|