Coder Social home page Coder Social logo

Cannot be UITested about adaptive_dialog HOT 2 CLOSED

mono0926 avatar mono0926 commented on July 22, 2024 2
Cannot be UITested

from adaptive_dialog.

Comments (2)

basilmariano avatar basilmariano commented on July 22, 2024 1

it looks like the sample test is only possible in Widget Test, but it is not possible when doing the IntegrationTest using flutter_driver.

Please excuse me because Im totally new in Flutter dev. If you could provide sample Integration test that finds the Alert buttons or action sheet buttons and Tap it using flutter_driver, that would be great :)

P.S I love your work!

from adaptive_dialog.

mono0926 avatar mono0926 commented on July 22, 2024

Do you refer to like this method?
https://pub.dev/documentation/adaptive_dialog/latest/adaptive_dialog/showOkAlertDialog.html

This is a method, not a Widget, so key isn’t needed like official dialog method:
https://api.flutter.dev/flutter/material/showDialog.html

You can write a test like this without key:
https://github.com/mono0926/adaptive_dialog/pull/2/files

from adaptive_dialog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.