angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

Cookbook: Resources - Buzz Scenario Test fails

Open Codier opened this issue 15 years ago • 8 comments

The scenario test of Resources - Buzz:

it('fetch buzz and expand', function(){
  element(':button:contains(fetch)').click();
  expect(repeater('div.buzz').count()).toBeGreaterThan(0);
  element('.buzz a:contains(Expand replies):first').click();
  expect(repeater('div.reply').count()).toBeGreaterThan(0);
});

// fails at :
expect(repeater('div.buzz').count()).toBeGreaterThan(0);
element('.buzz a:contains(Expand replies):first').click();

because there may be a change in Buzz API and we are not getting back any buzz to display. We need to update our example to reflect the changes.

Codier avatar Jun 09 '11 18:06 Codier

As part of this fix do these:

  • change binded hrefs into ng:href
  • change binded srcs into ng:src
  • format the code properly (fix indentation)
  • extract in-lined css into <style> and use classes

vojtajina avatar Jun 09 '11 18:06 vojtajina

I think the issue is that there are no buzzes from googlebuzz. If you change the userid to "dalmaer" then it works

On Thu, Jun 9, 2011 at 11:33 AM, vojtajina < [email protected]>wrote:

As part of this fix do these:

  • change binded hrefs into ng:href
  • change binded srcs into ng:src
  • format the code properly (fix indentation)
  • extract in-lined css into <style> and use classes

Reply to this email directly or view it on GitHub: https://github.com/angular/angular.js/issues/381#comment_1336220

mhevery avatar Jun 09 '11 18:06 mhevery

Easy to fix then :-D

vojtajina avatar Jun 09 '11 18:06 vojtajina

so can we just use dalmaer then?

Codier avatar Jun 09 '11 18:06 Codier

we should fined someone who hase pictures so that you don't get broken links

On Thu, Jun 9, 2011 at 11:56 AM, Codier < [email protected]>wrote:

so can we just use dalmaer then?

Reply to this email directly or view it on GitHub: https://github.com/angular/angular.js/issues/381#comment_1336379

mhevery avatar Jun 09 '11 19:06 mhevery

Ok, fixed by f8529672f6fc4610b8ea005383812c597b829187 and c8ee00cb2bfffcc25fdfc14c56b5b82cf71284d5

vojtajina avatar Jun 16 '11 15:06 vojtajina

I think this issue should be reopened. The googleapis.com/buzz URL is returning a 404 no matter the username. I think the project got canceled and the API went with it. I'd suggest using the google+ apis instead for demoing. https://developers.google.com/+/api/

eljobe avatar Feb 22 '12 20:02 eljobe

As Google Buzz no longer exists, this example app isn't helpful anymore and should probably be depreciated. I'm going to close this.

btford avatar Oct 02 '13 20:10 btford