terra-tag
Advanced tools
Comparing version 2.42.0 to 2.43.0
@@ -5,2 +5,7 @@ # Changelog | ||
## 2.43.0 - (December 8, 2020) | ||
* Changed | ||
* Update wdio tests to remove deprecated Terra.it helpers | ||
## 2.42.0 - (November 17, 2020) | ||
@@ -7,0 +12,0 @@ |
"use strict"; | ||
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -28,4 +30,2 @@ value: true | ||
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
@@ -32,0 +32,0 @@ |
{ | ||
"name": "terra-tag", | ||
"main": "lib/Tag.js", | ||
"version": "2.42.0", | ||
"version": "2.43.0", | ||
"description": "The tag component is used for tagging and provides users a way to trigger actions in the UI. Each tag should have text. It can optionally display an icon along with the text.", | ||
@@ -32,3 +32,3 @@ "repository": { | ||
"prop-types": "^15.5.8", | ||
"terra-icon": "^3.38.0", | ||
"terra-icon": "^3.39.0", | ||
"terra-theme-context": "^1.0.0" | ||
@@ -49,3 +49,3 @@ }, | ||
}, | ||
"gitHead": "0e7146c606856f9b2cba0b1defb1d48181b6c089" | ||
"gitHead": "a831aafb7547ff092f55bb322c2800129e51fdf9" | ||
} |
Terra.describeViewports('Tag', ['tiny'], () => { | ||
describe('Default', () => { | ||
before(() => browser.url('/#/raw/tests/terra-tag/tag/default-tag')); | ||
Terra.it.validatesElement(); | ||
it('displays Default tag', () => { | ||
browser.url('/raw/tests/terra-tag/tag/default-tag'); | ||
Terra.validates.element('default'); | ||
}); | ||
describe('Href Tag', () => { | ||
before(() => browser.url('/#/raw/tests/terra-tag/tag/href-tag')); | ||
Terra.it.matchesScreenshot(); | ||
it('displays Href Tag', () => { | ||
browser.url('/raw/tests/terra-tag/tag/href-tag'); | ||
Terra.validates.element('href'); | ||
}); | ||
describe('Icon and Text Tag', () => { | ||
before(() => browser.url('/#/raw/tests/terra-tag/tag/icon-and-text-tag')); | ||
Terra.it.validatesElement(); | ||
it('displays Icon and Text Tag', () => { | ||
browser.url('/raw/tests/terra-tag/tag/icon-and-text-tag'); | ||
Terra.validates.element('icon and text'); | ||
}); | ||
describe('Icon and Text Long Tag', () => { | ||
before(() => browser.url('/#/raw/tests/terra-tag/tag/long-text-tag')); | ||
Terra.it.validatesElement(); | ||
it('displays Icon and Text Long Tag', () => { | ||
browser.url('/raw/tests/terra-tag/tag/long-text-tag'); | ||
Terra.validates.element('icon and long text'); | ||
}); | ||
describe('OnClick Tag', () => { | ||
before(() => browser.url('/#/raw/tests/terra-tag/tag/on-click-tag')); | ||
it('displays Default tag', () => { | ||
browser.url('/raw/tests/terra-tag/tag/on-click-tag'); | ||
Terra.validates.element('display tag'); | ||
}); | ||
Terra.it.validatesElement(); | ||
it('tabs to tag', () => { | ||
@@ -36,5 +37,7 @@ browser.click('#root'); | ||
Terra.describeViewports('Multiple Tags', ['tiny', 'medium', 'large'], () => { | ||
before(() => browser.url('/#/raw/tests/terra-tag/tag/multiple-tags')); | ||
Terra.it.validatesElement(); | ||
Terra.describeViewports('Tag', ['tiny', 'medium', 'large'], () => { | ||
it('displays multiple tags', () => { | ||
browser.url('/raw/tests/terra-tag/tag/multiple-tags'); | ||
Terra.validates.element('multiple'); | ||
}); | ||
}); |
67452
659
Updatedterra-icon@^3.39.0