From c3604bba4366325106798a861554387a101a3f04 Mon Sep 17 00:00:00 2001 From: ana-oprea Date: Mon, 2 Oct 2023 13:32:30 +0300 Subject: [PATCH] test: increase cypress timeout --- cypress.config.js | 2 +- cypress/e2e/01-slate-zotero-block.cy.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress.config.js b/cypress.config.js index 4846ce9..3fc8919 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -2,7 +2,7 @@ const { defineConfig } = require('cypress'); module.exports = defineConfig({ viewportWidth: 1280, - defaultCommandTimeout: 5000, + defaultCommandTimeout: 8888, chromeWebSecurity: false, reporter: 'junit', video: true, diff --git a/cypress/e2e/01-slate-zotero-block.cy.js b/cypress/e2e/01-slate-zotero-block.cy.js index 30ac91c..0c20e76 100644 --- a/cypress/e2e/01-slate-zotero-block.cy.js +++ b/cypress/e2e/01-slate-zotero-block.cy.js @@ -203,7 +203,7 @@ describe('Slate citations', () => { // In Footnotes block first reference has "a,b" to link to citing elements cy.get('.footnotes-listing-block ol') - .click() + .click({ force: true }) .children() .first() .find('sup')