Comments (4)
@lorensr If you open the tests in your browser, this browser will run the tests - not the one you defined in TEST_BROWSER_DRIVER
.
When defining TEST_BROWSER_DRIVER
you tell the system that you want to run the client-tests in a specific browser - phantomjs
in your case. This browser is then starts headless, runs all the tests and writes the report out on the console, which is caught by the browser-runner on the server and printed.
But in your case, you opened the application in - I guess it's chrome? This means that what you see in the console there is the result of the client-tests run in chrome.
Please show the full output of the command you ran on the console which either should include a warning explaining why the tests couldn't run in phantom
or the test results.
@aldeed I guess we need a more declarative way of describing this step in the manual: https://github.com/meteortesting/meteor-mocha#run-client-tests-in-any-browser-manually
It should state more clearly that you actually are running the tests in the browser you're opening it in. Maybe we should also add a div
if TEST_BROWSER_DRIVER
is defined which shows a clear warning stating that you most-likely are currently running the tests in the wrong browser 😅
from meteor-mocha.
Maybe we should also add a div if TEST_BROWSER_DRIVER is defined which shows a clear warning stating that you most-likely are currently running the tests in the wrong browser
Makes sense to me
from meteor-mocha.
Since we do not ask the browser to click anywhere on the screen, record screenshots or the-like, this shouldn't have any affect to the outcome of any test, right?
Does this means we could actually always show it if TEST_BROWSER_DRIVER
is set?
from meteor-mocha.
Closing this ticket because Phantom is deprecated (https://github.com/meteortesting/meteor-browser-tests#phantomjs)
from meteor-mocha.
Related Issues (20)
- browser-shim.js prevents nice console logs HOT 1
- Puppeteer app-test yields "TypeError: Cannot read property 'call' of undefined"
- texts from `describe` and `it` blocks are not printed when using browser `nightmare` HOT 3
- Tests are only re-run if I change a *.tests.* file, not if I change implementation files (e.g. server/...) HOT 3
- UnhandledPromiseRejectionWarning: Error: Protocol error (Runtime.callFunctionOn): Promise was collected HOT 1
- Running tests do not finish after the end inside CI HOT 3
- How to setup a global hook for database prefills (fixtures) HOT 2
- XML report output is missing for client tests
- Need upgrade to dependencies to work with Meteor 2.3 HOT 1
- Bump supported dependency versions of lmieulet:meteor-coverage to 4.0.0 HOT 2
- Error: Timeout of 2000ms exceeded
- CSS missing during client side tests due to brower-policy HOT 1
- No tests running in parallel HOT 1
- Allow running specific server tests or hooks after client tests in full app mode
- Run test for multiple specific filename
- Move tests from CI to GitHub actions HOT 3
- The meteor http package is deprecated HOT 3
- Client unit tests not working on Meteor3 with beta HOT 17
- Dependency on jquery? HOT 6
- Eager loading of tests does not work as described in the Meteor guide HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-mocha.