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

[🔥Blocking 🔥] Integration_test for Twake Mail project #2977

Open
5 of 8 tasks
hoangdat opened this issue Jul 3, 2024 · 11 comments
Open
5 of 8 tasks

[🔥Blocking 🔥] Integration_test for Twake Mail project #2977

hoangdat opened this issue Jul 3, 2024 · 11 comments

Comments

@hoangdat
Copy link
Member

hoangdat commented Jul 3, 2024

Desc:

At the moment we don't have a test framework for all platform which can interact with 'native' component also. So we need to have separated test suits for Mobile and Web.

Mobile:

  • Make the comparison between: Patrol and Maetro
  • ADR
  • How to integrate with CICD?
  • Any other extra fee? yes, with small test cases we can choose with Firebase

Web:

  • can not use Flutter Drive because it does not support interact with web component (Fx: SSO)

  • setup Selenium

  • ADR

  • How to integrate with CICD?

  • [Blocking 🔥 🔥 🔥] Semantic not work well with PortalTarget (https://pub.dev/packages/flutter_portal): can not close overlay when click outside overlay.

@hoangdat
Copy link
Member Author

hoangdat commented Jul 5, 2024

Selenium:

  • Run same test case for multiple platform (WebDriver)? Log in each run?
  • CICD:
    • how to run without GUI?
    • how to set up CICD? Schedule? Only master?

@hoangdat
Copy link
Member Author

hoangdat commented Jul 5, 2024

Compare between Patrol vs Maestro

  • try to run Maestro
  • Compare in writing test-case?
  • Patrol: install new app in every test case
  • Maestro: install only app? how to isolate test?
  • how to install in CICD

@hoangdat
Copy link
Member Author

hoangdat commented Jul 5, 2024

  • setup integration_test for web
  • setup integration_test for mobile (Android/iOS)

@hoangdat
Copy link
Member Author

hoangdat commented Jul 10, 2024

@hoangdat
Copy link
Member Author

  • document about selenium
    • ADR
    • prepare for workshop of selenium

@tddang-linagora
Copy link
Contributor

@quantranhong1999

  • Setup test container for TMail backend & frontend

@tddang-linagora
Copy link
Contributor

tddang-linagora commented Jul 19, 2024

@tddang-linagora

  • Write test case using basic auth with local Docker container

@tddang-linagora
Copy link
Contributor

Drop Maestro

  • Cannot work with Webview
  • Tap actions are 99% position base, very unreliable

@hoangdat
Copy link
Member Author

@hoangdat hoangdat changed the title POC Integration_test for Twake Mail project [🔥Blocking 🔥] Integration_test for Twake Mail project Aug 8, 2024
@hoangdat
Copy link
Member Author

hoangdat commented Aug 9, 2024

@dab246 continue to handle blocking point in overlay widget with semantic

@hoangdat
Copy link
Member Author

hoangdat commented Aug 13, 2024

investigating:

  • ❌ use OverlayPortal to replace PortalTarget -> Not go this way
  • 🔥 NOT WORK WELL: TextField of Advanced Search, Composer was miss focus
  • ✅ Popup: click item will work well
  • ✅ Context menu: same as pop up
  • ✅ Text field in some dialog: rename, contact view loss focus

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

No branches or pull requests

3 participants