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

test: disable buttons animation in visual tests #3696

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

vursen
Copy link
Contributor

@vursen vursen commented Apr 18, 2022

Description

It turned out that there was a box-shadow animation of menu-bar buttons in the Material theme that wasn't disabled in visual tests which resulted in their instability. The PR disables that animation.

Note, during the animation, the browser may allocate the involved elements to separate layers for optimization purposes, which in turn may affect the font rendering making the test flaky.

Part of #3538

Type of change

  • Internal

Checklist

  • I have read the contribution guide: https://vaadin.com/docs-beta/latest/guide/contributing/overview/
  • I have added a description following the guideline.
  • The issue is created in the corresponding repository and I have referenced it.
  • I have added tests to ensure my change is effective and works as intended.
  • New and existing tests are passing locally with my change.
  • I have performed self-review and corrected misspellings.

@vursen vursen changed the title test: disable buttons animation test: disable buttons animation (WIP) Apr 18, 2022
@sonarcloud
Copy link

sonarcloud bot commented Apr 18, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@vursen vursen changed the title test: disable buttons animation (WIP) test: disable buttons animation Apr 18, 2022
@vursen vursen changed the title test: disable buttons animation test: disable buttons animation in visual tests Apr 18, 2022
@vursen vursen requested a review from web-padawan April 18, 2022 14:55
@web-padawan web-padawan merged commit 3111a20 into master Apr 19, 2022
@web-padawan web-padawan deleted the test/make-menu-bar-tests-more-reliable branch April 19, 2022 07:04
vaadin-bot pushed a commit that referenced this pull request Apr 19, 2022
vaadin-bot pushed a commit that referenced this pull request Apr 19, 2022
vursen added a commit that referenced this pull request Apr 19, 2022
Co-authored-by: Sergey Vinogradov <mr.vursen@gmail.com>
vursen added a commit that referenced this pull request Apr 19, 2022
Co-authored-by: Sergey Vinogradov <mr.vursen@gmail.com>
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 23.1.0.alpha3 and is also targeting the upcoming stable 23.1.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants