Disclaimer: This is a basic implementation, and much of the configuration files have been lifted from the aurelia skeleton.
##Install dependencies
npm i -D del gulp-protractor
Disclaimer: This is a basic implementation, and much of the configuration files have been lifted from the aurelia skeleton.
##Install dependencies
npm i -D del gulp-protractor
<Target Name="AdditionalFilesForPackage" AfterTargets="CopyAllFilesToSingleFolderForPackage;CopyAllFilesToSingleFolderForMsDeploy"> | |
<ItemGroup> | |
<AppDataFiles Include="$(MSBuildProjectDirectory)\App_Data\**\*" /> | |
</ItemGroup> | |
<Copy SourceFiles="@(AppDataFiles)" DestinationFiles="@(AppDataFiles->'$(_PackageTempDir)\App_Data\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" /> | |
</Target> |
http://angular.github.io/protractor/#/api
Note: Most commands return promises, so you only resolve their values through using jasmine expect API or using .then(function()) structure
Based on this post: https://spagettikoodi.wordpress.com/2015/01/14/angular-testing-cheat-sheet/ by @crystoll
browser.get('yoururl'); // Load address, can also use '#yourpage'