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

UPDATE End-to-End Tests Q4 2024 #965

Open
3 tasks
MervinHernandez opened this issue Dec 12, 2024 · 6 comments
Open
3 tasks

UPDATE End-to-End Tests Q4 2024 #965

MervinHernandez opened this issue Dec 12, 2024 · 6 comments
Assignees

Comments

@MervinHernandez
Copy link
Collaborator

MervinHernandez commented Dec 12, 2024

Update end-to-end automated tests, based on what the team feels is mission-critical to monitor on a persistent basis.

Automated Tests in-hand (Dec 2024)

  1. The user should be able to publish an online event
  2. The user should be able publish an offline event
  3. The user should be able to create a new post for Venue
  4. Verify the logged in user view RSVP button on home page and perform RSVP action
  5. Verify the non-logged in user view RSVP button on home page and perform RSVP action
  6. The Event menu item should be preloaded after clicking Add New button

Suggested Additional Tests (Dec 2024)

  1. OSM - lat-long = updates
  2. OSM - toggling between OSM and Google, ensuring functionality remains
  3. Messages (emails to members) are working as expected // Ensure event featured image is rendered
  4. Event Details - Time Zone - ensure this follows WP Option > Timezone // for rendering to the front-end
  5. Demo Data - upon first activating plugin / ensure there's a demo event and venue visible

Next Actions

  • IMPLEMENT GitHub Actions (which will execute automated tests)
  • IMPLEMENT Dec 2024 Additional tests
  • WRITE Documentation for how project authorized dev's can trigger "push to test pathways"
@prashantabellad
Copy link
Contributor

@MervinHernandez
Below is the list of E2E automated tests implemented:

  1. The user should be able to publish an online event
  2. The user should be able publish an offline event
  3. The user should be able to create a new post for Venue
  4. Verify the logged in user view RSVP button on home page and perform RSVP action
  5. Verify the non-logged in user view RSVP button on home page and perform RSVP action
  6. The Event menu item should be preloaded after clicking Add New button

@Prayag11
Copy link
Contributor

Prayag11 commented Dec 16, 2024

@MervinHernandez
According to my understanding, I write some scenarios for new automation tests.

  1. OSM - lat-long = updates (Open Street Map = OSM)
  • Test to create a new venue for an offline event and verify the entered location map should be visible on the venue post.
  • Test to create a new event post for an offline event and verify the selected offline venue map should be visible on the event post.
  1. OSM - toggling between OSM and Google, ensuring functionality remains
  • Verify the offline venue location map should be visible on the venue post when the display map toggled button is enabled.
  • Verify the offline venue location map should not be visible on the venue post when the display map toggled button is disabled.
  1. Messages (emails to members) are working as expected // Ensure event featured image is rendered
  • Verify the added featured image for the event post should be visible when the post was published.
  1. Event Details - Time Zone - ensure this follows WP Option > Timezone // for rendering to the front-end
  • Verify the event post; event details and timezone should be visible on the front end.
  1. Demo Data - upon first activating plugin / ensure there's a demo event and venue visible
  • Verify that when the first plugin is activated, there is a demo venue and event should be visible.

please verify the above scenarios.

@MervinHernandez
Copy link
Collaborator Author

RE All tests

  • @mauteri can you confirm "where" is the latest merge-approved code which we shall use as reference for writing new tests?
  • For test 2 (OSM - toggling between OSM and Google, ensuring functionality remains) please ensure to use the toggle in the GatherPress Settings, in order to test this.
  • For test 3 (Messages) - I am unsure this feature is ready for testing writings

Thanks @Prayag11 / upon Mike's reply, we can have you step in to write several of the mission-critical global tests updates.

@mauteri
Copy link
Contributor

mauteri commented Dec 16, 2024

@MervinHernandez develop branch is code that was approved but not fully tested yet. So probably that.

@MervinHernandez
Copy link
Collaborator Author

🚩 Starting Updating tests

I believe the tests that Prayag outlined are good to write.
Next - Thanks mike for the clarification. We will pipe the develop branch to the test environment, and run those pull requests thru our updated tests.
Prayag and Prashant are now stepping into this task, and they'll get us an ETA. I do not expect this to be before Jan 6 (FYI all).

@Prayag11
Copy link
Contributor

Prayag11 commented Jan 8, 2025

@MervinHernandez @mauteri The listed tests are completed. Some of the tests are failing on the Firefox, Edge, and Webkit browsers. During automation testing, I observed one issue: after creating a post, the view event or view venue button is not visible, This issue is not reproduced manually, which is why the tests are failing.
Test to create a new venue for an offline event and verify the entered location map should be visible on the venue post..webm

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

No branches or pull requests

4 participants