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

Not possible to run tests interactively? #187

Open
nomego opened this issue Jun 8, 2018 · 4 comments
Open

Not possible to run tests interactively? #187

nomego opened this issue Jun 8, 2018 · 4 comments
Assignees

Comments

@nomego
Copy link
Contributor

nomego commented Jun 8, 2018

When trying http://127.0.0.1:8081/components/cosmoz-omnitable/test/ it is run with the local timezone instead of the Europe/Bucharest TZ enforced in the "yarn lint" command.

Could this be fixed somehow?

Also can we somehow print out that we're doing the shady/shadow runs?
It took me a while to understand why everything was running twice :)

@megheaiulian
Copy link
Collaborator

@nomego We could set the timezone also when running yarn start?.
All tests we added to most components are using Shadow and Shaddy DOM. I will try to find a way to print out something more useful regarding that.
Actually a test runs 4 times in a browser (1.x shaddy, 1.x shadow, 2.x shaddy, 2.x shadow).

@nomego
Copy link
Contributor Author

nomego commented Jun 18, 2018

Would that timezone setting have any other side effects? Sounds good

@megheaiulian
Copy link
Collaborator

Will need to check this. Otherwise time/date tests must be done a bit different.

@programmer4web
Copy link
Contributor

programmer4web commented Jun 27, 2018

  1. test with yarn start and with different timezone; identify failing tests.
  2. try to refactor the failing tests (with an variable of timezone).

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