Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding redirect test for /apps

  • Loading branch information...
commit 7bfe5874514f7332af129fd584103d3f8fdfe7c6 1 parent e25215f
@retornam retornam authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 tests/test_redirect.py
View
11 tests/test_redirect.py
@@ -190,3 +190,14 @@ def test_beta_redirect(self, mozwebqa):
response = requests.get(url)
Assert.contains('/en-US/firefox/channel', response.url)
Assert.equal(200, response.status_code)
+
+ @pytest.mark.nondestructive
+ def test_apps_redirect(self, mozwebqa):
+ """
+ Test mozilla.org/apps redirects to
+ http[s]://marketplace.firefox.com
+ """
+ url = mozwebqa.base_url + '/apps'
+ response = requests.get(url)
+ Assert.contains('marketplace.firefox.com', response.url)
+ Assert.equal(200, response.status_code)
Please sign in to comment.
Something went wrong with that request. Please try again.