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

Reducing the probability of getting pages out of order (Expected orde… #2391

Merged
merged 1 commit into from
Dec 29, 2020

Conversation

trishaanand
Copy link
Contributor

…r is the order in which the pages were created and added to the application). This should :

  1. Get rid of cypress test failures which asserts a certain order till the cypress test case is fixed and unblocks the frontend team.
  2. Uses a bulk API to fetch all the pages instead of fetching each page sequentially over different network calls with the database.

…r is the order in which the pages were created and added to the application). This should :

1. Get rid of cypress test failures which asserts a certain order till the cypress test case is fixed and unblocks the frontend team.
2. Uses a bulk API to fetch all the pages instead of fetching each page sequentially over different network calls with the database.
@hetunandu
Copy link
Member

We should add the order instead

@trishaanand
Copy link
Contributor Author

trishaanand commented Dec 29, 2020

We should add the order instead

Order requires a proper solution. This was a performance optimization which also temporarily fixes the new failure seen in cypress. @rishabhsaxena is working on the correct fix for the same cypress test failure.

Basically pushing this out more because of the performance optimization and the side effect is that the new flakiness reduces till Rishabh fixes it.

@trishaanand trishaanand merged commit 712f41d into release Dec 29, 2020
@trishaanand trishaanand deleted the bug/get-pages-appId-order-changing branch December 29, 2020 13:40
nidhi-nair pushed a commit that referenced this pull request Jan 5, 2021
…r is the order in which the pages were created and added to the application). This should : (#2391)

1. Get rid of cypress test failures which asserts a certain order till the cypress test case is fixed and unblocks the frontend team.
2. Uses a bulk API to fetch all the pages instead of fetching each page sequentially over different network calls with the database.
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.

3 participants