|
|
|
@ -75,7 +75,7 @@ func TestMain(m *testing.M) {
|
|
|
|
|
|
|
|
|
|
|
|
// TestE2e should be the only test e2e necessary. It will collect all "*.test.e2e.js" files in this directory and build a test for each.
|
|
|
|
// TestE2e should be the only test e2e necessary. It will collect all "*.test.e2e.js" files in this directory and build a test for each.
|
|
|
|
func TestE2e(t *testing.T) {
|
|
|
|
func TestE2e(t *testing.T) {
|
|
|
|
// Find the paths of all e2e test files in test test directory.
|
|
|
|
// Find the paths of all e2e test files in test directory.
|
|
|
|
searchGlob := filepath.Join(filepath.Dir(setting.AppPath), "tests", "e2e", "*.test.e2e.js")
|
|
|
|
searchGlob := filepath.Join(filepath.Dir(setting.AppPath), "tests", "e2e", "*.test.e2e.js")
|
|
|
|
paths, err := filepath.Glob(searchGlob)
|
|
|
|
paths, err := filepath.Glob(searchGlob)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
|