From c92c062ba2ba01f936bb0109bc46992c9064cfeb Mon Sep 17 00:00:00 2001 From: Cam Wiegert Date: Tue, 28 Nov 2017 13:56:21 -0600 Subject: [PATCH] test(button) add icon e2e test --- .../src/components/button/test/icon/e2e.js | 7 + .../components/button/test/icon/index.html | 125 ++++++++++++++++++ 2 files changed, 132 insertions(+) create mode 100644 packages/core/src/components/button/test/icon/e2e.js create mode 100644 packages/core/src/components/button/test/icon/index.html diff --git a/packages/core/src/components/button/test/icon/e2e.js b/packages/core/src/components/button/test/icon/e2e.js new file mode 100644 index 0000000000..4912b7ad6c --- /dev/null +++ b/packages/core/src/components/button/test/icon/e2e.js @@ -0,0 +1,7 @@ +const { register, navigate } = require('../../../../../scripts/e2e'); + +describe('button: icon', () => { + + register('navigates', navigate('http://localhost:3333/src/components/button/test/icon')); + +}); diff --git a/packages/core/src/components/button/test/icon/index.html b/packages/core/src/components/button/test/icon/index.html new file mode 100644 index 0000000000..f0e96413af --- /dev/null +++ b/packages/core/src/components/button/test/icon/index.html @@ -0,0 +1,125 @@ + + + + + Button - Icon + + + + + + + + + Button - Icon + + + + +

+ + + Left Icon + +

+

+ + + Left Icon + +

+

+ + + Right Icon + +

+

+ + + Right Icon + +

+

+ + + +

+

+ + + +

+

+ + + Left, Large + +

+

+ + + Left, Large + +

+

+ + + Right, Large + +

+

+ + + Right, Large + +

+

+ + + +

+

+ + + +

+

+ + + Left, Small + +

+

+ + + Left, Small + +

+

+ + + Right, Small + +

+

+ + + Right, Small + +

+

+ + + +

+

+ + + +

+
+
+
+ +