## Description This PR upgrades Cypress from 12.14 to Cy 12.16 along with below flaky fixes: - This PR fixes the below flakyness in Cypress suite: - ConversionAlgorithm_AutoLayout_Valid.js - ButtonGroup_MenuButton_Width_spec.js - columntypes/select_spec - method update - Date_column_editing_1_spec.js - Omnibar_spec.js - 6th case - TableV2_Widget_API_Pagination_spec.js - TableV2_Widget_API_Derived_Column_spec.js - TableV2TextPagination_spec.js - Table_Widget_API_Pagination_spec.js - TableTextPagination_spec.js - Table_Derived_Column_Data_validation_spec.js - LoginTests/LoginFailure_spec.js - cy.visit - timeouts handled - CreateQueryAfterDSSaved for Mock DB's - TableV2Filter1_2_Spec - InputTruncateCheck_Spec - DSDocs_Spec - for assertNewtab open - TableV2_DisplayText_spec - MultiSelect3_spec - PropertyPaneSuggestion_spec - Others/Video_spec.js #### Type of change - Script fix (non-breaking change which fixes an issue) ## Testing #### How Has This Been Tested? - [X] Cypress ## Checklist: #### QA activity: - [X] Added `Test Plan Approved` label after changes tests were reviewed
36 lines
849 B
TypeScript
36 lines
849 B
TypeScript
import { defineConfig } from "cypress";
|
|
|
|
export default defineConfig({
|
|
defaultCommandTimeout: 30000,
|
|
requestTimeout: 60000,
|
|
responseTimeout: 60000,
|
|
pageLoadTimeout: 60000,
|
|
videoUploadOnPasses: false,
|
|
videoCompression: false,
|
|
numTestsKeptInMemory: 5,
|
|
experimentalMemoryManagement: true,
|
|
reporterOptions: {
|
|
reportDir: "results",
|
|
overwrite: false,
|
|
html: true,
|
|
json: false,
|
|
},
|
|
chromeWebSecurity: false,
|
|
viewportHeight: 1100,
|
|
viewportWidth: 1400,
|
|
scrollBehavior: "center",
|
|
retries: {
|
|
runMode: 1,
|
|
openMode: 0,
|
|
},
|
|
e2e: {
|
|
baseUrl: "http://localhost/",
|
|
setupNodeEvents(on, config) {
|
|
return require("./cypress/plugins/index.js")(on, config);
|
|
},
|
|
specPattern: "cypress/e2e/**/*.{js,ts}",
|
|
testIsolation: false,
|
|
excludeSpecPattern: "cypress/e2e/**/spec_utility.ts",
|
|
},
|
|
});
|