Skip to content

Commit

Permalink
chore(deps): upgrade cypress (#2333)
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp authored Nov 4, 2024
1 parent d5770a8 commit 34b8b76
Show file tree
Hide file tree
Showing 7 changed files with 210 additions and 189 deletions.
9 changes: 9 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { defineConfig } from 'cypress';

export default defineConfig({
projectId: 'nf9rdc',
e2e: {
baseUrl: 'http://localhost:3000',
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
});
4 changes: 0 additions & 4 deletions cypress.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ describe('Recent and Favorites', () => {
cy.visit(Cypress.config().baseUrl!);
cy.openModal();
cy.typeQueryMatching();
cy.get('#docsearch-item-0 > a').click({ force: true }).wait(3000);
cy.get('#docsearch-item-0 > a').click({ force: true }).wait(1000);
cy.openModal();
cy.contains('Recent').should('be.visible');
});
Expand Down
23 changes: 0 additions & 23 deletions cypress/plugins/index.js

This file was deleted.

File renamed without changes.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"cy:run:chrome": "yarn run cy:run --browser chrome",
"cy:run:edge": "yarn run cy:run --browser edge",
"cy:run:firefox": "yarn run cy:run --browser firefox",
"cy:run": "start-server-and-test 'yarn website:test' http://localhost:3000 'cypress run --spec 'cypress/integration/**/*' --headless'",
"cy:run": "start-server-and-test 'yarn website:test' http://localhost:3000 'cypress run --spec 'cypress/e2e/**/*' --headless'",
"cy:verify": "cypress verify",
"lint:css": "stylelint **/src/**/*.css",
"lint": "eslint --ext .js,.ts,.tsx .",
Expand Down Expand Up @@ -58,11 +58,11 @@
"babel-plugin-module-resolver": "4.0.0",
"bundlesize2": "0.0.31",
"cssnano": "4.1.10",
"cypress": "9.6.1",
"cypress": "13.15.1",
"eslint": "8.55.0",
"eslint-config-algolia": "20.0.0",
"eslint-config-prettier": "8.10.0",
"eslint-plugin-cypress": "2.14.0",
"eslint-plugin-cypress": "4.1.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jest": "27.6.0",
Expand Down
355 changes: 197 additions & 158 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 34b8b76

Please sign in to comment.