UNPKG

testeranto

Version:

the AI powered BDD test framework for typescript projects

22 lines (21 loc) 825 B
export const specification = (Suite, Given, When, Then) => { return [ Suite.Default("AppFrame basic rendering", { "renders container": Given.Default([], [], [Then.RendersContainer()]), "has main content area": Given.Default([], [], [Then.HasMainContent()]), has_footer: Given.Default([], [], [Then.HasFooter(), Then.takeScreenshot("hello.png")]), }), // Suite.Layout("AppFrame layout structure", { // "contains settings button": Given.Default( // [], // [], // [Then.HasSettingsButton()] // ), // "contains testeranto link": Given.Default( // [], // [], // [Then.HasTesterantoLink(), Then.takeScreenshot("hello.png")] // ), // }), ]; };