Граф коммитов

132 Коммитов

Автор SHA1 Сообщение Дата
Kevin Meinhardt 59156f8674
Stability fixes for docker compose lifecycle (#22378)
* Stability fixes for docker compose lifecycle

* Update docs/topics/development/setup_and_configuration.md

Co-authored-by: Andrew Williamson <awilliamson@mozilla.com>

* TMP: response to comments

* Update docs/topics/development/setup_and_configuration.md

Co-authored-by: William Durand <will+git@drnd.me>

---------

Co-authored-by: Andrew Williamson <awilliamson@mozilla.com>
Co-authored-by: William Durand <will+git@drnd.me>
2024-06-21 14:22:42 +02:00
Andreas Wagner 2bbb6ff52c
Hard-code super user name and email (#22296) 2024-06-05 18:20:59 +02:00
Kevin Meinhardt 299dc4922b
More efficient utilization of github action cache (#22314)
* More efficient utilization of github action cache

* Set cache from/to only in CI

* Update Dockerfile

Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>

---------

Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
2024-06-05 14:48:42 +02:00
Kevin Meinhardt f4bdaec5bb
Add configurable compose file to make up flow (#22299) 2024-05-30 13:02:26 +02:00
Kevin Meinhardt ddade2a62b
Fix Docker build and add concurrency limit (#22273)
* Fix Docker build:
- get correct Image ID from the build.
- set docker tag correctly supporting tag and digest
- add concurrency limit to github action ci jobs

* TMP: remove easy way to get build digest as it is not really intended for local dev

* Update .circleci/config.yml

Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>

* TMP: recomment build

---------

Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
2024-05-24 10:09:09 +02:00
Kevin Meinhardt d3b3a50ac5
Docker digest (#22260)
* Refactor unified setup script to manage .env and version.json files in readable python

* Support using digest to run docker image

* Update scripts/setup.py

Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>

* TMP: build image

* TMP: better logs

---------

Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
2024-05-21 13:02:19 +02:00
Kevin Meinhardt c4f4ba6487
"Fix makefile env variables definition" (#22246)
* TMP: refactor buildx bake definition and test

* TMP: better initialization and organization of make file env vars (docker relevant +)

* TMP: cleaner code.

* TMP: remove build
2024-05-16 14:49:37 +02:00
Mathieu Pillard 37f65c46b8
Remove WIP performance tests - they were never used and are outdated (#20471) 2023-03-15 11:40:37 +01:00
Bob Silverberg 1cce5a3b5d
Configure addons-server to start sending data to GA4 (#20346) 2023-02-15 10:59:32 -05:00
Andrew Williamson 682938effc
rm /pages/appversions/ (#20073)
* rm /pages/appversions/

* update test; rm unused imports; rm amo/feeds.py

* more test variable changes
2022-12-12 10:04:19 +00:00
Andrew Williamson 80f526e840
run pyupgrade (#17603)
* let pyupgrade work as command line tool

* run_pyupgrade and black on src/ tests/ services/

* delete the comment as absolute_import is gone
2021-08-05 15:00:44 +01:00
renovate[bot] 4ec1a2d7a1
Lock file maintenance (#17155)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: William Durand <will+git@drnd.me>
2021-05-26 11:28:06 +02:00
William Durand e61d8b0de7
"Black" all the things! (#16123) 2020-12-09 19:24:56 +01:00
William Durand 85cb8010cb
Fix wrong date on stats overview page (#15604) 2020-10-01 16:19:06 +02:00
William Durand c2e92e7482
Introduce Prettier (#15131) 2020-08-03 14:55:07 +02:00
William Durand 1d37fe4122
Fix dates in stats export links (csv/json) (#15086) 2020-07-30 14:00:07 +02:00
William Durand 9a129eb7a4
Update logging config (#14310) 2020-05-19 16:54:15 +02:00
William Durand 13a828e338
Use log.warning instead of log.warn (#14102) 2020-04-29 18:34:32 +02:00
dbxnr 0c845636a9 Remove code for ui tests 2020-01-13 23:15:17 +00:00
jrbenny35 bde4aaf1f9 Add a fixture override for integration tests. 2019-11-25 14:56:31 -06:00
jrbenny35 4bbb377b12 Fix formatting. 2019-11-25 11:48:44 -06:00
jrbenny35 3ff3cfc8e2 Remove baseurl command line flag from integration tests. 2019-11-25 11:27:04 -06:00
William Durand 31bc14b5bf
Bump docker-compose version to 2.4 (#12689) 2019-10-22 18:07:01 +02:00
jrbenny35 91313be0e3 Update addon creation for new heros. 2019-10-01 18:01:47 -05:00
Benjamin Forehand Jr 0fd505395f Updated upload UI steps. 2019-08-22 12:30:56 -05:00
Benjamin Forehand Jr 64d342624f Changed try/except logic. 2019-08-21 19:27:27 -05:00
Benjamin Forehand Jr 5efbf88655 Small logic change. 2019-08-21 17:18:20 -05:00
Benjamin Forehand Jr 7f2a9dc8a5
Updated logic and potential permissions fix. (#12153) 2019-08-20 13:30:48 -05:00
Benjamin Forehand Jr 8de22454c5
Update blank search test. (#12089) 2019-08-09 14:55:09 -05:00
Benjamin Forehand Jr fa6aed7253
Add python script for fxa email gen. (#11954)
* Add python script for fxa email gen.
2019-07-30 09:38:50 -05:00
Benjamin Forehand Jr 5c7c263d8d
Fix linter error for uitests. (#11923) 2019-07-24 13:08:41 -05:00
Benjamin Forehand Jr 62a0781769
Fix special char search test. (#11854)
* Fix special char search test.

* Fixed test logic.

* More fixes.

* flake8 fixes

* Updates.

* Fix flake9.
2019-07-18 14:51:16 -05:00
Benjamin Forehand Jr 17d4886b14
Move some config to env variable for integration tests. (#11836) 2019-07-15 13:47:47 -05:00
Benjamin Forehand Jr 1532cb6059
Disable frontend related tests. (#11831) 2019-07-13 18:20:20 -05:00
Benjamin Forehand Jr 71e85599d2
Initial attempt at fixing integration-tests. (#11811)
* Initial attempt at fixing integration-tests.

* Updates.

* Update logic for devhub install test.

* Updates for codestyle.

* More flake8 fixes.

* Added comment.
2019-07-12 10:09:13 -05:00
Benjamin Forehand Jr dcf5e891db
Fix for 'Server Error' with integration-tests on CI. (#11169)
* Fix for 'Server Error' with integration-tests on CI.

* Fix for codestyle.
2019-04-08 13:35:15 -04:00
Benjamin Forehand Jr 187b7c2a89
Remove pytest reruns from integration-tests. (#11139)
* Remove pytest reruns from integration-tests.

* Updated submission logic.

* Fixes for codestyle.
2019-04-04 14:09:00 -04:00
Benjamin Forehand Jr 241c59e2d5
Update docs for new procedures regarding integration testing. (#11076)
* Update docs for new procedures regarding integration testing.

* Add section for setup.

* Add setup command to makefile-os.
2019-04-01 20:45:40 -04:00
Benjamin Forehand Jr 901ad6a5f8
Update docker-compose file to use latest addons-frontend image. Added new homepage test. (#11050) 2019-04-01 10:12:28 -04:00
Benjamin Forehand Jr 9f8f44dfe6
Add devhub upload, approve, install (#11021)
* Add devhub upload, approve, install integration-test
2019-03-28 09:05:41 -04:00
Benjamin Forehand Jr d1504e4ee3
Try using newer circleci image for integration-test job. (#11007)
* Try using newer circleci image for integration-test job.
2019-03-25 19:35:50 -04:00
Benjamin Forehand Jr a5e921077c
[UI-Tests] Add preference that prints console logs to geckodriver log. (#10958) 2019-03-18 22:42:04 -04:00
Benjamin Forehand Jr 2d99d6f3da
Fix ui tests for new nginx config (#10888)
* Fixes for Ui-tests using new nginx config.
2019-03-11 19:20:06 -04:00
Christopher Grebs 7b34c1b7d1
Fix addons-frontend running as default frontend. (#10692)
The frontend runs quite nicely with the changes from addons-nginx container but the initial page load runs into some wacky connection errors.

https://www.irccloud.com/pastebin/gTMteTUf/

This change fixes this.

Fixes https://github.com/mozilla/addons-server/issues/10855
2019-03-05 13:23:56 +01:00
Christopher Grebs f26a150086
Remove amo-validator, remove support for uploading legacy-addons. (#10553)
* Remove amo-validator, remove more support for uploading legacy-addons.

This is dropping most of our compatibility checks for legacy add-ons and
completely blocks them from being uploaded.

We workaround this block for mozilla-signed add-ons by issuing the same
error, just as a warning instead of an actual error.

This affected *loads* of our tests so the PR contains more test-changes
then I'd like.

In addition to that this PR adds file extension validation for uploads,
we only did that in our JavaScript and never in our code. So from now
on, we have a hard limit to only allow whatever is in
`VALID_EXTENSIONS`.

Further...

* drop amo-validator and related dependencies
* remove `dump_apps` management command
* removed unused fixture files from the repo

Fixes #10502

Future improvement idea for our test-suite: Unify add-on file fixtures
under one single folder to avoid any duplication.

There is most certainly some more improvements that could be made to
code and test structure but I went for the least changes, it's way too
huge already :-/

* Fix syntax error in JavaScript, thus ui tests

* Switch back to passing 'channel' around

* Move valid addon file extensions to constants/base

* Fix validate() call

* Fix more tests

* Update src/olympia/devhub/tests/test_views_validation.py

Co-Authored-By: EnTeQuAk <cg@webshox.org>

* Remove old comment

* Issue description specific only to Thunderbird and Seamonkey if targeting thunderbird or seamonkey
2019-02-01 08:52:04 +01:00
Christopher Grebs 9e8468f8cd
Replace pytest-responses with our own custom implementation. (#10410)
Fixes #10399

Closes #10378
Closes #10317

This also updates pytest to 4.1.1
2019-01-16 12:26:45 +01:00
Benjamin Forehand Jr 16a485421c
Add additional search tests (#10206)
### Add additional search tests

* Check that search suggestion list exact matches higher than other suggestions
* Check that long terms searching don't break results page
* Verify blank search functionality
* Check that selecting an item from search suggestions can be made by clicking on it
* Check that ESC dismisses the suggestion search results
* Check that suggestions change if chars are added or deleted
* Check that special chars don't break search
* Check that caps and lowercases have same search suggestions
2018-12-19 10:50:49 -05:00
Christopher Grebs 4fcf788bd0
Proposal: Reverse 'Continue' and 'Cancel and Disable...' buttons. (#10142)
Personally, the current order adds a lot of stress to the user to click
the correct button.

When you upload your file (very first screen) the Continue button is on
the very left side, all continuous screens switch it to be on the right
hand site. Even though the 'Cancel' button is red, it takes a bit of
time to parse which button you're going to press and ending up in a
disabled/incomplete state isn't really nice.

This changes that behaviour and fixes #7556 along the way.

![screenshot from 2018-12-03 13-07-10](https://user-images.githubusercontent.com/139033/49372994-c6111580-f6fc-11e8-9b41-d3cebc69771a.png)

cc @jvillalobos or @wagnerand for opinions on that.
2018-12-05 10:20:50 +01:00
Benjamin Forehand Jr 7b322c8ec0
Xfail filter search tests. (#10152)
Fixes #10150
2018-12-03 13:51:19 -05:00
Christopher Grebs 4a207aeed2
Split selenium based docker-config into tests/ui/docker-compose.selenium.yml (#10143)
Unfortunately, we'll have to duplicate the environment config but I added
a comment so that should be fine. It's very rarely being used anyway.

Fixes #9288
2018-12-03 17:40:00 +01:00