This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@pytest.fixture(scope='function') | |
def my_base_url(base_url, request): | |
""" | |
Base url used to start the 'live_server'. | |
:returns: Base Url or live_server url. | |
""" | |
if base_url or 'PYTEST_BASE_URL' in os.environ: | |
return base_url or os.environ.get('PYTEST_BASE_URL') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"api": { | |
"olympia.dev": { | |
"jwt_issuer": "user:1:558", | |
"username": "uitest", | |
"jwt_secret": "76aa513c97d524528f071bf879a6b754bcb0075fa3fe360f7ed53cb23a8fb2f6" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -11,7 +11,7 @@ from olympia.lib.settings_base import * # noqa | |
45 | |
44 WSGI_APPLICATION = 'olympia.wsgi.application' | |
43 | |
42 -DEBUG = True | |
41 +DEBUG = False | |
40 DEBUG_PROPAGATE_EXCEPTIONS = False | |
39 | |
38 # These apps are great during development. | |
37 diff --git a/src/olympia/landfill/serializers.py b/src/olympia/landfill/serializers.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM selenium/standalone-firefox | |
USER root | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt-get -y install mysql-server | |
RUN apt-get install -y libmysqlclient-dev | |
RUN apt-get install -y git | |
RUN apt-get install -y nodejs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
addons-frontend: | |
<<: *env | |
environment: | |
- WEBPACK_SERVER_HOST=0.0.0.0 | |
ports: | |
- "3000:3000" | |
- "3001:3001" | |
image: addons/addons-frontend | |
command: yarn amo | |
links: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
base_url = 'http://olympia-frontend.test:3000' | |
selenium = <selenium.webdriver.firefox.webdriver.WebDriver (session="d68d056f-5d99-4a78-a4f8-52829235d4ce")> | |
user = {'display_name': 'Super Created 19f572f3', 'email': 'qahsfgdzcyuw@restmail.net', 'fxa_id': None, 'groups': [], ...} | |
@pytest.mark.withoutresponses | |
def test_logout(base_url, selenium, user): | |
"""User can logout""" | |
page = Home(selenium, base_url).open() | |
page.login(user['email'], user['password']) | |
> page.logout() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1523549652686 geckodriver INFO geckodriver 0.19.1 | |
1523549652689 geckodriver INFO Listening on 127.0.0.1:59827 | |
1523549653780 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-foreground" "-profile" "/tmp/rust_mozprofile.z9fVVVBpCZJw" | |
1523549653781 geckodriver::marionette TRACE connection attempt 0/600 | |
1523549653882 geckodriver::marionette TRACE connection attempt 1/600 | |
1523549653983 geckodriver::marionette TRACE connection attempt 2/600 | |
1523549654083 geckodriver::marionette TRACE connection attempt 3/600 | |
1523549654180 Marionette DEBUG Received observer notification profile-after-change | |
1523549654184 geckodriver::marionette TRACE connection attempt 4/600 | |
1523549654237 Marionette DEBUG Received observer notification command-line-startup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1523642238340 geckodriver INFO geckodriver 0.20.0 | |
1523642238344 geckodriver INFO Listening on 127.0.0.1:52009 | |
1523642239349 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-foreground" "-headless" "-profile" "/tmp/rust_mozprofile.A7mavgesBS3J" | |
1523642239350 geckodriver::marionette TRACE connection attempt 0/600 | |
*** You are running in headless mode. | |
1523642239451 geckodriver::marionette TRACE connection attempt 1/600 | |
1523642239552 geckodriver::marionette TRACE connection attempt 2/600 | |
1523642239653 geckodriver::marionette TRACE connection attempt 3/600 | |
1523642239707 Marionette DEBUG Received observer notification profile-after-change | |
1523642239754 geckodriver::marionette TRACE connection attempt 4/600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row p-l-15 p-r-15 m-b-10 m-l-0 m-r-0"> | |
<div class="col-sm-9 p-l-0 p-r-0"> | |
<h3>Queries</h3> | |
</div> | |
<div class="col-sm-3 text-right"> | |
<h3 ng-transclude=""> | |
</h3> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/olympia/addons/management/commands/approve_addons.py b/src/olympia/addons/management/commands/approve_addons.py | |
index d77fc26806..e6d73b0b3d 100644 | |
--- a/src/olympia/addons/management/commands/approve_addons.py | |
+++ b/src/olympia/addons/management/commands/approve_addons.py | |
@@ -18,12 +18,21 @@ class Command(BaseCommand): | |
def add_arguments(self, parser): | |
parser.add_argument('addon_guid', nargs='+') | |
+ parser.add_argument( | |
+ '--accept-bulk-sign', |
OlderNewer