Skip to content

Commit

Permalink
enable the new experimental feature flag for the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-klum committed Jul 15, 2024
1 parent b1984af commit 7a04123
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.labkey.test.BaseWebDriverTest;
import org.labkey.test.Locator;
import org.labkey.test.TestFileUtils;
import org.labkey.test.TestTimeoutException;
import org.labkey.test.categories.CustomModules;
import org.labkey.test.pages.ImportDataPage;
import org.labkey.test.params.FieldDefinition;
Expand All @@ -30,6 +31,7 @@
import org.labkey.test.tests.StudyBaseTest;
import org.labkey.test.util.DataRegionExportHelper;
import org.labkey.test.util.DataRegionTable;
import org.labkey.test.util.ExperimentalFeaturesHelper;
import org.labkey.test.util.Ext4Helper;
import org.labkey.test.util.LogMethod;
import org.labkey.test.util.LoggedParam;
Expand Down Expand Up @@ -80,9 +82,17 @@ public List<String> getAssociatedModules()
return Arrays.asList("viscstudies");
}

@Override
protected void doCleanup(boolean afterTest) throws TestTimeoutException
{
ExperimentalFeaturesHelper.disableExperimentalFeature(createDefaultConnection(), "GWTStudyDesign");
super.doCleanup(afterTest);
}

@Override @LogMethod
protected void doCreateSteps()
{
ExperimentalFeaturesHelper.enableExperimentalFeature(createDefaultConnection(), "GWTStudyDesign");
_containerHelper.createProject(PROJECT_NAME, "None");
_containerHelper.createSubfolder(PROJECT_NAME, PROJECT_NAME, FOLDER_NAME, "CAVD Study", null);

Expand Down

0 comments on commit 7a04123

Please sign in to comment.