Closed Annelein closed 3 weeks ago
@Felienne this test fails: second-teachers can NOT view each other's public programs
because teacher1 now has public programs and teacher4 can actually see them. So I don't think this was a properly working test before?
But did we change this, are second teachers allowed to view each other's public programs now? Or does this PR catch an issue?
@Felienne this test fails:
second-teachers can NOT view each other's public programs
because teacher1 now has public programs and teacher4 can actually see them. So I don't think this was a properly working test before?
Ah good find!! The immediate effects of more test data :)
But did we change this, are second teachers allowed to view each other's public programs now? Or does this PR catch an issue?
I don't think this change was intentional, but maybe @jpelay or @hasan-sh knows?
@Felienne this test fails:
second-teachers can NOT view each other's public programs
because teacher1 now has public programs and teacher4 can actually see them. So I don't think this was a properly working test before?
This test isn't failing on master and passing as expected, but i see you added two public programs, not sure why, but then you need to adjust the tests accordingly. For instance, https://github.com/hedyorg/hedy/blob/main/tests/cypress/e2e/public_programs/programs_page.cy.js#L141 wouldn't hold anymore!
But did we change this, are second teachers allowed to view each other's public programs now? Or does this PR catch an issue?
Second teachers can do different things; see here https://github.com/hedyorg/hedy/pull/4644
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).
Fixes #5522
How to test See if teacher1 now has programs and a public profile