Skip to content

Commit

Permalink
FIXME - Intentionally break integration tests
Browse files Browse the repository at this point in the history
** Do not merge! **
  • Loading branch information
kzar committed May 11, 2022
1 parent 197d082 commit 1c74c9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration-test/background/grades.js
Expand Up @@ -2,7 +2,7 @@
const harness = require('../helpers/harness')

const tests = [
{ url: 'duckduckgo.com', siteGrade: 'A', enhancedGrade: 'A' },
{ url: 'duckduckgo.com', siteGrade: 'A', enhancedGrade: 'D' },
{ url: 'www.independent.co.uk', siteGrade: ['D', 'D-'], enhancedGrade: 'B+' },
{ url: 'google.com', siteGrade: 'D', enhancedGrade: 'D' },
{ url: 'reddit.com', siteGrade: ['D', 'D-', 'C'], enhancedGrade: 'B' },
Expand Down
2 changes: 1 addition & 1 deletion integration-test/background/url-parameters.js
Expand Up @@ -86,7 +86,7 @@ describe('Test URL tracking parameters protection', () => {
for (const { initialUrl, expectedUrl, description } of testCases) {
// Test the tracking parameters were stripped.
await page.goto(initialUrl, { waitUntil: 'networkidle0' })
expect(page.url()).withContext(description).toEqual(expectedUrl)
expect(page.url()).withContext(description).toEqual(initialUrl)

// Test the `urlParametersRemoved` breakage flag was set correctly.
// Note: `null` denotes tab not found.
Expand Down

0 comments on commit 1c74c9d

Please sign in to comment.