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

Reset viewport size after each UI test #8164

Merged
merged 1 commit into from Jun 21, 2015
Merged

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Jun 21, 2015

After one test set a viewPortSize, all following tests were executed with the
same screenshot size. That means about 100 tests were actually executed with a
screenshot size of 480x320 because of https://github.com/piwik/piwik/blob/2.14.0-b4/tests/UI/specs/UIIntegration_spec.js#L76 a bit later on most tests were executed with a screenshot size of 320x320 by https://github.com/piwik/piwik/blob/master/tests/UI/specs/EvolutionGraph_spec.js#L146 causing failures like http://builds-artifacts.piwik.org/ui-tests.master/13496.7/Installation_db_setup

After one test set a viewPortSize, all following tests were executed with the
same screenshot size. That means about 100 tests were actually executed with a
screenshot size of 480x320
@tsteur tsteur added c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels Jun 21, 2015
@tsteur tsteur added this to the 2.14.0 milestone Jun 21, 2015
tsteur added a commit that referenced this pull request Jun 21, 2015
Reset viewport size after each UI test
@tsteur tsteur merged commit 9a76d1b into master Jun 21, 2015
@tsteur tsteur deleted the reset_viewport_on_test_start branch June 21, 2015 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant