mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[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:
committed by
Eugenio Romano
parent
afd44afea6
commit
3639cc40e7
@@ -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');
|
||||
|
Reference in New Issue
Block a user