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

Cannot use with integration_test dependency? #223

Open
JoseFMP opened this issue Jan 26, 2021 · 2 comments
Open

Cannot use with integration_test dependency? #223

JoseFMP opened this issue Jan 26, 2021 · 2 comments

Comments

@JoseFMP
Copy link

JoseFMP commented Jan 26, 2021

A fresh flutter projects promps this error when adding the dependency of screenshots

because every version of integration_test from sdk depends on file 6.0.0-nullsafety.4 and screenshots >=1.0.0 depends on file ^5.0.7, integration_test from sdk is incompatible with screenshots >=1.0.0.

So, because tenants depends on both screenshots 2.1.1 and integration_test any from sdk, version solving failed.
pub get failed (1; So, because tenants depends on both screenshots 2.1.1 and integration_test any from sdk, version solving failed.)
exit code 1

where

environment:
  sdk: ">=2.7.0 <3.0.0"

and

dev_dependencies:
  screenshots: 2.1.1
  test: 1.16.0-nullsafety.9
  flutter_test:
    sdk: flutter
  integration_test:
    sdk: flutter

Which version is supposed to be compatible with current flutter stable release?

@amorenew
Copy link

@JoseFMP I have all of these but not sure which one to exclude

dependency_overrides:
  flutter_svg: ^0.19.0
  freezed_annotation: ^0.12.0
  analyzer: ^0.39.17
  process: ^4.0.0-nullsafety.2
  platform: ^3.0.0-nullsafety.2
  file: ^6.0.0-nullsafety.2

@amorenew
Copy link

@JoseFMP I wonder how you use the e2e test I have a login page but after click on login and show the progress indicator under the login button it stuck and it doesn't have a waitFor like flutter driver so how you solve it?

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

2 participants