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

waitForAnimationToEnd isn't respecting the timeout set #2261

Closed
1 task done
mhyassin opened this issue Jan 20, 2025 · 2 comments
Closed
1 task done

waitForAnimationToEnd isn't respecting the timeout set #2261

mhyassin opened this issue Jan 20, 2025 · 2 comments

Comments

@mhyassin
Copy link

mhyassin commented Jan 20, 2025

Is there an existing issue for this?

  • I have searched the existing issues and didn't find mine.

Steps to reproduce

appId: ${APP_ID}
jsEngine: graaljs
---
- launchApp
- waitForAnimationToEnd:
    timeout: 30000
- tapOn: 'Next'

waitForAnimationToEnd wouldn't wait for the 30 seconds

Actual results

14:27:58.539 [ INFO] maestro.cli.runner.TestSuiteInteractor.invoke: Assert that "Checking for verification" is visible COMPLETED
14:27:58.539 [ INFO] maestro.cli.runner.TestSuiteInteractor.invoke: Wait for animation to end RUNNING
14:27:58.539 [ INFO] maestro.Maestro.waitForAnimationToEnd: Waiting for animation to end with timeout 5000
14:27:58.540 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to byte array
14:27:58.540 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to output sink
14:27:58.620 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to byte array
14:27:58.621 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to output sink
14:27:58.770 [ INFO] maestro.cli.runner.TestSuiteInteractor.invoke: Wait for animation to end COMPLETED
14:27:58.770 [ INFO] maestro.cli.runner.TestSuiteInteractor.invoke: Run scripts/confirmEmail.js RUNNING

This is from the maestro logs you can clearly see that 5 seconds haven't been waited for

Expected results

waitForAnimationToEnd to wait for the timeout specified

About app

Closed source

About environment

macOS 15.1, Macbook Pro M1 Pro 16 GB Memory
Java v17

Logs

Logs
14:27:58.539 [ INFO] maestro.cli.runner.TestSuiteInteractor.invoke: Assert that "Checking for verification" is visible COMPLETED
14:27:58.539 [ INFO] maestro.cli.runner.TestSuiteInteractor.invoke: Wait for animation to end RUNNING
14:27:58.539 [ INFO] maestro.Maestro.waitForAnimationToEnd: Waiting for animation to end with timeout 5000
14:27:58.540 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to byte array
14:27:58.540 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to output sink
14:27:58.620 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to byte array
14:27:58.621 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to output sink
14:27:58.770 [ INFO] maestro.cli.runner.TestSuiteInteractor.invoke: Wait for animation to end COMPLETED
14:27:58.770 [ INFO] maestro.cli.runner.TestSuiteInteractor.invoke: Run scripts/confirmEmail.js RUNNING

Maestro version

1.39.9

How did you install Maestro?

Homebrew

Anything else?

No response

Copy link

linear bot commented Jan 20, 2025

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue.
Thank you for helping keep us our issue tracker clean!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant