remove an unnecessary test from console (#681)

This commit is contained in:
Rishichandra Wawhal
2018-10-09 14:55:03 +05:30
committed by Shahidh K Muhammed
parent 936d4c7b85
commit 137ab673ef
2 changed files with 15 additions and 16 deletions

View File

@@ -325,25 +325,25 @@ export const deleteBITestTable = () => {
validateCT(getTableName(0, testName), 'failure');
};
export const failBINullKeys = () => {
const textIndex = dataTypes.indexOf('text');
// export const failBINullKeys = () => {
// const textIndex = dataTypes.indexOf('text');
cy.get(getElementFromAlias(`typed-input-${textIndex}`))
.clear()
.type('filter-text');
// cy.get(getElementFromAlias(`typed-input-${textIndex}`))
// .clear()
// .type('null-key-test');
cy.get("input[placeholder='float']")
.first()
.type('{selectall}{del}');
// cy.get("input[placeholder='float']")
// .first()
// .type('{selectall}{del}');
// Click the Insert Again button.
cy.get(getElementFromAlias('insert-save-button')).click();
// // Click the Insert Again button.
// cy.get(getElementFromAlias('insert-save-button')).click();
// cy.get('.notification-error').click();
// Wait for insert notifications to disappear
cy.wait(7000);
validateInsert(getTableName(0, testName), 20);
};
// // cy.get('.notification-error').click();
// // Wait for insert notifications to disappear
// cy.wait(7000);
// validateInsert(getTableName(0, testName), 20);
// };
export const failBIUniqueKeys = () => {
// Type a string in the text type fields of some rows (to be tested in Browse rows)

View File

@@ -42,7 +42,6 @@ export const runInsertBrowseTests = () => {
it('Check Insert Route', checkInsertRoute);
it('Fails when entered wrong data type', failBIWrongDataType);
it('Insert 20 rows', passBIInsert20Rows);
it('Fail for adding null for not null keys', failBINullKeys);
it('Fail for adding same data for Unique keys', failBIUniqueKeys);
it('Check browser rows route', checkBrowseRoute);
it('20 Inserted rows reflect in browse rows', passBI20RowsExist);