cypress icon indicating copy to clipboard operation
cypress copied to clipboard

feat: add option to ignore chrome preferences

Open jennifer-shehane opened this issue 10 months ago • 3 comments

  • Closes https://github.com/cypress-io/cypress/issues/29330

Additional details

Adds an IGNORE_CHROME_PREFERENCES option to ignore Chrome preferences paths.

Steps to test

How has the user experience changed?

PR Tasks

  • [ ] Have tests been added/updated?
  • [ ] Has a PR for user-facing changes been opened in cypress-documentation? https://github.com/cypress-io/cypress-documentation/pull/5822
  • [ ] Have API changes been updated in the type definitions?

jennifer-shehane avatar Apr 30 '24 19:04 jennifer-shehane

2 flaky tests on run #55647 ↗︎

0 4670 951 0 Flakiness 2

Details:

Merge branch 'develop' into ignore-chrom-prefs
Project: cypress Commit: 74202f0612
Status: Passed Duration: 16:12 💡
Started: Jun 4, 2024 2:22 PM Ended: Jun 4, 2024 2:38 PM
Flakiness  cypress/e2e/commands/net_stubbing.cy.ts • 2 flaky tests • 5x-driver-webkit

View Output

Test Artifacts
... > with `resourceType` > can match a proxied image request by resourceType
    </td>
  </tr>
  <tr>
    <td colspan="2">
      <a href="https://cloud.cypress.io/projects/ypt4pf/runs/55647/overview/61f105e7-b855-4438-b395-de221e5928ef?reviewViewBy=FLAKY&utm_source=github&utm_medium=flaky&utm_campaign=view%20test">
        ... > stops waiting when an xhr request is canceled
      </a>
    </td>
    <td>
      
    </td>
  </tr></table>

Review all test suite changes for PR #29447 ↗︎

cypress[bot] avatar Apr 30 '24 19:04 cypress[bot]

@cacieprins to make some updates here based on our convo - to ignore writing and reading chrome prefs

jennifer-shehane avatar May 21 '24 17:05 jennifer-shehane

Latest changes applied:

  • definitively skip writing as well as reading - before, it would only skip as secondary behavior to the flag, and only if chrome preferences were not set in cy config

cacieprins avatar May 22 '24 18:05 cacieprins

Released in 13.11.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to Cypress v13.11.0, please open a new issue.

cypress-bot[bot] avatar Jun 04 '24 20:06 cypress-bot[bot]