-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #168 from pondersource/use-include-bash
Use include in bash scripts
- Loading branch information
Showing
54 changed files
with
2,686 additions
and
5,768 deletions.
There are no files selected for viewing
File renamed without changes.
22 changes: 22 additions & 0 deletions
22
cypress/ocm-test-suite/cypress/e2e/login/nextcloud-v28.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* @fileoverview | ||
* Cypress test suite for testing the login functionality of Nextcloud. | ||
* This suite contains tests to validate successful login functionality using valid credentials. | ||
* | ||
* @author Mohammad Mahdi Baghbani Pourvahid <[email protected]> | ||
*/ | ||
|
||
describe('Nextcloud Login Tests', () => { | ||
/** | ||
* Test Case: Validates successful login to Nextcloud. | ||
* This test logs into Nextcloud using valid credentials and checks for a successful login state. | ||
*/ | ||
it('should successfully log into Nextcloud with valid credentials', () => { | ||
// Define the Nextcloud instance URL and credentials from environment variables or use default values | ||
const nextcloudUrl = Cypress.env('NEXTCLOUD1_URL') || 'https://nextcloud1.docker'; | ||
const username = Cypress.env('NEXTCLOUD1_USERNAME') || 'einstein'; | ||
const password = Cypress.env('NEXTCLOUD1_PASSWORD') || 'relativity'; | ||
|
||
cy.loginNextcloud(nextcloudUrl, username, password); | ||
}); | ||
}); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,10 +13,10 @@ describe('Seafile Login Tests', () => { | |
*/ | ||
it('should successfully log into Seafile with valid credentials', () => { | ||
// Define the Seafile instance URL and credentials from environment variables or use default values | ||
const seafileUrl = Cypress.env('SEAFILE1_URL') || 'https://seafile1.docker'; | ||
const seafileUrl = Cypress.env('SEAFILE1_URL') || 'http://seafile1.docker'; | ||
const username = Cypress.env('SEAFILE1_USERNAME') || '[email protected]'; | ||
const password = Cypress.env('SEAFILE1_PASSWORD') || 'xu'; | ||
|
||
cy.loginOcis(seafileUrl, username, password); | ||
cy.loginSeafile(seafileUrl, username, password); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
|
||
import { | ||
createShareLinkV27, | ||
ensureFileExistsV27, | ||
renameFileV27, | ||
} from '../utils/nextcloud-v27'; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.