Skip feed events e2e specs (#20124)

This commit is contained in:
PJ 2023-09-15 17:36:08 +01:00 committed by GitHub
parent cadebde66f
commit 90944bb36b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View file

@ -18,6 +18,8 @@ window.observeFeedElements = observeFeedElements;
/**
* Sets up the feed events tracker.
* Called every time posts are inserted into the feed.
*
* NOTE: this module has E2E tests at `seededFlows/homeFeedFlows/events.spec.js`
*/
export function observeFeedElements() {
const feedContainer = document.getElementById('index-container');

View file

@ -1,4 +1,12 @@
describe('Home page feed events', () => {
/**
* Cypress takes extensive control of browser scrolling in order to facilitate
* its automation and testing; unfortunately that means that various scrolling
* behaviours (such as smooth scrolling or firing `IntersectionObserver` events)
* don't work consistently.
* This makes these tests flaky, but they are still useful to run locally and
* update if you are modifying feed event functionality.
*/
describe.skip('Home page feed events', () => {
beforeEach(() => {
cy.testSetup();
});