mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Set up Cypress as pnpm workspace (no-changelog) (#6049)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -3,6 +3,7 @@ import Chainable = Cypress.Chainable;
|
||||
|
||||
export class VariablesPage extends BasePage {
|
||||
url = '/variables';
|
||||
|
||||
getters = {
|
||||
unavailableResourcesList: () => cy.getByTestId('unavailable-resources-list'),
|
||||
emptyResourcesList: () => cy.getByTestId('empty-resources-list'),
|
||||
@@ -14,7 +15,7 @@ export class VariablesPage extends BasePage {
|
||||
createVariableButton: () => cy.getByTestId('resources-list-add'),
|
||||
variablesRows: () => cy.getByTestId('variables-row'),
|
||||
variablesEditableRows: () =>
|
||||
cy.getByTestId('variables-row').filter((index, row) => !!row.querySelector('input')),
|
||||
cy.getByTestId('variables-row').filter((_, row) => !!row.querySelector('input')),
|
||||
variableRow: (key: string) =>
|
||||
this.getters.variablesRows().contains(key).parents('[data-test-id="variables-row"]'),
|
||||
editableRowCancelButton: (row: Chainable<JQuery<HTMLElement>>) =>
|
||||
|
||||
Reference in New Issue
Block a user