Fix Flaky Cypress tests, Issue 3594 (#3595)
* Attempt to fix flaky tests * Increased Cypress retries, removed retries for openMode
This commit is contained in:
parent
ec4a1f431f
commit
a1209f9702
@ -2,8 +2,8 @@
|
|||||||
"integrationFolder": "./cypress/integration",
|
"integrationFolder": "./cypress/integration",
|
||||||
"nodeVersion": "system",
|
"nodeVersion": "system",
|
||||||
"retries": {
|
"retries": {
|
||||||
"runMode": 2,
|
"runMode": 3,
|
||||||
"openMode": 1
|
"openMode": 0
|
||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"OPENREFINE_URL": "http://localhost:3333"
|
"OPENREFINE_URL": "http://localhost:3333"
|
||||||
|
@ -182,6 +182,7 @@ Cypress.Commands.add('confirmDialogPanel', () => {
|
|||||||
* Will click on a menu entry for a given column name
|
* Will click on a menu entry for a given column name
|
||||||
*/
|
*/
|
||||||
Cypress.Commands.add('columnActionClick', (columnName, actions) => {
|
Cypress.Commands.add('columnActionClick', (columnName, actions) => {
|
||||||
|
cy.get('body[ajax_in_progress="false"]'); // OR must not be loading at the moment, column headers will be detached from the dom
|
||||||
cy.get(
|
cy.get(
|
||||||
'.data-table th:contains("' + columnName + '") .column-header-menu'
|
'.data-table th:contains("' + columnName + '") .column-header-menu'
|
||||||
).click();
|
).click();
|
||||||
|
Loading…
Reference in New Issue
Block a user