This is an automated email from the ASF dual-hosted git repository.

zhangliang2022 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new b113d8ee7 fix(tapd): fix e2e (#4765)
b113d8ee7 is described below

commit b113d8ee72197bf78f7b665cf0b1f98f48e51cd4
Author: Warren Chen <[email protected]>
AuthorDate: Fri Mar 24 18:30:52 2023 +0800

    fix(tapd): fix e2e (#4765)
---
 backend/plugins/tapd/e2e/bug_changelog_test.go   | 2 ++
 backend/plugins/tapd/e2e/story_changelog_test.go | 2 ++
 backend/plugins/tapd/e2e/task_changelog_test.go  | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/backend/plugins/tapd/e2e/bug_changelog_test.go 
b/backend/plugins/tapd/e2e/bug_changelog_test.go
index 59c51ffe4..457112d24 100644
--- a/backend/plugins/tapd/e2e/bug_changelog_test.go
+++ b/backend/plugins/tapd/e2e/bug_changelog_test.go
@@ -57,6 +57,8 @@ func TestTapdBugChangelogDataFlow(t *testing.T) {
                },
        }
 
+       // iteration
+       
dataflowTester.ImportCsvIntoTabler("./snapshot_tables/_tool_tapd_iterations.csv",
 &models.TapdIteration{})
        // bug status
        // import raw data table
        
dataflowTester.ImportCsvIntoRawTable("./raw_tables/_raw_tapd_api_bug_status.csv",
diff --git a/backend/plugins/tapd/e2e/story_changelog_test.go 
b/backend/plugins/tapd/e2e/story_changelog_test.go
index 69fe381ee..59a577b0c 100644
--- a/backend/plugins/tapd/e2e/story_changelog_test.go
+++ b/backend/plugins/tapd/e2e/story_changelog_test.go
@@ -77,6 +77,8 @@ func TestTapdStoryChangelogDataFlow(t *testing.T) {
                        "is_last_step",
                ),
        )
+       // iteration
+       
dataflowTester.ImportCsvIntoTabler("./snapshot_tables/_tool_tapd_iterations.csv",
 &models.TapdIteration{})
 
        // import raw data table
        
dataflowTester.ImportCsvIntoRawTable("./raw_tables/_raw_tapd_api_story_changelogs.csv",
diff --git a/backend/plugins/tapd/e2e/task_changelog_test.go 
b/backend/plugins/tapd/e2e/task_changelog_test.go
index 87c46985b..8a42df4f6 100644
--- a/backend/plugins/tapd/e2e/task_changelog_test.go
+++ b/backend/plugins/tapd/e2e/task_changelog_test.go
@@ -38,6 +38,8 @@ func TestTapdTaskChangelogDataFlow(t *testing.T) {
                        WorkspaceId:  991,
                },
        }
+       // iteration
+       
dataflowTester.ImportCsvIntoTabler("./snapshot_tables/_tool_tapd_iterations.csv",
 &models.TapdIteration{})
 
        // import raw data table
        
dataflowTester.ImportCsvIntoRawTable("./raw_tables/_raw_tapd_api_task_changelogs.csv",

Reply via email to