Zfilipin has uploaded a new change for review.

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

Change subject: WIP Feature: Cache
......................................................................

WIP Feature: Cache

Cucumber code contributed by Antoine Musso[1]. Moved from
qa/browsertests repository[2].

Change-Id: Icdb09ff5e4893d5a441b3a7500219e9e53518a4f
1: http://lists.wikimedia.org/pipermail/qa/2013-August/000280.html
2: https://gerrit.wikimedia.org/r/#/c/78234/
---
A tests/browser/features/cache.feature
1 file changed, 18 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/76/144976/1

diff --git a/tests/browser/features/cache.feature 
b/tests/browser/features/cache.feature
new file mode 100644
index 0000000..1dcb39a
--- /dev/null
+++ b/tests/browser/features/cache.feature
@@ -0,0 +1,18 @@
+@en.wikipedia.beta.wmflabs.org
+Feature: Cache
+
+  Scenario: Editing an article should purge the desktop cache
+    Given I edit a random page using desktop web interface
+    When I visit the page using desktop web interface as an anonymous user
+    Then the page should be up to date
+
+  Scenario: Editing an article should purge the mobile cache
+    Given I edit a random page using desktop web interface
+    When I visit the page using mobile web interface as an anonymous user
+    Then the page should be up to date
+
+  Scenario: Uploading a new version of a file should clear the cached versions 
of the thumbnails
+    Given I have upload a file on Commons
+      And generated a thumbnail
+    When I upload a new version of the file
+    Then the thumbnail should be a different file

-- 
To view, visit https://gerrit.wikimedia.org/r/144976
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icdb09ff5e4893d5a441b3a7500219e9e53518a4f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <zfili...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to