mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
test: adding composable for credential page loading (#14217)
This commit is contained in:
10
cypress/composables/credentialsComposables.ts
Normal file
10
cypress/composables/credentialsComposables.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export const verifyCredentialsListPageIsLoaded = () => {
|
||||
cy.get('[data-test-id="resources-list-wrapper"], [data-test-id="empty-resources-list"]').should(
|
||||
'be.visible',
|
||||
);
|
||||
};
|
||||
|
||||
export const navigateToCredentialsPageAndWaitForLoad = (credentialsPageUrl: string) => {
|
||||
cy.visit(credentialsPageUrl);
|
||||
verifyCredentialsListPageIsLoaded();
|
||||
};
|
||||
Reference in New Issue
Block a user