-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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: Fire appropriate event when cy.type(). #8255
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
830d228
Add test for issue-6125.html
sainthkh 5e2eb30
Add tests for KeyboardEvent.
sainthkh 0260a70
Remove comments.
sainthkh 2fb3007
Fix FireFox error.
sainthkh d9a68bf
Fix Firefox error.
sainthkh a6e8763
Fix typo in Firefox name.
sainthkh 1a94c40
Remove unnecessary issue-5650.html.
sainthkh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- Simplified version of https://signin.simple.com--> | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<title>Sign In | Simple</title> | ||
</head> | ||
<body> | ||
<form id="login"> | ||
<label for="login_username">Username</label> | ||
<input type="text" name="username" id="login_username" autofocus="autofocus" tabindex="1" autocapitalize="off" autocorrect="off" autocomplete="off" class="validate-text validate-username validate-email-username" /> | ||
|
||
<label for="login_password">Password</label> | ||
<input type="password" name="password" id="login_password" tabindex="2" autocomplete="off" class="validate-text" /> | ||
|
||
<input type="submit" id="signin-btn" class="btn -primary" value="Sign In" tabindex="4" disabled> | ||
</form> | ||
<script src="issue-6125.js" type="text/javascript"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Extracted the code that causes the problem in signin.simple.com | ||
// The cause was overriding the Event class. | ||
|
||
(function() { | ||
this.Event = function(n, i) { | ||
const r = n.type | ||
|
||
if (r.indexOf("key")) { | ||
// do something | ||
} | ||
} | ||
})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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.
nice comments 👍