Skip to content

Instantly share code, notes, and snippets.

Adrien Lemaire AdrienLemaire

Block or report user

Report or block AdrienLemaire

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am adrienlemaire on github.
  • I am fandekasp (https://keybase.io/fandekasp) on keybase.
  • I have a public key ASAuVV5IlNsJ7L3l3pzMU1D4sGLJ8jaNPHAEtsapvLho_Ao

To claim this, I am signing this object:

View rofi.console
rofi usage:
rofi [-options ...]
Command line only options:
-no-config Do not load configuration, use default values.
-v,-version Print the version number and exit.
-dmenu Start in dmenu mode.
-display [string] X server to contact.
${DISPLAY}
-h,-help This help message.
View authentication.feature
# features/authentication.feature
@fixture.browser.chrome
Feature: Authentication
A user can create an account and login with his credentials
Scenario: Registration
Given a visitor goes to "/"
And he clicks on "アカウント作成" # Create account
And he clicks on "emailで登録" # via email/password
When he fills the form
View .travis.yml
before_deploy:
- |
cd $HOME/build/miraidenshi/gounite/
cp -R Backend/screenshots artifacts/ # Behave
cp -R Frontend/backstop_data artifacts/ # Backstop
deploy:
provider: gcs
access_key_id: GAORFALERRDDAL3T
secret_access_key:
@AdrienLemaire
AdrienLemaire / css-exec.sh
Last active Feb 4, 2019
backstopjs docker
View css-exec.sh
#!/bin/sh
command=$1
shift
yarn css:config
cd ../GOunite/infrastructure/
docker-compose run --no-deps backstop $command --config=backstop.json $@
cd -
View ci.sh
# Frontend/scripts/ci.sh
#!/bin/bash
yarn ci:fast
echo "TRAVIS_BRANCH=$TRAVIS_BRANCH"
echo "TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST"
USER=miraidenshi
REPO=GOunite
CHECK_TITLE="Slow Tests"
View docker-compose.yml
reverse-proxy:
default:
aliases:
- api.gounite.test
- xpc.gounite.test
View docker-compose.yml
---
version: '3.4' # docker 17.09.0+ & docker-compose 1.23.2
services:
backend: # For CMS & API
build: ../../GOunite-backend
command: python3 manage.py runserver 0.0.0.0:8000
volumes:
- ../../GOunite-backend:/code
- ../../GOunite-frontend/dist_integration:/xpc_test:ro
View environment.py
#features/environment.py
from behave import fixture
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
from splinter.browser import Browser
@fixture(name="fixture.browser.chrome")
def splinter_browser(context):
context.browser = Browser(
driver_name="remote",
View contact.feature
# features/contact.feature
@fixture.browser.chrome
Feature: Contact form
Make sure that the contact form on XPC works as expected
Scenario: Company sending an email
Given a company member going to the contact form
When he fills the form
| name | value |
| lastName | Snow |
You can’t perform that action at this time.