Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TESTS! #285

Open
2 of 8 tasks
Tracked by #455
viktorsmari opened this issue Apr 11, 2018 · 1 comment
Open
2 of 8 tasks
Tracked by #455

TESTS! #285

viktorsmari opened this issue Apr 11, 2018 · 1 comment

Comments

@viktorsmari
Copy link
Collaborator

viktorsmari commented Apr 11, 2018

Current status of tests:

  • gulp protractor <-- working but limited tests, see e2e/ folder
  • gulp test <-- not working
  • gulp test:auto <-- not working

Current errors:

gulp test output:

PhantomJS 2.1.1 (Linux 0.0.0) Service: Device should contain an object FAILED
	Error: [$injector:modulerr] Failed to instantiate module ngMock due to:
	[$injector:unpr] Unknown provider: $$asyncCallbackProvider
	

NEW e2e tests

Current end2end tests are very limited, and it would be nice to add something like:

  • Make sure that some basic endpoints work (we can visit the /about page)
  • Find a text string like current username on the /profile page
  • Clicking buttons on the graph change / update the graph
  • Writing something to the Search bar will give us results in the dropdown
  • Clicking that dropdown takes us to a kit page or location etc..

Run with gulp protractor

@dsmrs dsmrs mentioned this issue Jul 24, 2018
@dsmrs
Copy link
Contributor

dsmrs commented Jul 24, 2018

I worked on this branch fix-tests (WIP #351) put looks like controllers have diverged way too much to just make the test run (it's running now, but they all fail).

It's a really big work, especially with the controller that we have (a lot of async loadings in the controller, not in the routes).

@viktorsmari viktorsmari pinned this issue Mar 28, 2019
@viktorsmari viktorsmari changed the title Tests should run with 'gulp test' TESTS! Mar 28, 2019
@dsmrs dsmrs mentioned this issue Apr 15, 2019
17 tasks
@oscgonfer oscgonfer unpinned this issue Mar 1, 2023
@oscgonfer oscgonfer mentioned this issue Dec 22, 2023
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants