Variables
On this page
You can store and retrieve values on each steps call.
#Usage
Copied!
1$this->it('Récupère l\'ID du produit créé', function () {2 $id = $this->getPage()->/* ... */;3 $this->store('product_id', $id);4})5 6->it('Vérifie que le produit existe', function () {7 $id = $this->retrieve('product_id');8 // utilise $id...9})