Skip to content

Instantly share code, notes, and snippets.

View david-dasilva's full-sized avatar
👨‍💻
*tip* *taptap* *tip*

David Da Silva david-dasilva

👨‍💻
*tip* *taptap* *tip*
View GitHub Profile
@david-dasilva
david-dasilva / commands.js
Created August 28, 2019 08:57
Commande Cypress qui retente une requête jusqu'a obtenir une certaine valeur
Cypress.Commands.add('waitUntilTransactionStatusIs', (url_tx, status, nbOfRetries) => {
/**
* Cette commande va retenter d'obtenir le status de la Transaction jusqu'à ce qu'il ai une certaine valeur.
*/
Cypress.log({
displayName: "Wait TX Status",
message: status
})
# Read the contents of ~/.path into $PATH, if ~/.path exists. ~/.path should be a file
# consisting of one path on each line, such as:
#
# ~$ cat ~/.path
# # vim: ft=sh
# ~/usr/bin
# /opt/local/bin
# ... etc ...
#
# Note that comments begin with a hash (#).