forked from Silverfish/proton-bridge
ci(GODT-2717): Create a job that will run on schedule
This commit is contained in:
@ -267,6 +267,7 @@ func TestFeatures(testingT *testing.T) {
|
||||
Format: "pretty",
|
||||
Paths: getFeaturePaths(),
|
||||
TestingT: testingT,
|
||||
Tags: getFeatureTags(),
|
||||
},
|
||||
}
|
||||
|
||||
@ -286,3 +287,18 @@ func getFeaturePaths() []string {
|
||||
|
||||
return paths
|
||||
}
|
||||
|
||||
func getFeatureTags() string {
|
||||
var tags string
|
||||
|
||||
switch arguments := os.Args; arguments[len(arguments)-1] {
|
||||
case "nightly":
|
||||
tags = ""
|
||||
case "smoke": // Currently this is just a placeholder, as there are no scenarios tagged with @smoke
|
||||
tags = "@smoke"
|
||||
default:
|
||||
tags = "~@regression && ~@smoke" // To exclude more add `&& ~@tag`
|
||||
}
|
||||
|
||||
return tags
|
||||
}
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
@regression
|
||||
Feature: Bridge can fully synchronize an account with high number of messages, and correct number of messages is shown in client
|
||||
Background:
|
||||
Given there exists an account with username "[user:user]" and password "password"
|
||||
Reference in New Issue
Block a user