角度测试属性

时间:2019-01-05 17:14:48

标签: angular testing jasmine

我已经决定通过茉莉花和业力进行测试来覆盖我的angular7应用程序,并且发现了一些债务。

  • 1)如果我通过By.css寻找div并且>>> pd.pivot_table( ... df, index='date', columns='source_name', values='title', ... aggfunc=list ... ) source_name Bbc.com ... Youtube.com date ... 2019-01-05 [Paul Whelan: Russia rules out prisoner swap f... ... [Bears Buzz: Eagles at Bears - Wildcard Round ... [1 rows x 18 columns] 没有任何内容 唯一标识符,例如类名或ID。创建诸如>>> df[['date', 'source_name', 'title']].set_index('date').sort_values(['date', 'source_name']) source_name title date 2019-01-05 Bbc.com Paul Whelan: Russia rules out prisoner swap fo... 2019-01-05 Bloomberg Russia Says FBI Arrested Russian Citizen on Pa... 2019-01-05 CNN Pay raises frozen for Pence, Cabinet members u... 2019-01-05 CNN 16 big questions on Robert Mueller's Russia in... 2019-01-05 Colts.com news What They're Saying: Colts/Texans, Wild C... 2019-01-05 Engadget Pandora iOS update adds offline playback for A... 2019-01-05 Espn.com Roger Federer wins Hopman Cup with Switzerland... 2019-01-05 Fox News Japanese 'Tuna King' pays record $3M for prize... 2019-01-05 Fox News Knicks' Turkish star Enes Kanter to skip Londo... 2019-01-05 Latimes.com Flu toll mounts in California, with 42 deaths ... 2019-01-05 NBC News After the fire: Blazes pose hidden threat to t... 2019-01-05 Newser.com After Backlash, Ellen Not Ditching Support for... 2019-01-05 Npr.org Three Dead After Fight Escalates Into Shooting... 2019-01-05 Reuters French 'yellow vests' rail against unrepentant... 2019-01-05 The Hill Trump: 'I don’t care' that most federal employ... 2019-01-05 The Huffington Post 5 Children Dead After Church Van Crashes On Wa... 2019-01-05 The Verge Apple seeks to end bent iPad Pro controversy w... 2019-01-05 Thisisinsider.com Kanye West surprised Kim Kardashian with a $14... 2019-01-05 USA Today See 'Mean Girls' co-stars Lindsay Lohan and Jo... 2019-01-05 Youtube.com Bears Buzz: Eagles at Bears - Wildcard Round -... 之类的独特属性并在茉莉中使用它的正确方法。
  • 2)如何在可能显示的组件上编写测试或 根据变量不显示。我应该写

    divtestName="bla-bla" 或创建一个测试或创建多个测试 哪一种 应该采取什么方法?

0 个答案:

没有答案