Comments (2)
+1 for things like using the history API. I would argue you that most DOM nodes should be created in a before
or beforeEach
and appended to the page.
IMO, It's not trivial to set up all the dependencies to make sure it works across browser, phantom, saucelabs, etc, so it should be avoided.
Your example brings up an interesting point though. It'd be nice to be able to bring in all the additional fixtures into the mocha.html or index.html
For now I think we could have an option, like --testpage or --mochapage index.html or something
from component-test.
I would argue you that most DOM nodes should be created in a before or beforeEach and appended to the page.
True. Itβs just much more convenient to do it in mocha.html. So it should be supported somehow.
from component-test.
Related Issues (20)
- anyway to change the default mocha.html ? HOT 1
- server returns wrong stuff when build.js or build.css is missing
- return script errors from sauce labs and close connection
- Add --tunnel option to component test <browser>
- build before testing HOT 6
- fix window.onerror for IE9
- investigate saucelabs test inconsistencies HOT 2
- add yields/wd-browser
- FYI: I set free component-test name HOT 1
- Feature Request: Support Folders for Test Scripts HOT 4
- integrate yields/gravy HOT 2
- travis.ci testing is confusing/doesn't work for projects that don't have build.js committed
- allow custom build dirs
- options for mocha
- `component-test phantom` doesn't work on Windows
- Variables with the same name clash between test files
- Clearly document you are using localtunnel.me and not saucelabs connect HOT 1
- code coverage? HOT 7
- use suite.title for page title HOT 4
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 component-test.