With component registry mechanism plugins can set compatibility,
incompatibility and requires between components.
Current tests implement automatization to verify UI representation of
components relations. They have to be run regularly on CI.
To run tests you need to export variables PLUGIN_RPM (path to
example-plugin rpm) and VENV (path to virtual env). Run with
`npm run component-tests`.
Closes-Bug: #1597710
Change-Id: I5d929da714a4c44515094df4e6edd3a7d93f4aa0
Firefox since version 47 requires use of Marionette driver
to work with Selenium. Updated selenium-standalone downloads
and utilizes this driver by default.
Change-Id: I9659cee48491f4de9484c23fb9a4f59f69797d29
LoDash 3.10.1 to 4.13.0
Backbone 1.2 to 1.3.3
Babel modules to 6.9.0 or latest available
Webpack from 0.12 to 0.13
Change-Id: Id77c6cb2f32ada94dba7a0cd3b61d33eeccf90aa
Intern uses AMD notation for its tests, so there is need
to specify Babel Simple AMD plugin for proper transformation.
It cannot properly generate AMD modules with exports,
so Intern config now has to be constructed manually.
Change-Id: I55d881acc8cb8a72ca401f5fdf6a47455e41b12e
* Babel to latest 6.x
* React to latest 15.x
* LoDash to latest 3.x version
* selenium-standalone to 5.1.0
* gulp to 3.9.1
* js-cookie to 2.1.0
* karma-webdriver-launcher to 1.0.4
* added whatwg-fetch polyfill
* switched to backbone.routerfilter from NPM
Change-Id: I9517f89c24a053ecf137f27ed297aaa578efb012
This change updates Intern testing framework from 2.2.2
to 3.0.6 version and updates ScreenshotOnFailReporter
to use newer API.
Change-Id: I368cb18756c9d27a95c1b615d4473d8486ada184
This commit modifies fuel-ui .eslintrc to use
eslint-config-openstack as a base with overrides of some rules.
No code was changed, but some FIXMEs were added to be changed
in future.
Also, ESLint and React plugin were updated.
Change-Id: I4ba51878705e89fd86369420c50590f5623206e5
Minimal update is done - deprecation fixes will go in separate
patches. React-DnD is also updated to support React 0.14.3.
Change-Id: I0a798ea5e849a1f2d9cefb67f0f7e1d563a4327a
- Update 'ip' to fix issue with Safari
- Update webpack to fix sourcemaps generation with uglifyjs
- Remove uglifyjs - it's a webpack dependency and shouldn't
be used directly
Change-Id: I01a0afbaeb00dfa67bcdca33764744428dc6cc52
Closes-Bug: #1519784
Partial-Bug: #1517028
gulp-lintspaces@0.3.1 was unpublished. Also remove
backbone.stickit library as we don't use it anymore.
Change-Id: I15730f8501a33c5887f447afb2d57b0628724882
"javascript-natural-sort" NPM package provides the same
algorithm, but in a form of a reusable library.
Change-Id: Ie3f18bc87a66d25be28f18ce81701f1720231a41
ESLint evolved and become mature enough to completely replace
JSCS. This commit translates JSCS rules into ESLint ones and
fixes the code accordingly.
Also, ESLint config converted to YAML for readability
Change-Id: I2bea5b48284c68ecacd3ec3ac67c5852345f29e3
Webpack is much more powerful than r.js and opens path
to further improvements in testing, build speed,
developer convenience, ES2015, etc.
Implements blueprint webpack
Change-Id: I18a3b74db243f29e5dacb004569d66463f4ab16d
All repositories have been moved from stackforge/ to openstack/ namespace.
Paths in docs/ subfolder will be fixed via separate patch.
Change-Id: I78a4b159a29c119d37d48ad141626d4b6074c8c7
Casperjs is not used anymore; phantomjs won't be used by
default and 100% optional, but supported: it is still possible
to run
gulp unit-tests --browser phantomjs
but globally installed phantomjs will be used
Related to blueprint webpack
Change-Id: I9761cd7dcc4c5ff07f737cabbe4c46f6741ae408
Rules with "1" value generate warnings and are going to be fixed
in the next commit by fixing the code.
Rules with "0" value represent validation rules which I'd really
like to have, but they require large amount of fixes.
Closes-Bug: #1469127
Change-Id: Ie8c10c5d16627c008c9ce5760396226381116a43
This commit makes it possible to execute UI
functional tests either based on Casper or on Intern/Selenium
Change-Id: I21d342093f142a1bbe7b8ae4f2c96fad1c125a0b
Run via `gulp jscs:fix`
Also change disallowMultipleSpaces to allow multiple spaces
before one-line comments
Change-Id: Ic99566d9fcd9b321407cfbacc41eaaa2c8dcefbc
This commit adds unit-tests runner for UI and 1 test suite for
the expression parser. It also makes --webui flag for run_tests.sh
run all the UI tests: lint checks, unit tests, functional tests.
Change-Id: I6176dc01cdd6d2bcf7a99185e92cc498c7b2b899
Also bump some libraries to the latest versions
Implements blueprint move-to-gulp
Related to blueprint ui-plugins
Change-Id: Iffcd5c2371a01969746ce4d18a88181246d674fd
- all dialogs must be rendered using show() method instead of utils.showDialog
- React.addon.classSet is deprecated, use utils.classNames instead
- component._owner is unavailable now
Change-Id: I290e0053976b27eb43eeb3b4ecfeebaf1088b457