chore: enableExpression, broken test and config
This commit is contained in:
parent
654ed15dde
commit
3d5268d1c9
|
|
@ -19,7 +19,7 @@ describe('config: enabledExpression', function () {
|
||||||
takeScreenshotOnFailure(this.currentTest, webdriver);
|
takeScreenshotOnFailure(this.currentTest, webdriver);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Action with enabledExpression false is disabled', async function() {
|
it('Action with enabledExpression for lights enable the correct action', async function() {
|
||||||
await getRootAndWait()
|
await getRootAndWait()
|
||||||
|
|
||||||
// Navigate to the Lights Dashboard
|
// Navigate to the Lights Dashboard
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ type Action struct {
|
||||||
Arguments []ActionArgument `koanf:"arguments"`
|
Arguments []ActionArgument `koanf:"arguments"`
|
||||||
PopupOnStart string `koanf:"popupOnStart"`
|
PopupOnStart string `koanf:"popupOnStart"`
|
||||||
SaveLogs SaveLogsConfig `koanf:"saveLogs"`
|
SaveLogs SaveLogsConfig `koanf:"saveLogs"`
|
||||||
|
EnabledExpression string `koanf:"enabledExpression"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ActionArgument objects appear on Actions.
|
// ActionArgument objects appear on Actions.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue