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

208 Коммитов

Автор SHA1 Сообщение Дата
renovate[bot] 15848e116c
Update dependency eslint to v7 (#1852)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Peter deHaan <peter@deseloper.com>
2020-08-04 11:38:54 -07:00
jrbenny35 df9daa9e09 Remove retries in the integration tests. 2020-07-13 19:37:57 -05:00
jrbenny35 f1eccaf025 Fix js lint. 2020-07-13 14:14:39 -05:00
jrbenny35 99eaeae377 Add video reporter for integration tests. 2020-07-13 14:09:54 -05:00
Maxx Crawford 7b7f0889ed Revised entry point names to be more contextual and experimental 2020-06-26 16:24:44 -05:00
Maxx Crawford a0512f89a1 Fixed #1725 - Integrated MozOrg Traffic Cop logic into the experiment. Branch sorting is now dynamic. 2020-06-08 13:28:32 -05:00
Maxx Crawford 9ceb9d4de6 Fixed #1698 - Refactored experiment session setting into a single utility function, and reduced let usage 2020-06-08 13:28:32 -05:00
Maxx Crawford 8abe9f675e
Relaunch: Homepage FxA Experiment (Growth Exp 2) (#1695)
* Fixed #1638 - Added baseline logic for A/B branches across the home page, scan results page and user dashboard pages.

* Adjusted logic (and updated controller test) to split the experiment into 29/29/42 split.

* Added experiment design/content and analytics instrumentation

* Added custom dimension for experiment name

* Updated campaign ID for easier tracking
2020-05-21 13:09:37 -05:00
Maxx Crawford 59ee6bb0ea Added new visual baseline images for the homepage 2020-05-18 14:54:42 -05:00
Maxx Crawford b5e4d34715 Revised both function and test for getExperimentBranch. 2020-05-14 15:04:25 -05:00
Maxx Crawford 31cc8a74a3 Fixed #1687 - Removed Growth Experiment 3 Code 2020-05-14 15:04:25 -05:00
Luke Crouch ab8892888a fix #1685: add resolved stats to breach-stats 2020-05-14 11:31:44 -05:00
Maxx Crawford 7a879d7de8
Breach Results FxA Experiment (Growth Exp 3) (#1659)
* Added experiment logic

* Added A/B test code

* Fixed lint errors from rebase

* Add experiment info to the user (dashboard) template

* Removed rebase artifacts, corrected if-logic in HTML blocks

* Removed the blanket "transport: beacon" settings and moved them to event options as it was breaking analytics reporting in Chrome environments.

* Add new FxA entry points (treatment branch) into FxA reporting

* Revised experiment campaign ID

* Revised home page render to not include experiment assignment functionality, except for when a user passes a URL param.

* Revised test for revised cohort assignment (50/50)

* Removed Experiment 2 Artifacts

* Removed language logic for cohort selection

* Revised cohort split to be 30/30/40

* Reordered view/click ping listeners to fire after the page view event fires.

* Updated tests for scan/user controllers

* Fixed lint errors

* Updated getExperimentBranch unit test comments

* Removed getExperimentBranch function from the user controller, and only set meta info on the page if the user has already been sorted into the experiment.

* Remove debug logging

* Fixed #1652
2020-05-07 11:35:42 -05:00
Maxx Crawford 13837ee4f4 Add antialiasing option to full page check 2020-05-04 13:10:32 -05:00
Maxx Crawford 92a0e77ff7 Increased tolerance for Security Tips page to account for font rendering issues 2020-05-04 13:10:32 -05:00
Maxx Crawford 8920513186
Exp 2 Analytics Fix (#1672)
* Revert pageview nonInteraction change

* Updated utm_campaign for debugging

* Set campaign name/term before pageview send

* Added event trigger for sign-in button clicks

* Updated campaign name for additionally debugging

* Added session dimension

* Added a durable session variable to remember when a session has been removed/excluded from the experiment.

* Fixed #1671 - Updated campaign name for clean data collection

* Added session reset to the experiment assignment unit test

* Updated ga set event to use correct language to set the utm_term: campaignKeyword

* Updated campaign name to stay in-line with experiment naming conventions
2020-04-30 14:08:18 -05:00
Maxx Crawford 5524e76f5d Revised the amount of total users that are exposed to the experiment, based on the coin flip. Added test to confirm that the selection is correct. 2020-04-27 12:32:24 -05:00
Maxx Crawford 00306f44ea Additional revised baseline imagery 2020-04-22 15:13:33 -05:00
Maxx Crawford 39437e5166 Lowed visual tolerance for integration test for browser subjectivity 2020-04-22 15:13:33 -05:00
Maxx Crawford 966df62feb Generated baseline image using docker-build, rather than local machine config. 2020-04-22 15:13:33 -05:00
Maxx Crawford f363b33a8c Be sure that the test page is NOT on a treatment branch 2020-04-22 15:13:33 -05:00
Maxx Crawford 1928773bce Added new baseline images for integration tests 2020-04-22 15:12:46 -05:00
Benjamin Forehand Jr b606a6ffa5
Add retries back to integration tests. (#1635)
* Add retries back to integration tests.

* Try fixing error shots.
2020-04-08 11:20:24 -05:00
Benjamin Forehand Jr b19eff6d4a
Initial commit adding integration tests. (#1557)
* Initial commit adding integration tests.

* Fix test name.

* Adding package-lock.

* Some updates.

* More updates.

* Extend page comparison max to 9.99%

* Removed node assert statement.

* Updated baseline images and tests.

* Added docs, fixed docker configuration file.

* Updates.

* Update docker compose.

* Fix json error.

* Add comment to Dockerfile.

* Comment to trigger CI.

* Moved dependencies to allow for docker image build.

* Add restore command.

* Fix restore command.

* Change docker image.

* Add checkout command.

* Add java.

* Add node version install.

* Trying machine executor.

* Fix typo.:

* Remove old docker command.

* EVERYTHING IN ONE SHELL.

* Trying nvm.

* Fix typo.

* Fix node version...

* Fix typo.

* More node stuff.

* Updates to docker compose.

* Add chown to circleci config.

* Fix docker login error.

* Change exec command user.

* Add screenshots for debugging.

* Try fixing js command.

* Try fixing js command again.

* Change screenshot path

* Add mkdir for error shots.

* Trying something for postgres.

* Updates.

* Fix lint error.

* Try fixing errorshots.

* Updates before rebase.

* Updated baseline for new homepage.

* Remove baseline image save.

* Trying a change for errorshots.

* Update test.
2020-04-03 14:48:07 -05:00
Luke Crouch 32c27c67fd mock HIBP.subscribeHash during user verify tests 2020-04-01 16:20:38 -05:00
Luke Crouch 49764deff0 fix user controller tests 2020-02-25 11:57:05 -06:00
Luke Crouch afa029cf42 fix email_addresses.verified update 2020-02-12 15:15:18 -06:00
Luke Crouch ef2de4bd4f for #1412: add tests for getDashboard 2020-01-15 09:02:40 -06:00
Luke Crouch 1f6f3b339d for #1412: annotate breaches with recencyIndex BEFORE filtering 2020-01-15 09:02:40 -06:00
Luke Crouch af4932c619 fix #1426: handle HTTPError during getProfileData 2020-01-06 14:08:21 -06:00
Luke Crouch 1d327f2209 fix #1374: add tests for getBreachStats 2019-11-18 11:46:24 -06:00
Luke Crouch 258c86fdcb fix #1374 - import FXA from new lib/fxa exports 2019-11-18 10:22:29 -06:00
Luke Crouch 3cdd0c0e3e fix #816: refresh fxa profile data on page loads 2019-11-13 14:46:39 -06:00
Luke Crouch cd8d2007e1 for #1329: preserve utm params in redirect 2019-11-07 11:09:05 -06:00
Luke Crouch a9bb8c66de for #1329: add test for requireSessionUser 2019-11-04 15:47:22 -06:00
Luke Crouch e349e1cb1a fix #1329: redirect user to FxA sign-in instead of error 2019-11-01 15:48:04 -05:00
Luke Crouch 7723598824 enforce query and session state values 2019-10-16 08:42:07 -05:00
Luke Crouch 73a54fe2b5 fix #1087: don't require active session to verify 2019-09-26 13:15:02 -05:00
Luke Crouch e921363881 for #1182: lowercase email addresses for all HIBP calls
for #1182: script to lower-case sha1 db records
2019-09-16 10:31:06 -05:00
Luke Crouch afda7dff37 fix #1064: mock sns-validator during tests 2019-07-11 10:26:46 -05:00
Luke Crouch 93a56c7661 fix #1110: add /user/breach-stats endpoint 2019-07-10 14:54:41 -05:00
Lesley Norton 8a7fe89ea6
Merge branch 'master' into update-dashboard-and-preferences 2019-06-06 10:22:03 -05:00
luke crouch c051cdf67a
Merge pull request #1075 from mozilla/update-breach-alert-subject
Add and use new string for the subject of breach alert emails.
2019-06-06 10:15:24 -05:00
luke crouch 09bfb84af8
Merge pull request #1009 from mozilla/fix-ses-callbacks-985
fix #985: update SES callback code for multiple emails
2019-06-05 15:11:58 -05:00
Lesley Norton 07eea8b882 Update HIBP controller test. 2019-06-05 14:28:15 -05:00
Luke Crouch d2f677986b fix #985: update ses tests for email_addresses 2019-06-05 11:42:35 -05:00
Luke Crouch 14266ee09f fix #966: start error-must-be-signed-in message 2019-06-04 11:38:12 -05:00
luke crouch fd1c2cbeea
Merge pull request #999 from mozilla/destroy-fxa-tokens-992
fix #992: destroy access and refresh tokens on Remove
2019-05-30 14:39:53 -05:00
lesleyjanenorton d8105c9ce9 Update tests. 2019-05-29 17:04:31 -05:00
Luke Crouch 399ce03aed fix tests for #992 2019-05-23 16:06:31 -05:00