e2etests-cli: Skip sketch test for now
This commit is contained in:
parent
6724ea3eb3
commit
86de922ec0
1 changed files with 7 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ func TestCLI_E2E(t *testing.T) {
|
|||
|
||||
tca := []struct {
|
||||
name string
|
||||
skip bool
|
||||
run func(t *testing.T, ctx context.Context, dir string, env *xos.Env)
|
||||
}{
|
||||
{
|
||||
|
|
@ -42,6 +43,8 @@ func TestCLI_E2E(t *testing.T) {
|
|||
},
|
||||
{
|
||||
name: "hello_world_png_sketch",
|
||||
// https://github.com/terrastruct/d2/pull/963#pullrequestreview-1323089392
|
||||
skip: true,
|
||||
run: func(t *testing.T, ctx context.Context, dir string, env *xos.Env) {
|
||||
writeFile(t, dir, "hello-world.d2", `x -> y`)
|
||||
err := runTestMain(t, ctx, dir, env, "--sketch", "hello-world.d2", "hello-world.png")
|
||||
|
|
@ -124,6 +127,10 @@ scenarios: {
|
|||
t.Run(tc.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
if tc.skip {
|
||||
t.SkipNow()
|
||||
}
|
||||
|
||||
ctx, cancel := context.WithTimeout(ctx, time.Minute*5)
|
||||
defer cancel()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue