From 2723c09d73459d79195b3694100c156ae3c27159 Mon Sep 17 00:00:00 2001 From: Kevin Batdorf Date: Mon, 29 Aug 2022 13:22:24 -0400 Subject: [PATCH] Add slower scroll test --- cypress/support/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/commands.js b/cypress/support/commands.js index fa6b479..bb25bdb 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -81,7 +81,7 @@ Cypress.Commands.add('setTheme', (theme) => { .contains('Themes') .parents('.interface-interface-skeleton__sidebar') .scrollTo('bottom', { - duration: 1000, + duration: 3000, }); cy.get(`#code-block-pro-theme-${theme}`).should('exist'); cy.get(`#code-block-pro-theme-${theme}`).click();