Skip to content

Commit f3d4716

Browse files
authored
[Automation] Fix the issue for string value (#14346)
* Fix the issue of automation in string * Update Changelog.md * Update test case and fix issue for int * Update test case and fix issue for int * Update test case and fix issue for int * Update test case and fix issue for int Co-authored-by: wyunchi-ms <[email protected]>
1 parent 1eb322b commit f3d4716

File tree

11 files changed

+5396
-739
lines changed

11 files changed

+5396
-739
lines changed

src/Automation/Automation.Test/ScenarioTests/VariableTests.cs

Lines changed: 56 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,65 @@ public VariableTests(Xunit.Abstractions.ITestOutputHelper output)
2626

2727
[Fact]
2828
[Trait(Category.Service, Category.Automation)]
29-
[Trait(Category.RunType, Category.LiveOnly)]
3029
[Trait(Category.AcceptanceType, Category.CheckIn)]
3130
[Trait(Category.AcceptanceType, Category.BVT)]
32-
public void TestE2EVariableAsset()
31+
public void TestStringVariable()
3332
{
34-
TestRunner.RunTestScript("Test-E2EVariableAsset");
33+
TestRunner.RunTestScript("Test-StringVariable");
34+
}
35+
36+
[Fact]
37+
[Trait(Category.Service, Category.Automation)]
38+
[Trait(Category.AcceptanceType, Category.CheckIn)]
39+
[Trait(Category.AcceptanceType, Category.BVT)]
40+
public void TestIntVariable()
41+
{
42+
TestRunner.RunTestScript("Test-IntVariable");
43+
}
44+
45+
[Fact]
46+
[Trait(Category.Service, Category.Automation)]
47+
[Trait(Category.AcceptanceType, Category.CheckIn)]
48+
[Trait(Category.AcceptanceType, Category.BVT)]
49+
public void TestFloatVariable()
50+
{
51+
TestRunner.RunTestScript("Test-FloatVariable");
52+
}
53+
54+
[Fact]
55+
[Trait(Category.Service, Category.Automation)]
56+
[Trait(Category.AcceptanceType, Category.CheckIn)]
57+
[Trait(Category.AcceptanceType, Category.BVT)]
58+
public void TestArrayVariable()
59+
{
60+
TestRunner.RunTestScript("Test-ArrayVariable");
61+
}
62+
63+
[Fact]
64+
[Trait(Category.Service, Category.Automation)]
65+
[Trait(Category.AcceptanceType, Category.CheckIn)]
66+
[Trait(Category.AcceptanceType, Category.BVT)]
67+
public void TestNormalHashTableVariable()
68+
{
69+
TestRunner.RunTestScript("Test-NormalHashTableVariable");
70+
}
71+
72+
[Fact]
73+
[Trait(Category.Service, Category.Automation)]
74+
[Trait(Category.AcceptanceType, Category.CheckIn)]
75+
[Trait(Category.AcceptanceType, Category.BVT)]
76+
public void TestMultiLevelDictVariable()
77+
{
78+
TestRunner.RunTestScript("Test-MultiLevelDictVariable");
79+
}
80+
81+
[Fact]
82+
[Trait(Category.Service, Category.Automation)]
83+
[Trait(Category.AcceptanceType, Category.CheckIn)]
84+
[Trait(Category.AcceptanceType, Category.BVT)]
85+
public void TestJsonInDictValueVariable()
86+
{
87+
TestRunner.RunTestScript("Test-JsonInDictValueVariable");
3588
}
3689
}
3790
}

src/Automation/Automation.Test/ScenarioTests/VariableTests.ps1

Lines changed: 293 additions & 4 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)