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
Libraries UI tests #35337
Libraries UI tests #35337
Conversation
3d7edf6
to
fdd83ee
Compare
Co-authored-by: suresh <suresh@code.org>
@sureshc @uponthesun I fixed the new bucket policy in |
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.
I only looked at the S3 policy and ui_tests.sh changes, but those look good to me, though it seems like the test isn't passing on Drone yet? It could be useful to manually edit the bucket policy while iterating on the UI tests via sshing to drone container, and then put it in the template afterwards.
Feel free to ping me on slack if you want to brainstorm on how best to do this.
281a171
to
acedfdb
Compare
we don't add new S3 buckets + UI tests often, but adding the steps needed to do so here in case it comes up again:
thank you, winter and suresh, for all your help on this! |
# Confirm Student1's library is in Student2's project | ||
And I wait for the page to fully load | ||
Then I open the Manage Libraries dialog | ||
And I wait until element "a:contains('UntitledProject')" is visible |
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.
Might not be possible, but should we also check if the library blocks are in the project?
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.
i started down that path, and it seemed a lot more complicated than it's worth
|
||
# Student2 imports Student1's library | ||
Given I create a student named "Student2" | ||
And I start a new Applab project |
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.
Would you be able to add a test for Gamelab too?
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.
i definitely can, but it looks like libraries aren't enabled in Gamelab, so i'm not sure how much value that would add. since you're OOO this week, i'm going to leave as-is for now and we can decide if we want to refactor this when you're back
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.
Oops. I think we forgot to enable libraries in Gamelab. Shouldn't block this PR, but probably should happen at some point.
36b92a9
to
acedfdb
Compare
@jmkulwik PTAL! |
Adds UI test coverage for our new libraries feature. Also adds a copy of the environment configuration and S3 bucket policy for using
cdo-v3-libraries
in CI environments.Links
Reviewer Checklist: