mirror of
https://github.com/zhigang1992/graphql-engine.git
synced 2026-05-22 23:42:51 +08:00
remove an unnecessary test from console (#681)
This commit is contained in:
committed by
Shahidh K Muhammed
parent
936d4c7b85
commit
137ab673ef
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user