Notification in Firefox are a crucial part of its functionality. Firefox uses autopush for this. This repo contains a set of tests to check the functionaility of thhese notifications.
The tests use Selenium, pytest, docker as well as Firefox.
Make sure you have installed docker-compose as well as Docker.
docker-compose up --build -d
docker-compose exec firefox pip3 install --user -r requirements.txt
docker-compose exec firefox python3 -m pytest --driver Firefox --env dev
--env
: stage, dev, prod. This controls the URL that is set for the push server.
- stage: wss://autopush.stage.mozaws.net
- dev: wss://autopush.dev.mozaws.net/
- prod: wss://push.services.mozilla.com/