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

E2E test for activity #251

Merged
merged 23 commits into from
Dec 13, 2024
Merged

E2E test for activity #251

merged 23 commits into from
Dec 13, 2024

Conversation

RemIsMyWaifuu
Copy link
Contributor

@RemIsMyWaifuu RemIsMyWaifuu commented Dec 11, 2024

Copied from #253:

Description:
The project requires 4 E2E tests for M3. Thus this test should be a fine addition by testing activity creation as well as activity editing.
Acceptance Criteria:

  • The test creates a new activity without the activity being seeded already
  • The test edits the same activity changing atleast 1 field.
  • The test checks that the entries are correct before and after editing.

Add first draft of a new E2E test with activities.
Ktfmt format compliance
@RemIsMyWaifuu RemIsMyWaifuu added the test Adding tests label Dec 11, 2024
@RemIsMyWaifuu RemIsMyWaifuu self-assigned this Dec 11, 2024
RemIsMyWaifuu and others added 18 commits December 11, 2024 16:22
Fix faulty test tags to make E2E work correctly.
Expand scope of E2E to handle activity edit and saving fields.
Ktfmt format to comply with the linting standards.
Try to fix E2E issues relating to shared firebase state.
Try to fix E2E issues relating with some strange stuff found on SO.
Try to see if putting tests in different packages affects results.
Change email between E2E but it doesn't help with the conflict state.
Fix E2E test tag by replacing it with the new proper name from main.
Rename ActivityCreationAndEdit by removing an unnecessary U.
Looks cleaner.
@RemIsMyWaifuu RemIsMyWaifuu linked an issue Dec 12, 2024 that may be closed by this pull request
@RemIsMyWaifuu RemIsMyWaifuu marked this pull request as ready for review December 12, 2024 23:38
Uncomment previously commented checks,
by providing the correct test tag.
Ktfmt format in order to comply with the project's linting standards.
Copy link
Contributor

@appellet appellet left a comment

Choose a reason for hiding this comment

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

I really tried to look if I could not find an improvement or a change and I did not find any. The code of the e2e is really complete and efficient, so thank you for this work. This PR can be merged

@yassine04e yassine04e merged commit d4f7e22 into main Dec 13, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Adding tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

E2E Activities test
3 participants