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",
|
||||
"nodeVersion": "system",
|
||||
"retries": {
|
||||
"runMode": 2,
|
||||
"openMode": 1
|
||||
"runMode": 3,
|
||||
"openMode": 0
|
||||
},
|
||||
"env": {
|
||||
"OPENREFINE_URL": "http://localhost:3333"
|
||||
|
@ -182,6 +182,7 @@ Cypress.Commands.add('confirmDialogPanel', () => {
|
||||
* Will click on a menu entry for a given column name
|
||||
*/
|
||||
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(
|
||||
'.data-table th:contains("' + columnName + '") .column-header-menu'
|
||||
).click();
|
||||
|
Loading…
Reference in New Issue
Block a user