-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increment included versions of existdb-launcher and existdb-usermanag…
…er once more
- Loading branch information
1 parent
7bca2bc
commit 1a07672
Showing
22 changed files
with
7,270 additions
and
29 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"baseUrl": "http://localhost:8080/exist/apps", | ||
"projectId": "6d2b23" | ||
} |
5 changes: 5 additions & 0 deletions
5
bower_components/existdb-usermanager/cypress/fixtures/example.json
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,5 @@ | ||
{ | ||
"name": "Using fixtures to represent data", | ||
"email": "hello@cypress.io", | ||
"body": "Fixtures are a great way to mock data for responses to routes" | ||
} |
30 changes: 30 additions & 0 deletions
30
bower_components/existdb-usermanager/cypress/integration/4.x.x/users_spec.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,30 @@ | ||
/// <reference types="cypress" /> | ||
|
||
describe('User Manager', function() { | ||
describe('log in', function() { | ||
before(function() { | ||
cy.visit('/dashboard/login.html') | ||
cy.get('#user').type('admin') | ||
cy.get('.button').click() | ||
}) | ||
describe('create and delete users', function() { | ||
it('should create and delete users', function() { | ||
cy.visit('/dashboard/admin#/usermanager') | ||
cy.shadowGet('#addUser').shadowClick() | ||
.shadowGet('#userInput').shadowTrigger('input', 'rudi') | ||
cy.shadowGet('input[type=password]').shadowTrigger('input', 'pass') | ||
cy.shadowGet('#confirm').shadowTrigger('input', 'pass') | ||
cy.shadowGet('#memberOf > paper-item:nth-child(1)').shadowClick() | ||
cy.shadowGet('#save').shadowClick() | ||
cy.shadowGet('.user-entry .user:contains("rudi")').shadowShould('have.length', 1) | ||
|
||
cy.shadowGet('.user-entry .user:contains("rudi")').shadowClick() | ||
cy.shadowGet('#userForm > form > paper-button:nth-child(11)').shadowClick().wait(500) | ||
|
||
cy.shadowGet('.user-entry') | ||
.shadowFind('span.user') | ||
.shadowShould('not.have.text', 'rudi') | ||
}) | ||
}) | ||
}) | ||
}) |
30 changes: 30 additions & 0 deletions
30
bower_components/existdb-usermanager/cypress/integration/5.x.x/users_spec.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,30 @@ | ||
/// <reference types="cypress" /> | ||
|
||
describe('User Manager', function() { | ||
describe('log in', function() { | ||
before(function() { | ||
cy.visit('/dashboard/login.html') | ||
cy.get('#user').type('admin') | ||
cy.get('.button').click() | ||
}) | ||
describe('create and delete users', function() { | ||
it('should create and delete users', function() { | ||
cy.visit('/dashboard/admin#/usermanager') | ||
cy.shadowGet('#addUser').shadowClick() | ||
.shadowGet('#userInput').shadowTrigger('input', 'rudi') | ||
cy.shadowGet('input[type=password]').shadowTrigger('input', 'pass') | ||
cy.shadowGet('#confirm').shadowTrigger('input', 'pass') | ||
cy.shadowGet('#memberOf > paper-item:nth-child(1)').shadowClick() | ||
cy.shadowGet('#save').shadowClick() | ||
cy.shadowGet('.user-entry .user:contains("rudi")').shadowShould('have.length', 1) | ||
|
||
cy.shadowGet('.user-entry .user:contains("rudi")').shadowClick() | ||
cy.shadowGet('#userForm > form > paper-button:nth-child(11)').shadowClick().wait(500) | ||
|
||
cy.shadowGet('.user-entry') | ||
.shadowFind('span.user') | ||
.shadowShould('not.have.text', 'rudi') | ||
}) | ||
}) | ||
}) | ||
}) |
17 changes: 17 additions & 0 deletions
17
bower_components/existdb-usermanager/cypress/plugins/index.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,17 @@ | ||
// *********************************************************** | ||
// This example plugins/index.js can be used to load plugins | ||
// | ||
// You can change the location of this file or turn off loading | ||
// the plugins file with the 'pluginsFile' configuration option. | ||
// | ||
// You can read more here: | ||
// https://on.cypress.io/plugins-guide | ||
// *********************************************************** | ||
|
||
// This function is called when a project is opened or re-opened (e.g. due to | ||
// the project's config changing) | ||
|
||
module.exports = (on, config) => { | ||
// `on` is used to hook into various events Cypress emits | ||
// `config` is the resolved Cypress config | ||
} |
Oops, something went wrong.