-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: respect 'force' and 'conditions' properties on redirects (#38657) (
#38664) * move force redirects changes to main repo * empty commit * fix: conditions and add e2e test case * test: fix country condition assertion --------- Co-authored-by: Michal Piechowiak <[email protected]> (cherry picked from commit 48d311e) Co-authored-by: Jenae Janzen <[email protected]>
- Loading branch information
1 parent
4bf84f0
commit c43080f
Showing
13 changed files
with
373 additions
and
38 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
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
14 changes: 14 additions & 0 deletions
14
e2e-tests/adapters/src/pages/routes/redirect/existing-force.jsx
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 @@ | ||
import * as React from "react" | ||
import Layout from "../../../components/layout" | ||
|
||
const ExistingForcePage = () => { | ||
return ( | ||
<Layout> | ||
<h1>Existing Force</h1> | ||
</Layout> | ||
) | ||
} | ||
|
||
export default ExistingForcePage | ||
|
||
export const Head = () => <title>Existing Force</title> |
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 @@ | ||
import * as React from "react" | ||
import Layout from "../../../components/layout" | ||
|
||
const HitDEPage = () => { | ||
return ( | ||
<Layout> | ||
<h1>Hit DE</h1> | ||
</Layout> | ||
) | ||
} | ||
|
||
export default HitDEPage | ||
|
||
export const Head = () => <title>Hit DE</title> |
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 @@ | ||
import * as React from "react" | ||
import Layout from "../../../components/layout" | ||
|
||
const HitUSPage = () => { | ||
return ( | ||
<Layout> | ||
<h1>Hit US</h1> | ||
</Layout> | ||
) | ||
} | ||
|
||
export default HitUSPage | ||
|
||
export const Head = () => <title>Hit US</title> |
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
Oops, something went wrong.