Skip to content

Instantly share code, notes, and snippets.

View enriquesanchezb's full-sized avatar

Enrique Sánchez enriquesanchezb

View GitHub Profile
@enriquesanchezb
enriquesanchezb / QE_CHALLENGE.md
Last active October 27, 2019 18:24
QE Challenge 2019

At Cabify we are always testing new features that add value to our users. Could you help us to test our new functionality: Price Calculator?

What is Price Calculator?

We want to help users to choose what kind of journey they want to do and how much this journey will cost. To do it, we want to provide users a new tool to calculate the price of a journey from the most common start points to the most common destination points and get the estimated price for the journey. Once you have the estimation, you can order a car or you can calculate a new journey.

The price for each user is unique and it depends from different things (#journeys for the user, mean journey time for this user, etc.). To do it, we show to the user a 3-number token that the user has to memorise and include in the estimation. The price for a journey depends on distance and vehicle type (Lite: standard price, Executive: 10% expensive about Lite price).

You can find this feature in this [APK](https://www.dropbox.com/s/pdrlcwh3u7bdot4/q

@enriquesanchezb
enriquesanchezb / TEST_CODE.md
Last active April 2, 2019 16:58
QAbify Challenge 2019

Here at QA we like to use different apps and technologies (such as bots) to integrate them in our tests. For this exercise, we will simulate the process of ordering a cab using a messaging client (i.e. Slack, Telegram ...)

We have developed a service to allow us knowing which taxis are in a given city, as well as the status and position of each one of them.

This service is deployed at http://130.211.103.134:4000/api/v1/, and exposes the following endpoints:

GET /taxis -> Returns all the taxis in the system
GET /taxis/<city>/ -> Returns all the free taxis in the city
GET /taxis// -&gt; Returns the information of a taxi
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
<channel>
<title>The Guardian</title>
<link>https://www.theguardian.com/international</link>
<description>
Latest international news, sport and comment from the Guardian
</description>
<language>en-gb</language>
<copyright>

QAbify Challenge

At Cabify we are looking for the best QA and Test Engineer to help us improve processes and ensure the quality of our products.

We propose you a challenge!

Here you have an APK with a simple login process. Your job is easy, automate the login process and verify that the user's token appears in the main page (and it is correct). For this you can use the language (Java, Javascript, Ruby, Python...) and the framework you want (Appium, Calabash ...).

Bonus

@enriquesanchezb
enriquesanchezb / pages_architecture.rb
Created October 6, 2016 14:16
Appium Actor models
class Pages
def initialize(driver)
@driver = driver
end
end
class LoginPage < Pages
def fill_form
puts "#{@driver} fill form"
end
@enriquesanchezb
enriquesanchezb / osx-for-hackers.sh
Created May 9, 2016 08:22 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned. Also, please don't email me about this script, my poor inbox...
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
# Path to your oh-my-zsh installation.
export ZSH=/Users/enrique/.oh-my-zsh
export TERM="xterm-256color"
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
#ZSH_THEME="agnoster"
ZSH_THEME="powerlevel9k/powerlevel9k"
@enriquesanchezb
enriquesanchezb / .bash_profile
Created November 8, 2014 09:55
bash_profile
export PS1="\[\e[00;37m\]\n\[\e[0m\]\[\e[01;36m\][\A]\[\e[0m\]\[\e[00;37m\] \[\e[0m\]\[\e[01;32m\]\u\[\e[0m\]\[\e[01;36m\]@\[\e[0m\]\[\e[01;33m\]\h:\[\e[0m\]\[\e[00;37m\] \[\e[0m\]\[\e[01;35m\]\w\[\e[0m\]\[\e[00;37m\]\n\[\e[0m\]\[\e[01;35m\]->\[\e[0m\]\[\e[00;37m\] \[\e[0m\]"
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
# Composer Alias
alias composer='php /usr/bin/composer.phar'
# Laravel 4 Artisan
alias art='php artisan'