Hi Hasan See http://stackoverflow.com/a/21804302/265261.
Best, Arve On Sun, Apr 19, 2015 at 9:47 PM, Hasan Naqvi <[email protected]> wrote: > Hi Arve! > > Did you find the solution? > /Hasan > > > On Tuesday, 11 February 2014 00:21:41 UTC+1, Arve Knudsen wrote: >> >> Hi guys >> >> I'm new to Protractor and think it's great so far, but I'm sort of stuck >> when it comes to setting up a database test fixture. What I need to do is >> inject data into my database (OrientDB) by POSTing to its REST API, before >> the test, and remove the same data after the test (also via REST). How can >> I accomplish this from Protractor? I figure I might use the Node http >> <http://nodejs.org/api/http.html> module, but then I would need to be >> able to write an async test, See also my stackoverflow question >> <http://stackoverflow.com/questions/21689089/how-can-i-make-a-post-request-from-a-protractor-test> >> on >> the problem. >> >> Thanks in advance, >> Arve >> > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
