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

Reply via email to