Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
schrodinger: test for new object collection with configured filter
- Loading branch information
1 parent
fee2b64
commit f3709d7
Showing
4 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
.../test/java/com/evolveum/midpoint/testing/schrodinger/component/FilterConfigPanelTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
* Copyright (c) 2010-2020 Evolveum and contributors | ||
* | ||
* This work is dual-licensed under the Apache License 2.0 | ||
* and European Union Public License. See LICENSE file for details. | ||
*/ | ||
package com.evolveum.midpoint.testing.schrodinger.component; | ||
|
||
import org.testng.annotations.Test; | ||
|
||
import com.evolveum.midpoint.schrodinger.page.objectcollection.ObjectCollectionPage; | ||
import com.evolveum.midpoint.testing.schrodinger.AbstractSchrodingerTest; | ||
import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectCollectionType; | ||
|
||
/** | ||
* Created by honchar | ||
*/ | ||
public class FilterConfigPanelTest extends AbstractSchrodingerTest { | ||
|
||
|
||
// @Override | ||
// protected List<File> getObjectListToImport(){ | ||
// } | ||
|
||
@Test | ||
public void createNewObjectCollectionWithConfiguredFilter() { | ||
ObjectCollectionPage objectCollectionPage = basicPage.newObjectCollection(); | ||
objectCollectionPage | ||
.selectTabBasic() | ||
.form() | ||
.setAttributeValue(ObjectCollectionType.F_NAME, "TestCollection") | ||
.setDropDownAttributeValue(ObjectCollectionType.F_TYPE, "User"); | ||
objectCollectionPage | ||
.configSearch() | ||
.setPropertyTextValue("Name", "FilterConfigTest", true) | ||
.setPropertyFilterValue("Name", "Equal", true) | ||
.confirmConfiguration() | ||
.clickSave() | ||
.feedback() | ||
.isSuccess(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters