-
Notifications
You must be signed in to change notification settings - Fork 214
chore(tests): Add publish/unpublish to preview test. #13780
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
Conversation
880ea1b to
851516c
Compare
| r["id"]: r | ||
| for r in self.kinto_http_client.get_records( | ||
| bucket=settings.KINTO_BUCKET_MAIN, collection=self.collection | ||
| bucket=self.read_bucket, collection=self.collection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh @b4handjr I think should make changes for local environment only so that we don't break the prod and stage, you can add a check and change the bucket accordingly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well I technically didn't break any tests... 🤐
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but test doesn't include our stage and prod, I am just worried about that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh @yashikakhurana I don't think this changes which environment it goes to, it's just whether it's in the main or main-workspace collections in the local test kinto 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya this is great ty @b4handjr 🙏 🎉
| r["id"]: r | ||
| for r in self.kinto_http_client.get_records( | ||
| bucket=settings.KINTO_BUCKET_MAIN, collection=self.collection | ||
| bucket=self.read_bucket, collection=self.collection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh @yashikakhurana I don't think this changes which environment it goes to, it's just whether it's in the main or main-workspace collections in the local test kinto 🙏
Issues attributed to commits in this pull requestThis pull request was merged and Sentry observed the following issues:
|
Because
This commit
Fixes #8436