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

Implements part of #17712 : Acceptance tests for CUJs in the history tab of the exploration creator. #20191

Closed
wants to merge 21 commits into from

Conversation

Akhilesh-max
Copy link
Contributor

@Akhilesh-max Akhilesh-max commented Apr 21, 2024

Overview

  1. This PR fixes or fixes part of Acceptance Testing - covering all user journeys in form of user stories #17712
  2. This PR does the following: Adds the acceptance test for the following CUJs in exploration editor section.

(serial numbers same as testing spreadsheet row number for each user type)

Essential Checklist

Please follow the instructions for making a code change.

  • I have linked the issue that this PR fixes in the "Development" section of the sidebar.
  • I have checked the "Files Changed" tab and confirmed that the changes are what I want to make.
  • I have written tests for my code.
  • The PR title starts with "Fix #bugnum: " or "Fix part of #bugnum: ...", followed by a short, clear summary of the changes.
  • I have assigned the correct reviewers to this PR (or will leave a comment with the phrase "@{{reviewer_username}} PTAL" if I can't assign them directly).

PR Pointers

Copy link

oppiabot bot commented Apr 21, 2024

Hi @Akhilesh-max, can you complete the following:

  1. The body of this PR is missing the proof that changes are correct section, please update it to include the section.
    Thanks!

Copy link

oppiabot bot commented Apr 21, 2024

Hi @Akhilesh-max please assign the required reviewer(s) for this PR. Thanks!

Copy link

oppiabot bot commented Apr 22, 2024

Hi @Akhilesh-max. Due to recent changes in the "develop" branch, this PR now has a merge conflict. Please follow this link if you need help resolving the conflict, so that the PR can be merged. Thanks!

@Akhilesh-max Akhilesh-max marked this pull request as ready for review April 27, 2024 15:07
@Akhilesh-max Akhilesh-max requested review from a team as code owners April 27, 2024 15:07
Copy link
Contributor

@StephenYu2018 StephenYu2018 left a comment

Choose a reason for hiding this comment

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

Several concerns.

Copy link

oppiabot bot commented May 1, 2024

Unassigning @Akhilesh-max since a re-review was requested. @Akhilesh-max, please make sure you have addressed all review comments. Thanks!

Copy link
Contributor

@StephenYu2018 StephenYu2018 left a comment

Choose a reason for hiding this comment

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

Resolved most of my previous comments, with the exception of one.

Also, there's one new concern from me.

Copy link

oppiabot bot commented May 1, 2024

Unassigning @StephenYu2018 since the review is done.

Copy link

oppiabot bot commented May 1, 2024

Hi @Akhilesh-max, it looks like some changes were requested on this pull request by @StephenYu2018. PTAL. Thanks!

@Akhilesh-max
Copy link
Contributor Author

Thanks @StephenYu2018. Addressed all your comments, I am stuck somewhere, as well. Have left a comment.

* Downloads a specific version.
* @param {number} version - The version number to be downloaded.
*/
async downloadVersion(version: number): Promise<void> {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@imchristie @seanlip @StephenYu2018
I need to confirm this download, wherein this download initiates on clicking the download button which in turn opens a new tab. However, this tab closes too quickly to read any event or fetch its URL for download confirmation. I attempted to monitor network activity, but the file appears to be served directly, without any network request. Additionally, I'm unable to access the download directory as this is set to run on CI.
I tried looking if puppeteer provides some way to confirm the download, but couldn't find any.
May you please share some approach to confirm the download of the revisions?

Thank you.

Copy link
Member

@seanlip seanlip May 3, 2024

Choose a reason for hiding this comment

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

@Akhilesh-max I don't know offhand, but what online resources have you looked at for handling downloads in puppeteer? That's where I would start -- a quick search showed a bunch of results that might be promising and are probably worth investigating.

Copy link
Member

Choose a reason for hiding this comment

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

Also I think it's probably fine to make slight modifications to the flow for downloading these if needed, if it helps make things a bit easier on the acceptance tests side of things.

Copy link
Contributor

@StephenYu2018 StephenYu2018 left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

oppiabot bot commented May 3, 2024

Assigning @nikitaevg, @U8NWXD for code owner reviews. Thanks!

Copy link
Contributor

@nikitaevg nikitaevg left a comment

Choose a reason for hiding this comment

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

LGTM on the frontend changes

@oppiabot oppiabot bot unassigned nikitaevg May 4, 2024
Copy link

oppiabot bot commented May 4, 2024

Unassigning @nikitaevg since they have already approved the PR.

@U8NWXD U8NWXD removed their assignment May 4, 2024
@oppiabot oppiabot bot added the PR: LGTM label May 4, 2024
Copy link

oppiabot bot commented May 4, 2024

Hi @Akhilesh-max, this PR is ready to be merged. Please address any remaining comments prior to merging, and feel free to merge this PR once the CI checks pass and you're happy with it. Thanks!

Copy link

oppiabot bot commented May 11, 2024

Hi @Akhilesh-max. Due to recent changes in the "develop" branch, this PR now has a merge conflict. Please follow this link if you need help resolving the conflict, so that the PR can be merged. Thanks!

Copy link

oppiabot bot commented May 18, 2024

Hi @Akhilesh-max, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 4 days, it will be automatically closed so that others can take up the issue.
If you are still working on this PR, please make a follow-up commit within 4 days (and submit it for review, if applicable). Please also let us know if you are stuck so we can help you!

@oppiabot oppiabot bot added the stale label May 18, 2024
@oppiabot oppiabot bot closed this May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants