[ADF-3671] Rename Automation Tests (#3931)

* [ADF-3671] Rename Automation Tests

* [ADF-3671] Fix multiline widget automation test

* [ADF-3671] Remove fit from automation tests
This commit is contained in:
davidcanonieto
2018-10-30 14:36:27 +00:00
committed by Eugenio Romano
parent afd44afea6
commit 3639cc40e7
15 changed files with 34 additions and 35 deletions

View File

@@ -37,7 +37,7 @@ describe('Dynamic Table widget ', () => {
let appModel;
let deployedApp, process;
describe('with date widget', () => {
describe('with Date Time Widget App', () => {
let app = resources.Files.WIDGET_CHECK_APP.DYNAMIC_TABLE;
beforeAll(async (done) => {
@@ -78,26 +78,26 @@ describe('Dynamic Table widget ', () => {
done();
});
it('[C276729] Dynamic table widget - Visiblity', () => {
it('[C276729] Should be possible to set visibility properties for Dynamic Table', () => {
taskPage.formFields().checkWidgetIsHidden(app.FIELD.dynamic_table_age_id);
widget.checkboxWidget().clickCheckboxInput(app.FIELD.checkbox_id);
taskPage.formFields().checkWidgetIsVisible(app.FIELD.dynamic_table_age_id);
});
it('[C279349] Dynamic table with Datetime', () => {
it('[C279349] Should be able to have a Date Time widget in a Dynamic Table widget', () => {
widget.dynamicTable().clickAddButton();
widget.dateTimeWidget().openDatepicker(app.FIELD.dataTime_input_id);
widget.dateTimeWidget().openDatepicker(app.FIELD.dateTime_input_id);
widget.dateTimeWidget().selectDay('10');
widget.dateTimeWidget().selectHour('8');
widget.dateTimeWidget().selectMinute('30');
widget.dateTimeWidget().clearDateTimeInput(app.FIELD.dataTime_input_id);
widget.dateTimeWidget().clearDateTimeInput(app.FIELD.dateTime_input_id);
widget.dynamicTable().clickSaveButton();
widget.dynamicTable().getTableRow(0);
});
});
describe('with date widget', () => {
describe('with People Widget App', () => {
let app = resources.Files.WIDGET_CHECK_APP.DYNAMIC_TABLE_USERS;
@@ -139,7 +139,7 @@ describe('Dynamic Table widget ', () => {
done();
});
it('[C260407] should check Dynamic Table widget', () => {
it('[C260407] Should be able to add/delete/update row in Dynamic Table widget', () => {
widget.dynamicTable().clickAddRow();
widget.dynamicTable().setDatatableInput('User1');