Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
This commit is contained in:
@@ -52,8 +52,11 @@ namespace Umbraco.Examine
|
||||
index.CreateIndex(); // clear the index
|
||||
}
|
||||
|
||||
//run the populators in parallel against all indexes
|
||||
Parallel.ForEach(_populators, populator => populator.Populate(indexes));
|
||||
// run each populator over the indexes
|
||||
foreach(var populator in _populators)
|
||||
{
|
||||
populator.Populate(indexes);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
context('User Groups', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
cy.umbracoLogin(Cypress.env('username'), Cypress.env('password'));
|
||||
});
|
||||
|
||||
it('Create member group', () => {
|
||||
const name = "Test Group";
|
||||
|
||||
cy.umbracoEnsureMemberGroupNameNotExists(name);
|
||||
|
||||
cy.umbracoSection('member');
|
||||
cy.get('li .umb-tree-root:contains("Members")').should("be.visible");
|
||||
|
||||
cy.umbracoTreeItem("member", ["Member Groups"]).rightclick();
|
||||
|
||||
cy.umbracoContextMenuAction("action-create").click();
|
||||
|
||||
//Type name
|
||||
cy.umbracoEditorHeaderName(name);
|
||||
|
||||
// Save
|
||||
cy.get('.btn-success').click();
|
||||
|
||||
//Assert
|
||||
cy.umbracoSuccessNotification().should('be.visible');
|
||||
|
||||
//Clean up
|
||||
cy.umbracoEnsureMemberGroupNameNotExists(name);
|
||||
});
|
||||
|
||||
});
|
||||
@@ -0,0 +1,41 @@
|
||||
/// <reference types="Cypress" />
|
||||
context('Members', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
cy.umbracoLogin(Cypress.env('username'), Cypress.env('password'));
|
||||
});
|
||||
|
||||
it('Create member', () => {
|
||||
const name = "Alice Bobson";
|
||||
const email = "alice-bobson@acceptancetest.umbraco";
|
||||
const password = "$AUlkoF*St0kgPiyyVEk5iU5JWdN*F7&@OSl5Y4pOofnidfifkBj5Ns2ONv%FzsTl36V1E924Gw97zcuSeT7UwK&qb5l&O9h!d!w";
|
||||
|
||||
cy.umbracoEnsureMemberEmailNotExists(email);
|
||||
cy.umbracoSection('member');
|
||||
cy.get('li .umb-tree-root:contains("Members")').should("be.visible");
|
||||
|
||||
cy.umbracoTreeItem("member", ["Members"]).rightclick();
|
||||
|
||||
cy.umbracoContextMenuAction("action-create").click();
|
||||
cy.get('.menu-label').first().click();
|
||||
|
||||
//Type name
|
||||
cy.umbracoEditorHeaderName(name);
|
||||
|
||||
cy.get('input#_umb_login').clear().type(email);
|
||||
cy.get('input#_umb_email').clear().type(email);
|
||||
cy.get('input#password').clear().type(password);
|
||||
cy.get('input#confirmPassword').clear().type(password);
|
||||
|
||||
// Save
|
||||
cy.get('.btn-success').click();
|
||||
|
||||
//Assert
|
||||
cy.umbracoSuccessNotification().should('be.visible');
|
||||
|
||||
//Clean up
|
||||
cy.umbracoEnsureMemberEmailNotExists(email);
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
context('User Groups', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
@@ -6,8 +6,8 @@
|
||||
"devDependencies": {
|
||||
"cross-env": "^7.0.2",
|
||||
"ncp": "^2.0.0",
|
||||
"cypress": "^4.6.0",
|
||||
"umbraco-cypress-testhelpers": "1.0.0-beta-39"
|
||||
"cypress": "^4.9.0",
|
||||
"umbraco-cypress-testhelpers": "1.0.0-beta-44"
|
||||
},
|
||||
"dependencies": {
|
||||
"typescript": "^3.9.2"
|
||||
|
||||
Reference in New Issue
Block a user