Protractor - Wait for async promise before doing next
First of all, I've already checked various post and blogs concerning that point and I still can't figure out how to make it correctly. I have tried many different combinaison of : browser wait protractor.controlFlow().execute protractor.controlFlow().await( ...Still no success.. My problem Within my beforeEach function, I'd like to call a protractor promise and wait for it to resolve before performing the rest of my code. My Code I've prepared this simple test for anyone willing to help me describe('testAsync', function() { beforeEach(function() { console.log('beforeEach - step 1 ') browser