terra-i18n
Advanced tools
Comparing version 4.33.0 to 4.34.0
@@ -5,2 +5,7 @@ # Changelog | ||
## 4.34.0 - (December 8, 2020) | ||
* Changed | ||
* Update wdio tests to remove deprecated Terra.it helpers | ||
## 4.33.0 - (September 29, 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", { | ||
@@ -16,4 +18,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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
@@ -20,0 +20,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", { | ||
@@ -24,4 +26,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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
@@ -28,0 +28,0 @@ |
{ | ||
"name": "terra-i18n", | ||
"main": "lib/I18n.js", | ||
"version": "4.33.0", | ||
"version": "4.34.0", | ||
"description": "The terra-i18n package provides on-demand internationalization of React components.", | ||
@@ -46,3 +46,3 @@ "repository": { | ||
}, | ||
"gitHead": "95141beff02c3e36ad8e83433fdda3881fcc083a" | ||
"gitHead": "a831aafb7547ff092f55bb322c2800129e51fdf9" | ||
} |
@@ -5,21 +5,17 @@ // Add Portuguese-Guinea-Bissau, Zulu & Zulu-South African locales as test locales (supported by intl) | ||
Terra.describeViewports('I18n', ['medium'], () => { | ||
describe('Initial Load', () => { | ||
before(() => { | ||
browser.url('/#/raw/tests/terra-i-18-n/i-18-n/default-i-18-n'); | ||
browser.waitForVisible('select'); | ||
}); | ||
it('should display tests initial load', () => { | ||
browser.url('/raw/tests/terra-i-18-n/i-18-n/default-i-18-n'); | ||
browser.waitForVisible('select'); | ||
Terra.it.matchesScreenshot(); | ||
Terra.validates.element('initial load'); | ||
}); | ||
testLocales.forEach((locale) => { | ||
describe(`${locale} Locale`, () => { | ||
before(() => { | ||
browser.waitForVisible('select'); | ||
browser.element('select').selectByValue(locale); | ||
}); | ||
it(`should display message in ${locale}`, () => { | ||
browser.waitForVisible('select'); | ||
browser.element('select').selectByValue(locale); | ||
Terra.it.matchesScreenshot(); | ||
Terra.validates.screenshot(`${locale} locale`); | ||
}); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92565
1176