Skip to content

Commit

Permalink
Merge pull request #275 from 8base/treshhold-zero
Browse files Browse the repository at this point in the history
test(global): set threshold to zero
  • Loading branch information
zouxuoz authored May 30, 2019
2 parents 7131239 + d7b60fa commit 331da97
Show file tree
Hide file tree
Showing 67 changed files with 3 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
1 change: 0 additions & 1 deletion e2e/__tests__/table.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { baisy } from '../setup/TestSuiter';

const SUITES = [
baisy.suite('Components/Table', 'with data'),
baisy.suite('Components/Table', 'with loader'),
baisy.suite('Components/Table', 'without data'),
baisy.suite('Components/Table', 'with sort')
.setEnhancer(async (iframe) => {
Expand Down
3 changes: 3 additions & 0 deletions e2e/setup/TestSuiter.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class TestSuiter {
transition-duration: unset !important;
-webkit-animation-duration: unset !important;
animation-duration: unset !important;
caret-color: transparent !important;
}
`,
});
Expand Down Expand Up @@ -135,6 +136,8 @@ class TestSuiter {

await this._executeEnhancers();

await this.page.waitFor(500);

// $FlowIgnore
expect(await this.root.screenshot()).toMatchImageSnapshot();

Expand Down
1 change: 0 additions & 1 deletion e2e/setup/setupTestFramework.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { configureToMatchImageSnapshot } from 'jest-image-snapshot';

let toMatchImageSnapshot = configureToMatchImageSnapshot({
failureThreshold: 0.0025,
failureThresholdType: 'percent',
});

Expand Down

0 comments on commit 331da97

Please sign in to comment.