generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '97e67b7207ab00e95c47651061c2cceac4d007d9' into experime…
…ntation-v2-integration
- Loading branch information
Showing
12 changed files
with
189 additions
and
2 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
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
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
20 changes: 20 additions & 0 deletions
20
plugins/experimentation/tests/fixtures/audiences/page-level--redirect.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,20 @@ | ||
<html> | ||
<head> | ||
<meta name="audience-foo" content="/tests/fixtures/audiences/variant-1"/> | ||
<meta name="audience-bar" content="/tests/fixtures/audiences/variant-2"/> | ||
<meta name="audience-resolution" content="redirect"/> | ||
<meta property="audience:-foo" content="/tests/fixtures/audiences/variant-1"/> | ||
<script> | ||
window.AUDIENCES = { | ||
foo: () => true, | ||
bar: () => true, | ||
} | ||
</script> | ||
<script type="module" src="/tests/fixtures/scripts.js"></script> | ||
</head> | ||
<body> | ||
<main> | ||
<div>Hello World!</div> | ||
</main> | ||
</body> | ||
</html> |
19 changes: 19 additions & 0 deletions
19
plugins/experimentation/tests/fixtures/campaigns/page-level--redirect.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,19 @@ | ||
<html> | ||
<head> | ||
<meta name="campaign-foo" content="/tests/fixtures/campaigns/variant-1"/> | ||
<meta name="campaign-bar" content="/tests/fixtures/campaigns/variant-2"/> | ||
<meta name="campaign-resolution" content="redirect"/> | ||
<script type="module" src="/tests/fixtures/scripts.js"></script> | ||
<script> | ||
window.AUDIENCES = { | ||
foo: () => true, | ||
bar: () => true, | ||
} | ||
</script> | ||
</head> | ||
<body> | ||
<main> | ||
<div>Hello World!</div> | ||
</main> | ||
</body> | ||
</html> |
12 changes: 12 additions & 0 deletions
12
plugins/experimentation/tests/fixtures/experiments/page-level--redirect.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 @@ | ||
<html> | ||
<head> | ||
<meta name="experiment" content="foo"/> | ||
<meta name="experiment-variants" content="/tests/fixtures/experiments/page-level-v1,/tests/fixtures/experiments/page-level-v2"/> | ||
<meta name="experiment-name" content="V1,V2"/> | ||
<meta name="experiment-resolution" content="redirect"/> | ||
<script type="module" src="/tests/fixtures/scripts.js"></script> | ||
</head> | ||
<body> | ||
<main>Hello World!</main> | ||
</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