1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-03 17:59:28 +02:00
Commit graph

57 commits

Author SHA1 Message Date
Gunther Brunner
25f81aa80f Update to eslint-2.0-beta.1 since eslint its getting better at indents (not yet ready to automatic fix) 2016-01-21 22:13:55 +09:00
Gunther Brunner
42e9648da1 Use ESLint CLIEngine directly instead of gulp-eslint because it doesn't support caching yet.
Added new eslint-cli task with cache.
2016-01-20 23:15:56 +09:00
Gunther Brunner
934819593d Finally add ESLint to npm test. 2016-01-19 23:27:36 +09:00
Gunther Brunner
1006564ae7 Remove JSHint files. 2016-01-19 21:16:54 +09:00
Gunther Brunner
b263d1458c Fix / files with ESLint rules with 0 errors. 2016-01-19 21:12:05 +09:00
Gunther Brunner
3a92047342 Remove JSCS, JSHint, Standard. 2016-01-15 19:10:49 +09:00
Gunther Brunner
466af18058 Add eslint task. Needs eslintrc tweaking. 2016-01-14 21:20:54 +09:00
Gunther Brunner
1e961763bd Removed almost all JSHint warnings. 2015-10-16 18:25:32 +09:00
Simo Kinnunen
6211dfacd3 Clean up our messy gulpfile just a little bit. Hopefully we can get rid
of gulp entirely at some point.
2015-10-11 04:37:17 +09:00
Simo Kinnunen
4db05268f4 run-sequence is super buggy too, preventing gulp run from running
properly. Not sure why it was being used in the
first place?
2015-10-11 04:18:06 +09:00
Gunther Brunner
95487212bb Separated translate steps so they don't require transifex as a dependency (transifex seems blocked in China GFW). 2015-09-10 15:35:45 +09:00
Gunther Brunner
9b568dac93 Removed ng-annotate-webpack-plugin because it doesn't annotate always, and build time increases exponentially. 2015-08-21 17:45:30 +09:00
Gunther Brunner
142866838c Adding standard since its quite similar to the current style and removes the maintenance burden, while also making it easier to follow for contributors.
Over the time replace JSHint.
2015-07-28 18:20:17 +09:00
Gunther Brunner
ca67e868b5 Add rethinkdb to Travis. Check STF version. 2015-07-15 20:08:16 +09:00
Gunther Brunner
fb5a1dd6bc Remove protractor from npm test for now, until protractor tests are updated for SauceLabs. 2015-07-14 21:01:50 +09:00
Gunther Brunner
5f77474786 Push source and pull all the translations from Transifex when running gulp translate. 2015-07-10 21:14:02 +09:00
Gunther Brunner
ebb9482290 Remove "translate" from the "build" step since it is not related and translation always happens at a different time. 2015-07-10 17:38:57 +09:00
Gunther Brunner
4ece69bf5c Fixed gulp translate not being called in sequence. 2015-07-01 21:58:28 +09:00
Gunther Brunner
935121a9f6 "gulp-rimraf" deprecated in favor of "del". 2015-07-01 19:34:56 +09:00
Gunther Brunner
7cb8fff6ac Dependencies updated. 2014-10-16 15:09:40 +09:00
Gunther Brunner
edd0d2578c Add prepublish script.
Needs to be executed as "npm run prepub" because default "npm prepublish" runs on every npm install.
2014-09-10 20:38:50 +09:00
Gunther Brunner
76f5f14ace gulp-clean is deprecated now. Switching to gulp-rimraf. 2014-09-10 18:33:04 +09:00
Gunther Brunner
2445b179ee Added JSCS style checking.
However, there are thousands of errors: it may need some rule relaxing.
Still needs to check for JSHint overlap.

