Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
Contrib > Toggle switch (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackbaud-SteveBrush authored Jul 23, 2019
1 parent 68f6672 commit 2ced7e9
Show file tree
Hide file tree
Showing 44 changed files with 1,415 additions and 154 deletions.
25 changes: 25 additions & 0 deletions e2e/toggle-switch.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import {
expect,
SkyHostBrowser
} from '@skyux-sdk/e2e';

describe('Toggle switch', () => {

beforeEach(() => {
SkyHostBrowser.get('visual/toggle-switch');
});

it('should match previous toggle switch screenshot', (done) => {
SkyHostBrowser.setWindowBreakpoint('lg');
expect('#screenshot-toggle-switch').toMatchBaselineScreenshot(done, {
screenshotName: 'toggle-switch'
});
});

it('should match previous toggle switch screenshot (screen: xs)', (done) => {
SkyHostBrowser.setWindowBreakpoint('xs');
expect('#screenshot-toggle-switch').toMatchBaselineScreenshot(done, {
screenshotName: 'toggle-switch-xs'
});
});
});
Loading

0 comments on commit 2ced7e9

Please sign in to comment.