Skip to content
Snippets Groups Projects
Unverified Commit dacda3ac authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

Increase the request timeout for Percy model editor spec (#30176)


* Increase the request timeout for Percy model editor spec

* Update e2e/test/visual/models/editor.cy.spec.js

Co-authored-by: default avatarTim Macdonald <tim@metabase.com>

---------

Co-authored-by: default avatarTim Macdonald <tim@metabase.com>
parent 534097fd
Branches
Tags
No related merge requests found
......@@ -3,8 +3,11 @@ import { SAMPLE_DATABASE } from "e2e/support/cypress_sample_database";
const { ORDERS, ORDERS_ID, PRODUCTS, PRODUCTS_ID } = SAMPLE_DATABASE;
// Temporarily skip to prevent failures on master
describe.skip("visual tests > models > editor", () => {
// The card query is fairly complex one and it takes a long time to complete
// on slow machines, like the ones used in CI.
// We've seen timeouts with the Cypress default `requestTimeout` of 5,000ms
// for the `cardQuery` route. Hence, why we need to increase it to 30,000ms.
describe("visual tests > models > editor", { requestTimeout: 30000 }, () => {
beforeEach(() => {
restore();
cy.signInAsAdmin();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment