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

AssertWithAI returning false instead of true #2116

Open
1 task done
alecalma opened this issue Oct 29, 2024 · 1 comment
Open
1 task done

AssertWithAI returning false instead of true #2116

alecalma opened this issue Oct 29, 2024 · 1 comment

Comments

@alecalma
Copy link

alecalma commented Oct 29, 2024

Is there an existing issue for this?

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

Steps to reproduce

Start Pixel 9 Pro API35 from AndroidStudio and install MySports app from PlayStore
Login and select ZSC as your favourite club

appId: com.w4a.mysports
tags:

  • android
    --
  • launchApp
  • assertNotVisible:
    text: "Login"
  • scrollUntilVisible:
    element:
    text: TABELLE
    direction: DOWN
  • assertWithAI:
    assertion: the ZSC row has a different background than the other rows

Actual results

Screen Shot 2024-10-29 at 11 21 09 AM
Screen Shot 2024-10-29 at 11 22 43 AM

Normally the assert with AI works well or it's clear why the assert is failing, however there are cases like the one above where the assert is false and the explanation is wrong.

I tried to replicate it with chatGPT for web and the assert returns true. Can it be an implementation bug from your side?

Expected results

In the screenshots above, I expect the assert to be true.

About app

Native app for android mobile in ReactNative.

About environment

Pixel 9 Pro API35 from AndroidStudio.

Logs

Logs
<!-- Replace this line with your logs. *DO NOT* remove the backticks! -->

Maestro version

1.39.0

How did you install Maestro?

Homebrew

Anything else?

No response

Copy link

linear bot commented Oct 29, 2024

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

No branches or pull requests

1 participant