[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-05-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

--- Comment #13 from Jon jrob...@wikimedia.org ---
Can someone review https://gerrit.wikimedia.org/r/125864 - getting it merged
will resolve this bug as it will mean MobileFrontend has no page specific code.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-05-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

--- Comment #14 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 125864 merged by jenkins-bot:
QA: Remove dependency on Barack Obama article

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-05-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

Jon jrob...@wikimedia.org changed:

   What|Removed |Added

 Status|PATCH_TO_REVIEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #15 from Jon jrob...@wikimedia.org ---
Win.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-04-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

--- Comment #9 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 125008 merged by jenkins-bot:
QA: Remove dependency on San Francisco article

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-04-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

--- Comment #10 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 125857 merged by jenkins-bot:
QA: Make the test environment agnostic of existing pages #2

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-04-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

--- Comment #11 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 125859 merged by jenkins-bot:
QA: Remove dependency on Duel Masters article

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-04-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

--- Comment #12 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 125861 merged by jenkins-bot:
QA: Remove dependency on Foo bar article

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-04-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

--- Comment #5 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 125857 had a related patch set uploaded by Jdlrobson:
QA: Make the test environment agnostic of existing pages #2

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-04-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

--- Comment #7 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 125861 had a related patch set uploaded by Jdlrobson:
QA: Remove dependency on Foo bar article

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-04-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

--- Comment #6 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 125859 had a related patch set uploaded by Jdlrobson:
QA: Remove dependency on Duel Masters article

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-04-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

--- Comment #8 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 125864 had a related patch set uploaded by Jdlrobson:
QA: Remove dependency on Barack Obama article

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-04-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

--- Comment #4 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 125008 had a related patch set uploaded by Jdlrobson:
QA: WIP Make the test environment agnostic of existing pages

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-04-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

Gerrit Notification Bot gerritad...@wikimedia.org changed:

   What|Removed |Added

 Status|NEW |PATCH_TO_REVIEW

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-02-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

Bug 56057 depends on bug 58939, which changed state.

Bug 58939 Summary: investigate using API to set up test data for browser tests
https://bugzilla.wikimedia.org/show_bug.cgi?id=58939

   What|Removed |Added

 Status|PATCH_TO_REVIEW |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-01-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

--- Comment #3 from Željko Filipin zfili...@wikimedia.org ---
Duplicate of bug #60347?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-01-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

Bug 56057 depends on bug 58939, which changed state.

Bug 58939 Summary: investigate using API to set up test data for browser tests
https://bugzilla.wikimedia.org/show_bug.cgi?id=58939

   What|Removed |Added

 Status|RESOLVED|PATCH_TO_REVIEW
 Resolution|FIXED   |---

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2014-01-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

Jon jrob...@wikimedia.org changed:

   What|Removed |Added

 Depends on||58939

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2013-10-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

--- Comment #2 from Željko Filipin zfili...@wikimedia.org ---
I agree that each test should make sure everything it needs exists and create
users, pages, files (...) if they already do not exist.

If deleting pages is hard, that is a separate problem that should be fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 56057] Tests should not rely on the existence of specific pages (be wiki agnostic)

2013-10-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=56057

--- Comment #1 from Chris McMahon cmcma...@wikimedia.org ---

This is by design. 


Browser tests in the public repo are intended to use the beta cluster,
test2wiki, and/or production as targets, and we are in a position to manage the
contents of those test environments.  We put this in place from the very
beginning to a) avoid the works on my machine problems b) keep the
setup/teardown overhead to a minimum and c) run the tests in a complex
environment that approximates production as closely as possible. 

We have a few tests that create new pages where it makes sense to test creating
new pages. There is no reasonable mechanism by which to delete pages in
Mediawiki. 

So, if you want a suite of tests to run against a local Mediawiki environment,
you could do a number of things: 

* maintain a branch of tests that do not depend on particular test data being
in place
* at runtime, swap out the existing foo_page.rb files for similar files that
point to the URL of your choice, override the browser.url variable, or
otherwise alter the existing value for e.g. Barack_Obama
* maintain a minimal set of test data in your local env for the tests to pass
without alteration

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l