[Bug 58555] Create API Upload Wizard Smoke Tests

2014-02-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 Chris McMahon cmcma...@wikimedia.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 58555] Create API Upload Wizard Smoke Tests

2014-02-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 Andre Klapper aklap...@wikimedia.org changed: What|Removed |Added Status|PATCH_TO_REVIEW |NEW

[Bug 58555] Create API Upload Wizard Smoke Tests

2014-01-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 Bug 58555 depends on bug 58923, which changed state. Bug 58923 Summary: Schedule jobs to run extensions/UploadWizard/test/api/upload-wizard_tests.py' at appropriate times. https://bugzilla.wikimedia.org/show_bug.cgi?id=58923 What

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 Jeff Hall jh...@wikimedia.org changed: What|Removed |Added See Also|

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 Jeff Hall jh...@wikimedia.org changed: What|Removed |Added Assignee|wikibugs-l@lists.wikimedia. |aarcos.w...@gmail.com

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 aarcos.w...@gmail.com changed: What|Removed |Added Depends on||58923 -- You are receiving

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #20 from aarcos.w...@gmail.com --- Could be interesting to have an icingna type check that runs say every 20 minutes which uploads a small file to upload stash on commons (bonus points for also doing chunked in addition to normal),

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #15 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 102603 had a related patch set uploaded by Hashar: Smoke tests for Upload Wizard using the API. https://gerrit.wikimedia.org/r/102603 -- You are receiving this

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 Gerrit Notification Bot gerritad...@wikimedia.org changed: What|Removed |Added Status|UNCONFIRMED

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #16 from Tisza Gergő gti...@wikimedia.org --- (In reply to comment #14) That step is not really functional anyway; even if the upload was not successful, the test will succeed, because the image hasn't been removed after

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #17 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 102603 merged by jenkins-bot: Smoke tests for Upload Wizard using the API. https://gerrit.wikimedia.org/r/102603 -- You are receiving this mail because: You

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #18 from aarcos.w...@gmail.com --- Hi again folks, it seems the script has been merged into HEAD. The idea is for these tests to be run as a precondition for a deployment in any of our environments (alpha, beta, prod). The tests

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #19 from Bawolff (Brian Wolff) bawolff...@gmail.com --- I can create them with the Test images label and I would assume they would be ignored. Also, keep in mind that theses tests are not supposed to be run as frequently as

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #9 from Chris McMahon cmcma...@wikimedia.org --- I like this. I was able to 'pip install' poster and wikitools easily, and assert() yields a message on failure like: i$ python upload-wizard_tests.py Traceback (most recent call

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #10 from Bawolff (Brian Wolff) bawolff...@gmail.com --- I am looking at http://commons.wikimedia.org/wiki/Special:RecentChanges and not seeing contributions from user mw_test_uw_1 ? I do not think tests that create data

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #11 from Bawolff (Brian Wolff) bawolff...@gmail.com --- (In reply to comment #10) I am looking at http://commons.wikimedia.org/wiki/Special:RecentChanges and not seeing contributions from user mw_test_uw_1 ? I do

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #12 from Tisza Gergő gti...@wikimedia.org --- (In reply to comment #10) I do not think tests that create data entries should be run on the real wiki. That step is not really functional anyway; even if the upload was not

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #13 from Chris McMahon cmcma...@wikimedia.org --- note that Commons has a Category Test images which this test should use if it loads a real file. -- You are receiving this mail because: You are the assignee for the bug. You are

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #14 from aarcos.w...@gmail.com --- Thanx for your comments, below my replies: I do not think tests that create data entries should be run on the real wiki. How do we test that the functionality is working in the real wiki then?

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #8 from aarcos.w...@gmail.com --- Hi again folks, I followed some of your recommendations and decided to use a more lightweight library. One suggestion was: https://code.google.com/p/python-wikitools/ This looked very

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 Andre Klapper aklap...@wikimedia.org changed: What|Removed |Added Priority|Unprioritized |Normal

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #2 from Tisza Gergő gti...@wikimedia.org --- If we stick to PHP (not a great language for scripts, on the other hand everyone is familiar with it), then Behat is a nice BDD framework. It is Gherkin-based so the tests would be

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #3 from Chris McMahon cmcma...@wikimedia.org --- QA uses Ruby for browser tests because the tools available (Cucumber, RSpec, Selenium+watir-webdriver) are the best available for browser testing. Ruby was a great choice for

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #4 from Bawolff (Brian Wolff) bawolff...@gmail.com --- (In reply to comment #3) QA uses Ruby for browser tests because the tools available (Cucumber, RSpec, Selenium+watir-webdriver) are the best available for browser testing.

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #5 from Jeff Hall jh...@wikimedia.org --- I did a lot automated test development at the API and web service layer in my previous job using Ruby. We used the generic Test/Unit (i.e. xUnit) framework with additional Rubygems for JSON

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #6 from aarcos.w...@gmail.com --- Hi there folks, Thanks for your comments, it seems I read them too late though because this morning I was able to create a Python test that uploads an image a la UW. I used a pointer given by

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #7 from aarcos.w...@gmail.com --- Any pointers on how to move these proof of concept tests to '.../extensions/UploadWizard/test' would be appreciated. Thanx ! -- You are receiving this mail because: You are the assignee for the

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 aarcos.w...@gmail.com changed: What|Removed |Added See Also||https://bugzilla.wikimedia.

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 aarcos.w...@gmail.com changed: What|Removed |Added Blocks||58353 -- You are receiving

[Bug 58555] Create API Upload Wizard Smoke Tests

2013-12-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58555 --- Comment #1 from aarcos.w...@gmail.com --- I've been playing with the UI for some days now and I think I have a good idea on what API's calls are made and came up with curl commands that do the same. There are a few details missing but these