-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bdf2141
commit f97b922
Showing
6 changed files
with
42 additions
and
6 deletions.
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,11 @@ | ||
it('retries should on window object', () => { | ||
cy.visit('/cypress/fixtures/index.html') | ||
cy.contains('redirect').click() | ||
cy.url().should('contain', "fixtures/index2.html") | ||
}) | ||
|
||
|
||
it('retries should on window object', () => { | ||
cy.visit('/cypress/fixtures/index3.html') | ||
cy.url().should('contain', "fixtures/index.html") | ||
}) |
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Issue 599</title> | ||
</head> | ||
<body> | ||
<script type="text/javascript"> | ||
function redirect() { | ||
window.location.href = "/cypress/fixtures/index2.html" | ||
} | ||
</script> | ||
<button onclick='redirect()'>redirect</button> | ||
</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,7 @@ | ||
<!DOCTYPE html> | ||
<head> | ||
</head> | ||
<body> | ||
This page does nothing. | ||
</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,9 @@ | ||
<!DOCTYPE html> | ||
<head> | ||
<meta http-equiv="refresh" content="0; url=/cypress/fixtures/index.html" /> | ||
<title>Page Redirect</title> | ||
</head> | ||
<body> | ||
This page is being redirected. | ||
</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 |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
"author": "Gleb Bahmutov <[email protected]>", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"cypress": "^10.3.0", | ||
"ok-file": "1.5.2" | ||
}, | ||
"repository": { | ||
|