Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase timeout for visual regression test #1785

Merged
merged 1 commit into from
May 18, 2020
Merged

Conversation

swissspidy
Copy link
Collaborator

Increasing the default timeout for this test seems only fair as it does a lot more (i.e. start the browser).

@swissspidy swissspidy added Type: Bug Something isn't working Type: Infrastructure Changes impacting testing infrastructure or build tooling labels May 14, 2020
@swissspidy swissspidy changed the title Incrase timeout for visual regression test Increase timeout for visual regression test May 14, 2020
@codecov

This comment has been minimized.

@github-actions

This comment has been minimized.

@swissspidy swissspidy marked this pull request as ready for review May 14, 2020 22:22
@swissspidy swissspidy removed the request for review from barklund May 14, 2020 22:22
@@ -88,6 +88,6 @@ describe('Layer', () => {
failureThreshold: 0.01,
failureThresholdType: 'percent',
});
});
}, 10000);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. That's a lot of timeout. Why would it be this slow?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default is 5s (5000ms), this doubles it to 10s (10000ms).

Especially on CI this test might take longer than 5s overall since it starts Puppeteer and needs to take a screenshot and compare it.

Copy link
Contributor

@spacedmonkey spacedmonkey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@swissspidy swissspidy requested a review from dvoytenko May 18, 2020 12:55
@swissspidy swissspidy merged commit 49ca2e1 into master May 18, 2020
@swissspidy swissspidy deleted the fix/test-timeout branch May 18, 2020 16:21
obetomuniz added a commit that referenced this pull request May 18, 2020
* master: (62 commits)
  Bump puppeteer from 3.0.4 to 3.1.0 (#1826)
  ignore karma tests from coverage
  review fixes
  Update karma.config.js
  Update .eslintrc
  Incrase timeout for visual regression test (#1785)
  Dashboard: Adds Tooltips. Borders around Preview Cards. (#1800)
  Update issue & PR templates (#1824)
  Add docs about Stories Labs env (#1815)
  Bump @wordpress/e2e-test-utils from 4.6.0 to 4.7.0 (#1790)
  Add a basic database upgrader. (#1751)
  Fix Design Panel scrolling on Safari (#1724)
  Add useCallback for DropTargetsProvider and MediaPane (#1709)
  Use useMemo for context values (#1707)
  Bump eslint-plugin-jest from 23.13.0 to 23.13.1 (#1819)
  Move jobs with dependencies together
  Alignment text element while editing (#1717)
  Workflow: Do build in release assets job
  Ignore patches folder from build
  Fix text alignment. (#1802)
  ...
obetomuniz added a commit that referenced this pull request May 19, 2020
* master: (43 commits)
  Fix issue templates headers
  Bump karma from 5.0.5 to 5.0.8 (#1851)
  add allow-empty-input in linter so that changes in storybook js don't fail in pre-commit (#1850)
  add FlagsProvider to storybook
  simplify jasmine eslint rules
  Bump @testing-library/dom from 7.5.6 to 7.5.7 (#1829)
  Bump react-moveable from 0.20.6 to 0.20.7 (#1827)
  Bump puppeteer from 3.0.4 to 3.1.0 (#1826)
  review fixes
  Karma: puppeeter support and native events
  ignore karma tests from coverage
  review fixes
  Update karma.config.js
  Update .eslintrc
  Incrase timeout for visual regression test (#1785)
  Dashboard: Adds Tooltips. Borders around Preview Cards. (#1800)
  Update issue & PR templates (#1824)
  Add docs about Stories Labs env (#1815)
  Bump @wordpress/e2e-test-utils from 4.6.0 to 4.7.0 (#1790)
  Add a basic database upgrader. (#1751)
  ...
obetomuniz added a commit that referenced this pull request May 19, 2020
* master: (77 commits)
  Fix issue templates headers
  Bump karma from 5.0.5 to 5.0.8 (#1851)
  add allow-empty-input in linter so that changes in storybook js don't fail in pre-commit (#1850)
  add FlagsProvider to storybook
  simplify jasmine eslint rules
  Bump @testing-library/dom from 7.5.6 to 7.5.7 (#1829)
  Bump react-moveable from 0.20.6 to 0.20.7 (#1827)
  Bump puppeteer from 3.0.4 to 3.1.0 (#1826)
  review fixes
  Karma: puppeeter support and native events
  ignore karma tests from coverage
  review fixes
  Update karma.config.js
  Update .eslintrc
  Incrase timeout for visual regression test (#1785)
  Dashboard: Adds Tooltips. Borders around Preview Cards. (#1800)
  Update issue & PR templates (#1824)
  Add docs about Stories Labs env (#1815)
  Bump @wordpress/e2e-test-utils from 4.6.0 to 4.7.0 (#1790)
  Add a basic database upgrader. (#1751)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working Type: Infrastructure Changes impacting testing infrastructure or build tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants