Undo changes to functional tests for defunct add data landing page
This commit is contained in:
parent
b853d89139
commit
83595aecd5
|
@ -13,7 +13,7 @@ bdd.describe('user input reactions', function () {
|
|||
// delete .kibana index and then wait for Kibana to re-create it
|
||||
return esClient.deleteAndUpdateConfigDoc()
|
||||
.then(function () {
|
||||
return settingsPage.navigateTo().then(settingsPage.clickExistingIndicesAddDataLink);
|
||||
return settingsPage.navigateTo();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ bdd.describe('creating and deleting default index', function describeIndexTests(
|
|||
// delete .kibana index and then wait for Kibana to re-create it
|
||||
return esClient.deleteAndUpdateConfigDoc()
|
||||
.then(function () {
|
||||
return settingsPage.navigateTo().then(settingsPage.clickExistingIndicesAddDataLink);
|
||||
return settingsPage.navigateTo();
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -78,9 +78,9 @@ bdd.describe('creating and deleting default index', function describeIndexTests(
|
|||
});
|
||||
});
|
||||
|
||||
bdd.it('should return to the add data landing page', function returnToPage() {
|
||||
bdd.it('should return to index pattern creation page', function returnToPage() {
|
||||
return common.try(function tryingForTime() {
|
||||
return common.findTestSubject('addData');
|
||||
return settingsPage.getCreateButton();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ bdd.describe('index result popularity', function describeIndexTests() {
|
|||
// delete .kibana index and then wait for Kibana to re-create it
|
||||
return esClient.deleteAndUpdateConfigDoc()
|
||||
.then(function () {
|
||||
return settingsPage.navigateTo().then(settingsPage.clickExistingIndicesAddDataLink);
|
||||
return settingsPage.navigateTo();
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -22,7 +22,7 @@ bdd.describe('index result popularity', function describeIndexTests() {
|
|||
});
|
||||
|
||||
bdd.afterEach(function ae() {
|
||||
return settingsPage.removeIndexPattern().then(settingsPage.clickExistingIndicesAddDataLink);
|
||||
return settingsPage.removeIndexPattern();
|
||||
});
|
||||
|
||||
bdd.describe('change popularity', function indexPatternCreation() {
|
||||
|
|
|
@ -34,7 +34,7 @@ bdd.describe('index result field sort', function describeIndexTests() {
|
|||
columns.forEach(function (col) {
|
||||
bdd.describe('sort by heading - ' + col.heading, function indexPatternCreation() {
|
||||
bdd.before(function () {
|
||||
return settingsPage.navigateTo().then(settingsPage.clickExistingIndicesAddDataLink);
|
||||
return settingsPage.navigateTo();
|
||||
});
|
||||
|
||||
bdd.beforeEach(function () {
|
||||
|
@ -42,7 +42,7 @@ bdd.describe('index result field sort', function describeIndexTests() {
|
|||
});
|
||||
|
||||
bdd.afterEach(function () {
|
||||
return settingsPage.removeIndexPattern().then(settingsPage.clickExistingIndicesAddDataLink);
|
||||
return settingsPage.removeIndexPattern();
|
||||
});
|
||||
|
||||
bdd.it('should sort ascending', function pageHeader() {
|
||||
|
@ -80,7 +80,6 @@ bdd.describe('index result field sort', function describeIndexTests() {
|
|||
|
||||
bdd.before(function () {
|
||||
return settingsPage.navigateTo()
|
||||
.then(settingsPage.clickExistingIndicesAddDataLink)
|
||||
.then(function () {
|
||||
return settingsPage.createIndexPattern();
|
||||
});
|
||||
|
|
|
@ -13,7 +13,7 @@ bdd.describe('initial state', function () {
|
|||
// delete .kibana index and then wait for Kibana to re-create it
|
||||
return esClient.deleteAndUpdateConfigDoc()
|
||||
.then(function () {
|
||||
return settingsPage.navigateTo().then(settingsPage.clickExistingIndicesAddDataLink);
|
||||
return settingsPage.navigateTo();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ bdd.describe('creating and deleting default index', function describeIndexTests(
|
|||
// delete .kibana index and then wait for Kibana to re-create it
|
||||
return esClient.deleteAndUpdateConfigDoc()
|
||||
.then(function () {
|
||||
return settingsPage.navigateTo().then(settingsPage.clickExistingIndicesAddDataLink);
|
||||
return settingsPage.navigateTo();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue