Skip to content

Instantly share code, notes, and snippets.

View davehunt's full-sized avatar

Dave Hunt davehunt

View GitHub Profile
script = """
ChromeUtils.import("resource://tps/tps.jsm");
ChromeUtils.import("resource://tps/auth/fxaccounts.jsm", TPS);
let callback = arguments[arguments.length - 1];
let account = {'username': 'test-7cf6790b64@restmail.net', 'password': 'bCWopzdr'}
async function signIn() {
await TPS.Authentication.signIn(account);
callback(true);
};
signIn();
#!/usr/bin/env groovy
pipeline {
agent none
stages {
stage('clone') {
agent any
steps {
checkout([
$class: 'GitSCM',
diff --git a/config/mozunit.py b/config/mozunit.py
--- a/config/mozunit.py
+++ b/config/mozunit.py
@@ -230,6 +230,8 @@ def main(*args, **kwargs):
'--verbose',
'-p', 'mozlog.pytest_mozlog.plugin',
'-p', 'no:cacheprovider',
+ '-p', 'no:terminalreporter',
+ '--log-tbpl', '-',
module.__file__,
RUN mkdir /opt
RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
RUN apk --no-cache add \
curl \
firefox@testing \
msttcorefonts-installer
RUN update-ms-fonts && fc-cache -f
1516985872680 geckodriver INFO geckodriver 0.19.1
1516985872687 geckodriver INFO Listening on 127.0.0.1:50869
*** You are running in headless mode.
1516985873981 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-profile" "/tmp/rust_mozprofile.ZdwPOVjeuwPA"
1516985873984 geckodriver::marionette TRACE connection attempt 0/600
*** You are running in headless mode.
1516985874084 geckodriver::marionette TRACE connection attempt 1/600
1516985874185 geckodriver::marionette TRACE connection attempt 2/600
1516985874286 geckodriver::marionette TRACE connection attempt 3/600
1516985874387 geckodriver::marionette TRACE connection attempt 4/600
1516985812646 geckodriver INFO geckodriver 0.19.1
1516985812650 geckodriver INFO Listening on 127.0.0.1:60475
*** You are running in headless mode.
1516985813834 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-profile" "/tmp/rust_mozprofile.NyU4uETQAhuu"
1516985813836 geckodriver::marionette TRACE connection attempt 0/600
*** You are running in headless mode.
1516985813936 geckodriver::marionette TRACE connection attempt 1/600
1516985814037 geckodriver::marionette TRACE connection attempt 2/600
1516985814137 geckodriver::marionette TRACE connection attempt 3/600
1516985814237 geckodriver::marionette TRACE connection attempt 4/600
1516985249405 geckodriver INFO geckodriver 0.19.1
1516985249409 geckodriver INFO Listening on 127.0.0.1:33193
*** You are running in headless mode.
1516985250696 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-profile" "/tmp/rust_mozprofile.OoAujQpiDQxH"
1516985250700 geckodriver::marionette TRACE connection attempt 0/600
*** You are running in headless mode.
1516985250801 geckodriver::marionette TRACE connection attempt 1/600
1516985250902 geckodriver::marionette TRACE connection attempt 2/600
1516985251006 geckodriver::marionette TRACE connection attempt 3/600
1516985251107 geckodriver::marionette TRACE connection attempt 4/600
1516984093907 geckodriver INFO geckodriver 0.19.1
1516984093910 geckodriver INFO Listening on 127.0.0.1:36387
*** You are running in headless mode.
1516984095186 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-profile" "/tmp/rust_mozprofile.7UAgpiCdDppt"
1516984095187 geckodriver::marionette TRACE connection attempt 0/600
*** You are running in headless mode.
1516984095288 geckodriver::marionette TRACE connection attempt 1/600
1516984095388 geckodriver::marionette TRACE connection attempt 2/600
1516984095489 geckodriver::marionette TRACE connection attempt 3/600
1516984095589 geckodriver::marionette TRACE connection attempt 4/600
This file has been truncated, but you can view the full file.
1516982533817 geckodriver INFO geckodriver 0.19.1
1516982533820 geckodriver INFO Listening on 127.0.0.1:53789
*** You are running in headless mode.
1516982534973 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-profile" "/tmp/rust_mozprofile.4LOkL73Uk0Qy"
1516982534974 geckodriver::marionette TRACE connection attempt 0/600
*** You are running in headless mode.
1516982535074 geckodriver::marionette TRACE connection attempt 1/600
1516982535175 geckodriver::marionette TRACE connection attempt 2/600
1516982535275 geckodriver::marionette TRACE connection attempt 3/600
1516982535375 geckodriver::marionette TRACE connection attempt 4/600
diff --git a/tests/Dockerfile b/tests/Dockerfile
index b7cdd18..b33e1b8 100644
--- a/tests/Dockerfile
+++ b/tests/Dockerfile
@@ -1,8 +1,6 @@
FROM python:2-alpine3.7
-
WORKDIR /src
-COPY requirements.txt /src/requirements.txt
-