tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

puppeteer.yml (1712B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 ---
      5 task-defaults:
      6    run-on-repo-type: [hg]
      7    platform: linux2404-64/opt
      8    require-build:
      9        by-project:
     10            try:
     11                linux2404-64/opt: build-linux64/opt
     12            default:
     13                linux2404-64/opt: build-linux64-shippable/opt
     14    fetches:
     15        build:
     16            - target.tar.xz
     17        toolchain:
     18            - linux64-node
     19    treeherder:
     20        kind: test
     21        tier: 1
     22    worker-type: t-linux-docker-amd
     23    worker:
     24        docker-image: {in-tree: ubuntu2404-test}
     25        max-run-time: 3600
     26        artifacts:
     27            - type: file
     28              name: public/remote/pup_errorsummary.json
     29              path: /builds/worker/pup_errorsummary.json
     30    optimization:
     31        skip-unless-expanded: null
     32 
     33 puppeteer-{this_chunk}:
     34    description: Puppeteer tests against Firefox with Webdriver BiDi remote protocol
     35    chunk:
     36        total-chunks: 2
     37        substitution-fields:
     38            - name
     39            - treeherder
     40            - run
     41    treeherder:
     42        symbol: Pup({this_chunk})
     43    run:  # Bug 1651542: Use screenshot feature to warm-up the font cache before the actual test
     44        using: run-task
     45        command: >
     46            cd $GECKO_PATH/ &&
     47            $MOZ_FETCHES_DIR/firefox/firefox --screenshot http://example.org &&
     48            ./mach puppeteer-test --ci -vv --binary $MOZ_FETCHES_DIR/firefox/firefox --headless --log-tbpl - --log-errorsummary /builds/worker/pup_errorsummary.json --this-chunk={this_chunk} --total-chunks={total_chunks}