diff --git a/.prettierignore b/.prettierignore index 4fccd3228d..94b59dabd6 100644 --- a/.prettierignore +++ b/.prettierignore @@ -9,5 +9,6 @@ injected/src/features/Scriptlets **/*.md !injected/docs/**/*.md **/*.html +!injected/integration-test/test-pages/* **/*.har **/*.css diff --git a/injected/integration-test/test-pages/blank.html b/injected/integration-test/test-pages/blank.html index 15c8ca4392..6b182eb07a 100644 --- a/injected/integration-test/test-pages/blank.html +++ b/injected/integration-test/test-pages/blank.html @@ -1,6 +1,6 @@ - -

Blank Integration page

-

This page is used by extension test code, which will inject a content script

- + +

Blank Integration page

+

This page is used by extension test code, which will inject a content script

+ diff --git a/injected/integration-test/test-pages/index.html b/injected/integration-test/test-pages/index.html index d727620122..d82db682e0 100644 --- a/injected/integration-test/test-pages/index.html +++ b/injected/integration-test/test-pages/index.html @@ -1,7 +1,7 @@ - -

Integration page

-

This loads the injection file as if it were loaded through the content script.

- - + +

Integration page

+

This loads the injection file as if it were loaded through the content script.

+ + diff --git a/injected/integration-test/test-pages/infra/pages/conditional-matching-experiments.html b/injected/integration-test/test-pages/infra/pages/conditional-matching-experiments.html index e4330199fe..f9603aac00 100644 --- a/injected/integration-test/test-pages/infra/pages/conditional-matching-experiments.html +++ b/injected/integration-test/test-pages/infra/pages/conditional-matching-experiments.html @@ -1,49 +1,40 @@ - + - - - - Conditional Matching experiments - - - - -

[Infra]

+ + + + Conditional Matching experiments + + + + +

[Infra]

-

This page verifies that APIs get modified when in an experiment. Ensure you're sending the following cohorts: - - currentCohorts: [ - { - "feature": "contentScopeExperiments", - "subfeature": "bloops", - "cohort": "control", - }, - { - "feature": "contentScopeExperiments", - "subfeature": "test", - "cohort": "treatment", - }, - ], - -

+

+ This page verifies that APIs get modified when in an experiment. Ensure you're sending the following cohorts: + + currentCohorts: [ { "feature": "contentScopeExperiments", "subfeature": "bloops", "cohort": "control", }, { "feature": + "contentScopeExperiments", "subfeature": "test", "cohort": "treatment", }, ], + +

- - + // eslint-disable-next-line no-undef + renderResults(); + + diff --git a/injected/integration-test/test-pages/infra/pages/conditional-matching.html b/injected/integration-test/test-pages/infra/pages/conditional-matching.html index 7b11d615c3..b09a5f2d92 100644 --- a/injected/integration-test/test-pages/infra/pages/conditional-matching.html +++ b/injected/integration-test/test-pages/infra/pages/conditional-matching.html @@ -1,64 +1,63 @@ - + - - - - Conditional Matching - - - - -

[Infra]

+ + + + Conditional Matching + + + + +

[Infra]

-

This page verifies that APIs get modified

+

This page verifies that APIs get modified

- - + // eslint-disable-next-line no-undef + renderResults(); + + diff --git a/injected/integration-test/test-pages/infra/pages/min-supported-version-int.html b/injected/integration-test/test-pages/infra/pages/min-supported-version-int.html index 136733b4d6..0caec548b9 100644 --- a/injected/integration-test/test-pages/infra/pages/min-supported-version-int.html +++ b/injected/integration-test/test-pages/infra/pages/min-supported-version-int.html @@ -1,36 +1,36 @@ - + - - - - Min Supported Version (Int) - - - - -

[Infra]

-

This page verifies minSupportedVersion (int) conditional patching. Load with 99 as the version number.

- +

[Infra]

+

This page verifies minSupportedVersion (int) conditional patching. Load with 99 as the version number.

+ - - \ No newline at end of file + renderResults(); + + + diff --git a/injected/integration-test/test-pages/infra/pages/min-supported-version-string.html b/injected/integration-test/test-pages/infra/pages/min-supported-version-string.html index 54c5a9191f..cab573d059 100644 --- a/injected/integration-test/test-pages/infra/pages/min-supported-version-string.html +++ b/injected/integration-test/test-pages/infra/pages/min-supported-version-string.html @@ -1,36 +1,36 @@ - + - - - - Min Supported Version (String) - - - - -

[Infra]

-

This page verifies minSupportedVersion (string) conditional patching. Load with 1.5.0 as the version number.

- +

[Infra]

+

This page verifies minSupportedVersion (string) conditional patching. Load with 1.5.0 as the version number.

+ - - \ No newline at end of file + renderResults(); + + +