terra-slide-panel
Advanced tools
Comparing version 3.29.0 to 3.30.0
@@ -5,2 +5,7 @@ # Changelog | ||
## 3.30.0 - (December 8, 2020) | ||
* Changed | ||
* Update wdio tests to remove deprecated Terra.it helpers | ||
## 3.29.0 - (August 4, 2020) | ||
@@ -7,0 +12,0 @@ |
{ | ||
"name": "terra-slide-panel", | ||
"main": "lib/SlidePanel.js", | ||
"version": "3.29.0", | ||
"version": "3.30.0", | ||
"description": "The Terra SlidePanel component is a progressive disclosure mechanism that allows additional content to be shown and hidden in a variety of ways.", | ||
@@ -47,3 +47,3 @@ "repository": { | ||
}, | ||
"gitHead": "5b8702701472c970cb5ab10aa350f2f06c311567" | ||
"gitHead": "5e8e7d078983e2fc8a58306810092fd71eb6146c" | ||
} |
const context = '[data-terra-dev-site-content] *:first-child'; | ||
Terra.describeViewports('Slide panel', ['large'], () => { | ||
describe('Slide panel end', () => { | ||
beforeEach(() => browser.url('/#/raw/tests/terra-slide-panel/slide-panel/slide-panel-end')); | ||
Terra.it.isAccessible({ context }); | ||
Terra.it.matchesScreenshot(); | ||
it('displays Slide panel end', () => { | ||
browser.url('/raw/tests/terra-slide-panel/slide-panel/slide-panel-end'); | ||
Terra.validates.element('end', { context }); | ||
}); | ||
describe('Slide panel fill', () => { | ||
beforeEach(() => { | ||
browser.url('/#/raw/tests/terra-slide-panel/slide-panel/slide-panel-fill'); | ||
}); | ||
Terra.it.matchesScreenshot(); | ||
it('displays Slide panel fill', () => { | ||
browser.url('/raw/tests/terra-slide-panel/slide-panel/slide-panel-fill'); | ||
Terra.validates.element('fill'); | ||
}); | ||
describe('Slide panel fullscreen', () => { | ||
beforeEach(() => { | ||
browser.url('/#/raw/tests/terra-slide-panel/slide-panel/slide-panel-fullscreen'); | ||
}); | ||
Terra.it.matchesScreenshot(); | ||
it('displays Slide panel fullscreen', () => { | ||
browser.url('/raw/tests/terra-slide-panel/slide-panel/slide-panel-fullscreen'); | ||
Terra.validates.element('fullscreen'); | ||
}); | ||
describe('Slide panel large', () => { | ||
beforeEach(() => { | ||
browser.url('/#/raw/tests/terra-slide-panel/slide-panel/slide-panel-large'); | ||
}); | ||
Terra.it.matchesScreenshot(); | ||
it('displays Slide panel large', () => { | ||
browser.url('/raw/tests/terra-slide-panel/slide-panel/slide-panel-large'); | ||
Terra.validates.element('large'); | ||
}); | ||
describe('Slide panel no fill', () => { | ||
beforeEach(() => { | ||
browser.url('/#/raw/tests/terra-slide-panel/slide-panel/slide-panel-no-fill'); | ||
}); | ||
Terra.it.matchesScreenshot(); | ||
it('displays Slide panel no fill', () => { | ||
browser.url('/raw/tests/terra-slide-panel/slide-panel/slide-panel-no-fill'); | ||
Terra.validates.element('no fill'); | ||
}); | ||
describe('Slide panel overlay', () => { | ||
beforeEach(() => { | ||
browser.url('/#/raw/tests/terra-slide-panel/slide-panel/slide-panel-overlay'); | ||
}); | ||
Terra.it.matchesScreenshot(); | ||
it('displays Slide panel overlay', () => { | ||
browser.url('/raw/tests/terra-slide-panel/slide-panel/slide-panel-overlay'); | ||
Terra.validates.element('overlay'); | ||
}); | ||
describe('Slide panel small', () => { | ||
beforeEach(() => { | ||
browser.url('/#/raw/tests/terra-slide-panel/slide-panel/slide-panel-small'); | ||
}); | ||
Terra.it.matchesScreenshot(); | ||
it('displays Slide panel small', () => { | ||
browser.url('/raw/tests/terra-slide-panel/slide-panel/slide-panel-small'); | ||
Terra.validates.element('small'); | ||
}); | ||
describe('Slide panel squish', () => { | ||
beforeEach(() => { | ||
browser.url('/#/raw/tests/terra-slide-panel/slide-panel/slide-panel-squish'); | ||
}); | ||
Terra.it.matchesScreenshot(); | ||
it('displays Slide panel squish', () => { | ||
browser.url('/raw/tests/terra-slide-panel/slide-panel/slide-panel-squish'); | ||
Terra.validates.element('squish'); | ||
}); | ||
describe('Slide panel start', () => { | ||
beforeEach(() => { | ||
browser.url('/#/raw/tests/terra-slide-panel/slide-panel/slide-panel-start'); | ||
}); | ||
Terra.it.matchesScreenshot(); | ||
it('displays Slide panel start', () => { | ||
browser.url('/raw/tests/terra-slide-panel/slide-panel/slide-panel-start'); | ||
Terra.validates.element('start'); | ||
}); | ||
describe('Large size squished slide panel', () => { | ||
beforeEach(() => { | ||
browser.url('/#/raw/tests/terra-slide-panel/slide-panel/slide-panel-squish-large'); | ||
}); | ||
Terra.it.matchesScreenshot(); | ||
it('displays Large size squished slide panel', () => { | ||
browser.url('/raw/tests/terra-slide-panel/slide-panel/slide-panel-squish-large'); | ||
Terra.validates.element('large squish'); | ||
}); | ||
describe('Toggle the slide panel and hidden styles', () => { | ||
beforeEach(() => { | ||
browser.url('/#/raw/tests/terra-slide-panel/slide-panel/slide-panel-toggle'); | ||
browser.waitForExist('#test-slide [aria-hidden="true"]'); | ||
}); | ||
Terra.it.matchesScreenshot({ selector: '#root' }); | ||
it('Toggles the slide panel and hidden styles', () => { | ||
browser.url('/raw/tests/terra-slide-panel/slide-panel/slide-panel-toggle'); | ||
browser.waitForExist('#test-slide [aria-hidden="true"]'); | ||
Terra.validates.screenshot('toggle and hidden styles', { selector: '#root' }); | ||
}); | ||
@@ -93,3 +62,3 @@ | ||
it('Opens panel and focuses on panel', () => { | ||
browser.url('/#/raw/tests/terra-slide-panel/slide-panel/slide-panel-toggle'); | ||
browser.url('/raw/tests/terra-slide-panel/slide-panel/slide-panel-toggle'); | ||
browser.click('#test-toggle'); | ||
@@ -110,3 +79,3 @@ browser.waitForExist('#test-slide [aria-hidden="false"]'); | ||
it('Switches panel side', () => { | ||
browser.url('/#/raw/tests/terra-slide-panel/slide-panel/slide-panel-side-toggle'); | ||
browser.url('/raw/tests/terra-slide-panel/slide-panel/slide-panel-side-toggle'); | ||
expect(browser.getText('#test-slide [aria-hidden="false"]')).to.equal('Increase Count 0'); | ||
@@ -113,0 +82,0 @@ |
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
112778
1450
6