Heated rules left out:
"disallowAnonymousFunctions": true,
"disallowCommaBeforeLineBreak": true
"requireCommaBeforeLineBreak": true,
"disallowKeywordsOnNewLine": true,
"requireKeywordsOnNewLine": true
2014-09-09 16:28:00 +09:00
Gunther Brunner
639d6c2394 Updated most external dependencies. 2014-09-08 19:54:24 +09:00
Gunther Brunner
70ced9ac38 Preliminary Appium support. 2014-09-08 18:11:12 +09:00
Gunther Brunner
02fb1f9add Unit tests now pass. 2014-09-04 16:19:58 +09:00
Gunther Brunner
b38972eeeb Fix gulp jade so it doesn't complain on undefined locals. 2014-09-03 19:39:28 +09:00
Gunther Brunner
7b77412edd Add webpack JSHint loader. 2014-09-02 16:27:36 +09:00
Gunther Brunner
404e947f44 Add common and tests to JSHint. 2014-09-02 12:29:26 +09:00
Gunther Brunner
9a8fa2dd3e - Element explorer now launches WebDriver automatically. 2014-08-27 19:22:38 +09:00
Gunther Brunner
30bbf430d3 - Forked gulp-protractor .
Changes:
 - Added debug support
 - Added suites support
 - Added element explorer support
2014-08-27 16:36:37 +09:00
Gunther Brunner
b1afa8076c -Add shell e2e test.
-Add parallel multi browser protractor configuration.
-Add screenshot reports.
-Add fail fast helper.
2014-08-26 23:37:50 +09:00
Gunther Brunner
e87dc45fb9 - e2e tests should work with production now also by exporting STF_URL, STF_USERNAME and STF_PASSWORD.
- Added BrowerLogs, a Protractor helper which redirects browser logs to the console, with an additional expectNoLogs option.
- Refactored Login model names to work seamlessly.
2014-08-26 20:57:26 +09:00
Gunther Brunner
a08d9e26f0 - Refactored e2e tests in separated test suites.
- `gulp protractor` now accepts a `--suite name` flag.
- Removed warning bug in ChromeDriver.
- ControlPage test now kicks the device.
2014-08-26 16:00:02 +09:00
Gunther Brunner
7d9d64ddcb Added first real e2e protractor tests. Now it needs a device connected. 2014-08-25 21:25:02 +09:00
Gunther Brunner
5559352585 Moved webpack server configuration to webpack.config. 2014-08-21 15:09:15 +09:00
Gunther Brunner
f2c00ce016 Karma now works from Gulp. 2014-08-20 20:58:49 +09:00
Gunther Brunner
b2a354dd84 Introducing unit testing with Karma + Jasmine. 2014-08-19 20:20:18 +09:00
Gunther Brunner
13387622c5 Disabled minify for now. 2014-07-16 17:07:20 +09:00
Gunther Brunner
fba8586a70 Save stats to a json file for deep analysis.
Fixed translate parallel running.
2014-07-03 19:04:45 +09:00
Gunther Brunner
080d7d9e39 Bundle file was being scanned with translate:extract. 2014-07-02 20:10:19 +09:00
Gunther Brunner
b9d9cb3c7f Adding overall device stats (Experimental UI). 2014-06-18 21:44:08 +09:00
Gunther Brunner
71e139ddaf Added a modal lightbox-image directive.
Added a fallback-image directive.
Added the Device Photo on the Info tab.
2014-06-18 18:57:20 +09:00
Gunther Brunner
1c45b6eb70 Starting to add build targets for common status page. 2014-06-04 18:45:11 +09:00
Gunther Brunner
a9e2268b18 Added gulp protractor task. 2014-06-04 15:00:40 +09:00
Gunther Brunner
589eaf8066 STF is now buildable. 2014-05-29 12:38:47 +09:00
Gunther Brunner
c0a515e75b Clean build files. 2014-05-22 15:20:12 +09:00
Gunther Brunner
8d6ba82126 Updated npm & bower dependencies.
Added ngMin webpack plugin.
2014-05-22 15:20:12 +09:00
Simo Kinnunen
ea0ec88b1f Format gulpfile. 2014-05-13 16:26:32 +09:00
Simo Kinnunen
c1b4dc4af5 Add res/.jshintrc to jsonlint. 2014-05-13 16:26:21 +09:00