clicker icon indicating copy to clipboard operation
clicker copied to clipboard

build successful but problem with test case

Open yokeshvaradhan opened this issue 10 years ago • 3 comments

my test is running, a browser opens as localhost but i am not able to view the elements, but while running ionic serve i could able to see all the elements. My terminal shows error

yokeshs-Mac-mini:myApp yokesh$ sudo npm run e2e Password:

@ e2e /Users/yokesh/myApp gulp --gulpfile test/gulpfile.ts --cwd ./ test.build && ./node_modules/protractor/bin/protractor test/protractor.conf.js

[15:40:06] Requiring external module ts-node/register [15:40:11] sourced Ionic's gulpfile @ /Users/yokesh/myApp/gulpfile.js [15:40:11] Using gulpfile ~/myApp/test/gulpfile.ts [15:40:11] Starting 'test.build'... [15:40:11] Starting 'test.clean'... [15:40:11] Deleted /Users/yokesh/myApp/www/build/test [15:40:11] Finished 'test.clean' after 19 ms [15:40:11] Starting 'sass'... [15:40:11] Starting 'fonts'... [15:40:11] Starting 'html'... [15:40:11] Finished 'html' after 40 ms [15:40:11] Finished 'fonts' after 52 ms [15:40:13] Finished 'sass' after 2.02 s [15:40:13] Starting 'test.build.typescript'... [15:40:17] Finished 'test.build.typescript' after 3.94 s [15:40:17] Finished 'test.build' after 5.99 s Using ChromeDriver directly... [launcher] Running 1 instances of WebDriver Spec started Started

MyApp ✗ should have

i fixed it i did not change the url in protractor.config.js file

yokeshvaradhan avatar Apr 16 '16 11:04 yokeshvaradhan

@yokeshvaradhan how did you resolve this issue?

bringking avatar May 27 '16 16:05 bringking

#191

lathonez avatar Dec 15 '16 00:12 lathonez