feat(e2e): Add cypress globals to eslint overrides (#43234)

fix(docs): Remove cypress eslint note on e2e docs
This commit is contained in:
Christian Z. Tamayo
2021-08-24 22:29:00 +08:00
committed by GitHub
parent b3cae635e1
commit e2d6639773
33 changed files with 7 additions and 61 deletions

View File

@ -1,5 +1,3 @@
/* global cy */
const selectors = {
footer: '.site-footer'
};

View File

@ -1,5 +1,3 @@
/* global cy */
describe('Help Button', () => {
it('should be visible', () => {
cy.visit(

View File

@ -1,5 +1,3 @@
/* global cy */
const selectors = {
heading: "[data-test-label='landing-header']",
smallCallToAction: "[data-test-label='landing-small-cta']",

View File

@ -1,5 +1,3 @@
/* global cy */
const search = query => {
cy.get('.ais-SearchBox').within(() => {
cy.get('input').type(query);