-
Notifications
You must be signed in to change notification settings - Fork 13
/
index.html
executable file
·259 lines (237 loc) · 15.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>DalekJS - Automated cross browser testing with JavaScript</title>
<meta name="description" content="DalekJS - Exterminate all the bugs">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- icon-ish stuff -->
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png" />
<!-- prefetch everything -->
<link rel="dns-prefetch" href="//dalekjs.com">
<link rel="dns-prefetch" href="//fonts.googleapis.com">
<link rel="dns-prefetch" href="//themes.googleusercontent.com">
<link rel="dns-prefetch" href="//player.vimeo.com">
<link rel="dns-prefetch" href="//a.vimeocdn.com">
<link rel="dns-prefetch" href="//b.vimeocdn.com">
<link rel="dns-prefetch" href="//www.google-analytics.com">
<!-- build:css css/main.css -->
<link rel="stylesheet" href="bower_components/prism/themes/prism-funky.css">
<link rel="stylesheet" href="css/style.min.css">
<!-- endbuild -->
<link href='//fonts.googleapis.com/css?family=Londrina+Solid' rel='stylesheet' type='text/css'>
</head>
<body><!--
--><div class="grid"><!--
--><header class="grid__item one-whole"><!--
--><nav role="select"><!--
desktop menue
--><ul class="nav nav--fit nav--block"><!--
--><li><a href="index.html" class="active">DALEKJS</a></li><!--
--><li><a href="pages/getStarted.html">Get started</a></li><!--
--><li><a href="pages/documentation.html">Documentation</a></li><!--
--><li><a href="pages/support.html">Support</a></li><!--
--><li><a href="pages/faq.html">FAQ</a></li><!--
--><li><a href="pages/merch.html">Merch</a></li><!--
--></ul><!--
mobile menue
--><select onchange="if (this.value) window.location.href = this.value;"><!--
--><option value="index.html">DALEKJS</option><!--
--><option value="pages/getStarted.html">Get started</option><!--
--><option value="pages/documentation.html">Documentation</option><!--
--><option value="pages/support.html">Support</option><!--
--><option value="pages/faq.html">FAQ</option><!--
--><option value="pages/merch.html">Merch</option><!--
--></select><!--
--></nav><!--
--></header><!--
Content wrapper
--><div class="wrapper centered"><!--
Teaser
--><div class="grid__item one-whole"><!--
--><div class="grid grid__item one-half palm-one-whole"><!--
--><div class="grid__item one-whole palm-one-whole"><!--
--><h1 class="home">DalekJS</h1><!--
--><strong class="note preview">Developer preview 0.0.9*</strong><!--
--><div class="quote">Automated cross browser testing with JavaScript!</div><!--
--><div class="quote">Exterminate all the bugs!</div><!--
--></div><!--
--><div class="grid__item one-fifth"><img class="browser-logo" src="img/chrome.png"/></div><!--
--><div class="grid__item one-fifth"><img class="browser-logo" src="img/explorer.png"/></div><!--
--><div class="grid__item one-fifth"><img class="browser-logo" src="img/firefox.png"/></div><!--
--><div class="grid__item one-fifth"><img class="browser-logo" src="img/lemmling_ghost.png"/></div><!--
--><div class="grid__item one-fifth"><img class="browser-logo" src="img/ios.png"/></div><!--
--></div><!--
--><div class="grid__item one-half palm-one-whole" style="text-align: center"><img src="img/logo.png"/></div><!--
--></div><!--
--><div class="grid__item one-whole info-box"><!--
--><p class="catchy">DalekJS is an open source UI testing tool written in JavaScript, it will:</p><!--
--><ul class="feature-list"><!--
--><li>launch & automate your browser</li><!--
--><li>fill & submit forms</li><!--
--><li>click & follow links</li><!--
--><li>capture screenshots</li><!--
--><li>run your functional tests</li><!--
--><li>… and it works on Windows, Linux & Mac</li><!--
--></ul><!--
--></div><!--
--><div class="grid__item one-whole code-intro" id="code-intro"><!--
--><h2>Quickstart</h2><!--
--><ul class="grid__item one-third palm-one-whole"><!--
--><li class="active-entry">Create a package.json</li><!--
--><li>Install DalekJS</li><!--
--><li>Write your first test</li><!--
--><li>Run this beast!</li><!--
--></ul><!--
Package my JSON
--><div class="grid__item two-thirds palm-one-whole stage code"><!--
--><pre class="code-thingie"><code class="language-javascript"><!--
-->{
<!-- --> "name": "myCssTardis",
<!-- --> "description": "Is awesome",
<!-- --> "version": "0.0.2"
<!-- -->}<!--
--></code></pre><!--
--></div><!--
How to start from the console
--><div class="grid__item two-thirds palm-one-whole stage hidden code"><!--
--><pre class="dalek-shell"><code><!--
--><span class="token shell-icon">$</span> <span class="token shell-npm">npm install</span> <span class="token shell-dalek">dalek-cli</span> <span class="token shell-npm">-g</span>
<!-- --><span class="token shell-icon">$</span> <span class="token shell-npm">npm install</span> <span class="token shell-dalek">dalekjs</span> <span class="token shell-npm">--save-dev</span><!--
--></pre></code><!--
--></div><!--
Simple test example
--><div class="grid__item two-thirds palm-one-whole stage code hidden"><!--
--><pre class="code-thingie"><code class="language-javascript"><!--
-->module.exports = {
<!-- -->'Page title is correct': function (test) {
<!-- --> test
<!-- --> .open('http://google.com')
<!-- --> .assert.title().is('Google', 'It has title')
<!-- --> .done();
<!-- -->}
<!-- -->};<!--
--></code></pre><!--
Dalek on Console
--></div><!--
--><div class="grid__item two-thirds palm-one-whole stage hidden code"><!--
--><pre class="dalek-shell cmd-output"><code><!--
--><span class="token shell-icon">$</span> <span class="token shell-dalek">dalek</span> <span class="token shell-npm">test/*.js</span>
<!-- --><span class="token shell-rt">Running tests</span>
<!-- --><span class="token shell-rt">Running Browser:</span> <span class="token shell-browser">Phantomjs</span>
<!-- --><span class="token shell-rt">RUNNING TEST -</span> <span class="token shell-tt">"Page title is correct"</span>
<!-- --><span class="token shell-action">▶ OPEN http://google.com</span>
<!-- --><span class="token shell-sg">✔</span> <span class="token shell-rt">TITLE It has title</span>
<!-- --><span class="token shell-sg">✔</span> <span class="token shell-rt">1 Assertions run</span>
<!-- --><span class="token shell-sg">✔</span> <span class="token shell-rt">TEST - <span class="token shell-tt">"Page title is correct"</span> SUCCEEDED</span>
<!-- --><span class="token shell-suc">1/1 assertions passed. Elapsed Time: 2 sec</span><!--
--> </pre></code><!--
--></div><!--
--></div><!--
Look ma
--><div class="grid__item one-whole video-intro" id="video-intro"><!--
--><h2>Look ma</h2><!--
--><ul class="grid__item one-quarter palm-one-whole"><!--
--><li class="active-entry">Intro</li><!--
--><li>Remote runner</li><!--
--><li>@FronteersJam</li><!--
--><li>@FrontTrends</li><!--
--><li>@ScotlandJS</li><!--
--><li>@JimdoSession</li><!--
--></ul><!--
--><div class="grid__item three-quarters palm-one-whole stage video"><!--
--><iframe class="video__frame" src="http://player.vimeo.com/video/71466029" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe><!--
--></div><!--
--><div class="grid__item three-quarters palm-one-whole stage video hidden"><!--
--><iframe class="video__frame" src="http://player.vimeo.com/video/78144005" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe><!--
--></div><!--
--><div class="grid__item three-quarters palm-one-whole stage video hidden"><!--
--><iframe class="video__frame" src="http://player.vimeo.com/video/77575074" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe><!--
--></div><!--
--><div class="grid__item three-quarters palm-one-whole stage video hidden"><!--
--><iframe class="video__frame" src="http://player.vimeo.com/video/67050198" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe><!--
--></div><!--
--><div class="grid__item three-quarters palm-one-whole stage video hidden"><!--
--><iframe class="video__frame" src="http://player.vimeo.com/video/68703493" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe><!--
--></div><!--
--><div class="grid__item three-quarters palm-one-whole stage video hidden"><!--
--><iframe class="video__frame" src="http://player.vimeo.com/video/75297228" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe><!--
--></div><!--
--></div><!--
Get in touch
--><div class="grid__item one-whole contact"><!--
--><h2>Get in touch</h2><!--
--><div class="grid__item one-eighth palm-one-quarter"><!--
--><a href="http://twitter.com/dalekjs"><img class="contact__icon" src="img/twitter_bird.svg"/></a><!--
--></div><!--
--><div class="grid__item one-quarter palm-three-quarters"><!--
--><a href="http://twitter.com/dalekjs" class="contact__text">Twitter</a><!--
--></div><!--
--><div class="grid__item one-eighth palm-one-quarter"><!--
--><img class="contact__icon" src="img/heart.svg"/><!--
--></div><!--
--><div class="grid__item four-eighths palm-three-quarters"><!--
--><p class="contact__text longtext">#dalekjs on freenode</p><!--
--></div><!--
--><div class="grid__item one-eighth palm-one-quarter"><!--
--><a href="https://github.com/dalekjs"><img class="contact__icon" src="img/github.svg"/></a><!--
--></div><!--
--><div class="grid__item one-quarter palm-three-quarters"><!--
--><a href="https://github.com/dalekjs" class="contact__text">GitHub</a><!--
--></div><!--
--><div class="grid__item one-eighth palm-one-quarter"><!--
--><a href="http://stackoverflow.com/questions/tagged/dalekjs"><img class="contact__icon" src="img/stackoverflow.svg"/></a><!--
--></div><!--
--><div class="grid__item four-eighths palm-three-quarters"><!--
--><a href="http://stackoverflow.com/questions/tagged/dalekjs" class="contact__text">Stack Overflow</a><!--
--></div><!--
--><div class="grid__item one-eighth palm-one-quarter"><!--
--><a href="mailto:[email protected]"><img class="contact__icon" src="img/email.svg"/></a><!--
--></div><!--
--><div class="grid__item one-quarter palm-three-quarters"><!--
--><a href="mailto:[email protected]" class="contact__text">Mail</a><!--
--></div><!--
--><div class="grid__item one-eighth palm-one-quarter"><!--
--><a href="https://groups.google.com/forum/#!forum/dalekjs">
<img class="contact__icon" src="img/google_talk.svg"/></a><!--
--></div><!--
--><div class="grid__item one-quarter palm-three-quarters"><!--
--><a href="https://groups.google.com/forum/#!forum/dalekjs" class="contact__text">Google Group</a><!--
--></div><!--
--></div><!--
--><div class="grid__item one-whole"><!--
--><p class="developer-preview">* DalekJS is currently a developer preview. Some features are missing, some things might change, there's a lot of optimisation to be done. Don't use this for production!</p><!--
--></div><!--
--></div><!--
Footer
--><footer class="grid__item one-whole footer"><!--
--><span class="footer__author">DalekJS created by <a class="footer__link" href="https://github.com/asciidisco">Sebastian Golasch</a></span><!--
--><span class="footer__author">Logo by <a class="footer__link" href="http://www.redbubble.com/people/scottbarker">Scott Barker</a></span><!--
--><span class="footer__author">Browser icons by <a class="footer__link" href="https://github.com/substack">Substack</a></span><!--
--></footer><!--
--></div><!--
--><script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-42520123-1', 'dalekjs.com');
ga('send', 'pageview');
</script>
<!-- build:js js/main.js -->
<script src="bower_components/jquery/jquery.js"></script>
<script src="bower_components/in-viewport/in-viewport.js"></script>
<script src="bower_components/fastclick/lib/fastclick.js"></script>
<script src="bower_components/iscroll/build/iscroll.js"></script>
<script src="bower_components/prism/prism.js"></script>
<script src="js/main.js"></script>
<!-- endbuild -->
</body>
</html>