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

[FIX, TESTING] Fixes failing teacher test #4797

Merged
merged 2 commits into from
Nov 23, 2023

Conversation

jpelay
Copy link
Member

@jpelay jpelay commented Nov 23, 2023

Description

The first test in the file second_teacher_invites was failing because the survey was getting on the way. This PR fixes it by creating a new class before all the tests are executed, and since this new class doesn't have any students we guarantee that the survey is not shown. This approach should be applied to all the other tests, I think, but this one is a bit more urgent since it's not letting us merge PRs

Copy link
Member

@Felienne Felienne left a comment

Choose a reason for hiding this comment

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

Seems to fix the flaky test!

Copy link
Contributor

mergify bot commented Nov 23, 2023

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 5d45bd6 into hedyorg:main Nov 23, 2023
9 checks passed
@Felienne
Copy link
Member

Hmmm, this PR did the job but then again the test failed on main, so it must be flaky? Hope @hasan-sh can offer a bit of help since it is related to the second teacher feature.

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.

2 participants