-
Notifications
You must be signed in to change notification settings - Fork 199
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
Reprovision API Integration test backends #250
Conversation
…onTests since they use the same schema
5d5fc1d
to
4c4c990
Compare
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.
A few notes, but most importantly--you committed the configuration files without obfuscation, so you'll need to obfuscate them on the next commit, remove the Amplify projects that generated those resources, and regenerate files for S3.
AmplifyPlugins/API/AWSAPICategoryPluginFunctionalTests/GraphQLModelBased/.gitignore
Outdated
Show resolved
Hide resolved
AmplifyPlugins/API/AWSAPICategoryPluginFunctionalTests/GraphQLModelBased/README.md
Show resolved
Hide resolved
...tegoryPluginFunctionalTests/GraphQLSyncBased/GraphQLSyncBasedTests-amplifyconfiguration.json
Outdated
Show resolved
Hide resolved
...ns/API/AWSAPICategoryPluginIntegrationTests/GraphQL/GraphQLWithIAMIntegrationTests/README.md
Outdated
Show resolved
Hide resolved
...ns/API/AWSAPICategoryPluginIntegrationTests/GraphQL/GraphQLWithIAMIntegrationTests/README.md
Outdated
Show resolved
Hide resolved
...QLWithUserPoolIntegrationTests/GraphQLWithUserPoolIntegrationTests-amplifyconfiguration.json
Outdated
Show resolved
Hide resolved
...raphQLWithUserPoolIntegrationTests/GraphQLWithUserPoolIntegrationTests-awsconfiguration.json
Outdated
Show resolved
Hide resolved
...I/AWSAPICategoryPluginIntegrationTests/GraphQL/GraphQLWithUserPoolIntegrationTests/README.md
Show resolved
Hide resolved
doh. looks like i need to re-reprovision sync based test and graphql with userpool. I missed adding the gitignore at that directory level. i think a more scalable approach will be to update the gitignore at the top level with a pattern match to ignore all files that end with |
52f367f
to
b838913
Compare
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.
Please confirm the new pattern, otherwise LGTM
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.
minor comments, but largely looks fine, approve
AmplifyPlugins/API/AWSAPICategoryPluginFunctionalTests/GraphQLModelBased/README.md
Outdated
Show resolved
Hide resolved
AmplifyPlugins/API/AWSAPICategoryPluginFunctionalTests/GraphQLModelBased/README.md
Outdated
Show resolved
Hide resolved
AmplifyPlugins/API/AWSAPICategoryPluginFunctionalTests/GraphQLSyncBased/README.md
Show resolved
Hide resolved
*/ | ||
|
||
let user1 = "[email protected]" | ||
let user1 = "[email protected]" | ||
let password = "Abc123@@!!" |
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.
wait, that's the password i use for all my accounts.... :P
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.
haha yeah, we should discuss some alternatives to how to set up tests which require users sign in. let's continue the conversation over in the storage PR (that pr builds on top of this one and i don't want to have to rebase things if any major changes)
odd, i pushed a new commit and it automatically "dismissed stale reviews" and now the approvals are gone. might be worth to to go to Settings ▶ Branches ▶ Branch protection rules ▶ Edit ▶ Uncheck "Dismiss stale pull request approvals when new commits are pushed". |
Major changes
This provisions the backend with the team's test account for
Minor Changes
Next up
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.