Thanks to visit codestin.com
Credit goes to github.com

Skip to content

test(e2e, Fabric): add e2e test for issue/PR example 658#2900

Merged
kligarski merged 2 commits into
mainfrom
@kligarski/add-e2e-tests-658
May 5, 2025
Merged

test(e2e, Fabric): add e2e test for issue/PR example 658#2900
kligarski merged 2 commits into
mainfrom
@kligarski/add-e2e-tests-658

Conversation

@kligarski

Copy link
Copy Markdown
Contributor

Description

Create e2e test for Test658.

Test658

Test created. It checks that opening multiple modals/transparent modals works correctly.

Changes

  • modify Test658 screen to allow testing:
    • change dangerouslyGetState() to getState() (details)
    • move buttons from under status bar
    • add Text with screen number
    • add testIDs
  • add e2e test for Test658
  • add comment in apps/src/tests/index.ts

Test code and steps to reproduce

CI

Checklist

  • Ensured that CI passes

@kligarski kligarski requested a review from kkafar May 5, 2025 08:28

@kkafar kkafar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄 This one is a bit tedious. I haven't checked the runtime behaviour, trusting you here to get it right!

Comment thread FabricExample/e2e/issuesTests/Test658.e2e.ts Outdated
@kligarski

Copy link
Copy Markdown
Contributor Author

Yeah, this one is not the most interesting. The test seems to be working fine, I will wait for the CI to pass. We could probably add a lot of different combinations of transparent modals and regular modals but the original issue was mainly about transparent modals - only 2 of them were visible - so I focused on simpler examples in order not to overwhelm our CI in the future :D

@kligarski kligarski requested a review from kkafar May 5, 2025 09:14

@kkafar kkafar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is fine for a moment. Thanks! The lib really needs this!

@kligarski kligarski merged commit fabe4de into main May 5, 2025
@kligarski kligarski deleted the @kligarski/add-e2e-tests-658 branch May 5, 2025 11:01
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

Successfully merging this pull request may close these issues.

2 participants