Rename tests
This commit is contained in:
parent
d8b22b58fa
commit
2925230e34
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -31,11 +31,14 @@ func setupTests(ctx context.Context, router chi.Router) (err error) {
|
|||
{ID: "aliased"},
|
||||
{ID: "attr_false"},
|
||||
{ID: "attr_object_false"},
|
||||
{ID: "checkbox_input_array"},
|
||||
{ID: "checkbox_input_boolean"},
|
||||
{ID: "checkbox_input_boolean_checked"},
|
||||
{ID: "checkbox_input_value"},
|
||||
{ID: "checkbox_input_value_checked"},
|
||||
{ID: "checkbox_array"},
|
||||
{ID: "checkbox_boolean"},
|
||||
{ID: "checkbox_boolean_checked"},
|
||||
{ID: "checkbox_value"},
|
||||
{ID: "checkbox_value_checked"},
|
||||
{ID: "input_array"},
|
||||
{ID: "input_signal"},
|
||||
{ID: "input_value"},
|
||||
{ID: "key_casing"},
|
||||
{ID: "local_signals"},
|
||||
{ID: "merge_fragment"},
|
||||
|
@ -44,7 +47,7 @@ func setupTests(ctx context.Context, router chi.Router) (err error) {
|
|||
{ID: "merge_fragment_whitespace"},
|
||||
{ID: "on_load"},
|
||||
{ID: "on_load_delay"},
|
||||
{ID: "radio_input"},
|
||||
{ID: "radio_value"},
|
||||
{ID: "ref"},
|
||||
{ID: "remove_fragment"},
|
||||
{ID: "select_multiple"},
|
||||
|
@ -52,9 +55,6 @@ func setupTests(ctx context.Context, router chi.Router) (err error) {
|
|||
{ID: "signals_change"},
|
||||
{ID: "signals_change_path"},
|
||||
{ID: "signals_change_path_once"},
|
||||
{ID: "text_input_array"},
|
||||
{ID: "text_input_signal"},
|
||||
{ID: "text_input_value"},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitCheckboxArray(t *testing.T) {
|
||||
setupPageTestOnClick(t, "tests/checkbox_array")
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitCheckboxBooleanChecked(t *testing.T) {
|
||||
setupPageTestOnClick(t, "tests/checkbox_boolean_checked")
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitCheckboxDefault(t *testing.T) {
|
||||
setupPageTestOnClick(t, "tests/checkbox_boolean")
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitCheckboxInputArray(t *testing.T) {
|
||||
setupPageTestOnClick(t, "tests/checkbox_input_array")
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitCheckboxInputBooleanChecked(t *testing.T) {
|
||||
setupPageTestOnClick(t, "tests/checkbox_input_boolean_checked")
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitCheckboxInputDefault(t *testing.T) {
|
||||
setupPageTestOnClick(t, "tests/checkbox_input_boolean")
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitCheckboxInputValueChecked(t *testing.T) {
|
||||
setupPageTestOnClick(t, "tests/checkbox_input_value_checked")
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitCheckboxInputValue(t *testing.T) {
|
||||
setupPageTestOnClick(t, "tests/checkbox_input_value")
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitCheckboxValueChecked(t *testing.T) {
|
||||
setupPageTestOnClick(t, "tests/checkbox_value_checked")
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitCheckboxValue(t *testing.T) {
|
||||
setupPageTestOnClick(t, "tests/checkbox_value")
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitInputArray(t *testing.T) {
|
||||
setupPageTestOnPopulate(t, "tests/input_array", "bar")
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitInputSignal(t *testing.T) {
|
||||
setupPageTestOnLoad(t, "tests/input_signal")
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitInputValue(t *testing.T) {
|
||||
setupPageTestOnLoad(t, "tests/input_value")
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitRadioInput(t *testing.T) {
|
||||
setupPageTestOnClick(t, "tests/radio_input")
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitRadioValue(t *testing.T) {
|
||||
setupPageTestOnClick(t, "tests/radio_value")
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitTextInputArray(t *testing.T) {
|
||||
setupPageTestOnPopulate(t, "tests/text_input_array", "bar")
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitTextInputSignal(t *testing.T) {
|
||||
setupPageTestOnLoad(t, "tests/text_input_signal")
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
package smoketests
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUnitTextInputValue(t *testing.T) {
|
||||
setupPageTestOnLoad(t, "tests/text_input_value")
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
# Checkbox Input Array
|
||||
# Checkbox Array
|
||||
|
||||
Tests that a checkbox input's value is added to a bound signal array when checked.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Checkbox Input Boolean
|
||||
# Checkbox Boolean
|
||||
|
||||
Tests that a checkbox input's bound signal is set to `false` when unchecked and `true` when checked.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Checkbox Input Boolean Checked
|
||||
# Checkbox Boolean Checked
|
||||
|
||||
Tests that a checkbox input's bound signal is set to `false` when unchecked and `true` when checked.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Checkbox Input Value
|
||||
# Checkbox Value
|
||||
|
||||
Tests that a checkbox input's bound signal is set to an empty string when unchecked and its value when checked.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Checkbox Input Value Checked
|
||||
# Checkbox Value Checked
|
||||
|
||||
Tests that a checkbox input's bound signal is initially set to its value when initially checked.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Text Input Array
|
||||
# Input Array
|
||||
|
||||
Tests that a text input's value is added to a bound signal array when changed.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Text Input Signal
|
||||
# Input Signal
|
||||
|
||||
Tests that a text input's bound signal is not set to its value when a signal is defined.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Text Input Value
|
||||
# Input Value
|
||||
|
||||
Tests that a text input's bound signal is set to its value when non-empty and no signal is defined.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Radio Input
|
||||
# Radio Value
|
||||
|
||||
Tests that a radio input's bound signal is assigned to the value when checked.
|
||||
|
Loading…
Reference in New Issue