Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Feat/scaffold UI test user on demand #2286
Feat/scaffold UI test user on demand #2286
Changes from all commits
9b3c5d1
7352db5
de7d5b9
5f5eb9f
cfe8719
00dc686
6d1acba
7704b89
0dd0721
7417e0e
9bb10ae
33e2ca7
490e666
ae3be90
17b4a2b
425e156
3be6c6c
f4c313a
74dd85d
0b1584a
9608861
b3f9d5d
09d027c
dd93318
e4ed50a
b38cb7a
0afb435
4e4027d
350649c
1cdb7ea
0a31d2c
c0f4456
6518911
56f8cb2
911b957
bbfdb84
baeb377
7dc741f
1bf62de
18458ad
a566d52
d3d877c
15d248a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
The addition of
CYPRESS_AUTH_CLIENT_SECRET
should be documented in the configuration documentation to ensure that developers are aware of this new environment variable.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.
Love this addition + the Cypress auth, I'll be sure to move the utility method from that PR in here 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.
Consider using
re.fullmatch
instead ofre.match
to ensure the entire string is matched against the regex pattern.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.
Consider logging the exception details here to help with debugging.
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.
The log message here references
user.email_address
, which will raise an AttributeError ifuser
is None. Consider updating the log message to avoid this issue.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.
The
like
pattern here has an extra%
at the end. It should beUser.email_address.like(f"%{EMAIL_PREFIX}%@cds-snc.ca")
.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.
Consider logging the exception details here to help with debugging.