Skip to content
Snippets Groups Projects
Commit 515534cc authored by Manuel Geyer's avatar Manuel Geyer
Browse files

Commit

parent ad8791fa
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,20 @@ ...@@ -13,6 +13,20 @@
"OverridableProperties": {}, "OverridableProperties": {},
"Version": "1.0" "Version": "1.0"
}, },
"AppTest": {
"CustomGroupControlTemplateName": "",
"FirstParty": true,
"Id": "http://microsoft.com/appmagic/apptest",
"IsComponentTemplate": false,
"IsCustomGroupControlTemplate": false,
"IsPcfControl": false,
"IsPremiumPcfControl": false,
"IsWidgetTemplate": false,
"LastModifiedTimestamp": "0",
"Name": "AppTest",
"OverridableProperties": {},
"Version": "1.0"
},
"groupContainer": { "groupContainer": {
"CustomGroupControlTemplateName": "", "CustomGroupControlTemplateName": "",
"FirstParty": true, "FirstParty": true,
...@@ -98,6 +112,34 @@ ...@@ -98,6 +112,34 @@
"OverridableProperties": {}, "OverridableProperties": {},
"Version": "1.0" "Version": "1.0"
}, },
"TestCase": {
"CustomGroupControlTemplateName": "",
"FirstParty": true,
"Id": "http://microsoft.com/appmagic/testcase",
"IsComponentTemplate": false,
"IsCustomGroupControlTemplate": false,
"IsPcfControl": false,
"IsPremiumPcfControl": false,
"IsWidgetTemplate": false,
"LastModifiedTimestamp": "0",
"Name": "TestCase",
"OverridableProperties": {},
"Version": "1.0"
},
"TestSuite": {
"CustomGroupControlTemplateName": "",
"FirstParty": true,
"Id": "http://microsoft.com/appmagic/testsuite",
"IsComponentTemplate": false,
"IsCustomGroupControlTemplate": false,
"IsPcfControl": false,
"IsPremiumPcfControl": false,
"IsWidgetTemplate": false,
"LastModifiedTimestamp": "0",
"Name": "TestSuite",
"OverridableProperties": {},
"Version": "1.0"
},
"text": { "text": {
"CustomGroupControlTemplateName": "", "CustomGroupControlTemplateName": "",
"FirstParty": true, "FirstParty": true,
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
"ComponentIndexes": {}, "ComponentIndexes": {},
"ControlUniqueGuids": {}, "ControlUniqueGuids": {},
"ControlUniqueIds": { "ControlUniqueIds": {
"2082bd44-3dd1-43ad-9f56-e87204d4031a": 20,
"6ca9d7c2-f54d-418a-aa75-1937d061df3b": 19,
"App": 1, "App": 1,
"Banlabel1": 6, "Banlabel1": 6,
"chatbox1": 9, "chatbox1": 9,
...@@ -17,11 +19,13 @@ ...@@ -17,11 +19,13 @@
"Screen1": 4, "Screen1": 4,
"send1": 17, "send1": 17,
"SendMail1": 12, "SendMail1": 12,
"Test_7F478737223C4B69": 2,
"textinput1": 16 "textinput1": 16
}, },
"DoesTestStepsMetadataExist": true,
"FunctionParamsInvariantScripts": {}, "FunctionParamsInvariantScripts": {},
"FunctionParamsInvariantScriptsOnInstances": {}, "FunctionParamsInvariantScriptsOnInstances": {},
"HeaderLastSavedDateTimeUTC": "01/15/2024 09:28:20", "HeaderLastSavedDateTimeUTC": "01/15/2024 09:56:32",
"IsLegacyComponentAllowGlobalScopeCase": false, "IsLegacyComponentAllowGlobalScopeCase": false,
"LocalConnectionIDReferences": { "LocalConnectionIDReferences": {
"14dd137e-3796-47e0-b40f-9268bee25980": "\"/providers/microsoft.powerapps/apis/shared_logicflows/connections/ec84356e395faa1b0fdf1c7e126b562e-c1654a69e558fc9f\"", "14dd137e-3796-47e0-b40f-9268bee25980": "\"/providers/microsoft.powerapps/apis/shared_logicflows/connections/ec84356e395faa1b0fdf1c7e126b562e-c1654a69e558fc9f\"",
...@@ -58,6 +62,8 @@ ...@@ -58,6 +62,8 @@
"toggleSwitch": 5 "toggleSwitch": 5
}, },
"OverridablePropertiesEntry": { "OverridablePropertiesEntry": {
"2082bd44-3dd1-43ad-9f56-e87204d4031a": {},
"6ca9d7c2-f54d-418a-aa75-1937d061df3b": {},
"App": {}, "App": {},
"Banlabel1": {}, "Banlabel1": {},
"chatbox1": {}, "chatbox1": {},
...@@ -73,11 +79,14 @@ ...@@ -73,11 +79,14 @@
"Screen1": {}, "Screen1": {},
"send1": {}, "send1": {},
"SendMail1": {}, "SendMail1": {},
"Test_7F478737223C4B69": {},
"textinput1": {} "textinput1": {}
}, },
"PCFDynamicSchemaForIRRetrievalEntry": {}, "PCFDynamicSchemaForIRRetrievalEntry": {},
"PCFTemplateEntry": {}, "PCFTemplateEntry": {},
"PublishOrderIndices": { "PublishOrderIndices": {
"2082bd44-3dd1-43ad-9f56-e87204d4031a": 0,
"6ca9d7c2-f54d-418a-aa75-1937d061df3b": 0,
"App": 0, "App": 0,
"Banlabel1": 1, "Banlabel1": 1,
"chatbox1": 4, "chatbox1": 4,
...@@ -93,6 +102,7 @@ ...@@ -93,6 +102,7 @@
"Screen1": 3, "Screen1": 3,
"send1": 12, "send1": 12,
"SendMail1": 7, "SendMail1": 7,
"Test_7F478737223C4B69": 0,
"textinput1": 11 "textinput1": 11
}, },
"ResourcesJsonIndices": { "ResourcesJsonIndices": {
......
...@@ -5,11 +5,12 @@ ...@@ -5,11 +5,12 @@
}, },
"ClientPerFileChecksums": { "ClientPerFileChecksums": {
"AppCheckerResult.sarif": "C8_B7QS9IAuh4ZQDqU9CuerBDTo+JJ6k5lRsJWHDfDdz/U=", "AppCheckerResult.sarif": "C8_B7QS9IAuh4ZQDqU9CuerBDTo+JJ6k5lRsJWHDfDdz/U=",
"AppTests\\2.json": "C8_omA4KVA0ye8qkU+fMWC8nSkoW42AEHM4XBnnYkUJCys=",
"Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=", "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=",
"Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=", "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=",
"Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=", "Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=",
"Controls\\4.json": "C8_umfokkX5Z9jPDTHuz3F8girX9SCINWFWHZdS1xNzcF8=", "Controls\\4.json": "C8_wqC6C8g30UkB0v+9vLYfzLBFhxbcNeQ2GyT61UsjT7g=",
"Header.json": "C8_/b4bkv7dNeqlURc8zOxlWU1wAsJewoHfQUHX0JXbJLM=", "Header.json": "C8_Qg7xVeKEGTVB5j7l86qzxYHaMle5WLFLIaUZencBMhk=",
"Properties.json": "C8_h6DSGX2t7DCVqr0W9zVgKgZm6HMHtrtLOK7dWwj62Sw=", "Properties.json": "C8_h6DSGX2t7DCVqr0W9zVgKgZm6HMHtrtLOK7dWwj62Sw=",
"References\\DataSources.json": "C8_j1tKKAOYDTkGHfiN7TTDXqWDGAT05nDhkMTD/v32als=", "References\\DataSources.json": "C8_j1tKKAOYDTkGHfiN7TTDXqWDGAT05nDhkMTD/v32als=",
"References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
...@@ -18,14 +19,15 @@ ...@@ -18,14 +19,15 @@
"References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=",
"Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs="
}, },
"ClientStampedChecksum": "C8_zK65XJBHgp0vzyG5ggL3RhF6ZncMDfHVOitGcR9O1lI=", "ClientStampedChecksum": "C8_JIJBnyI2QGCmx37QTlvsEFTUpPtX3fOnFHStPYxtTbU=",
"ServerPerFileChecksums": { "ServerPerFileChecksums": {
"AppCheckerResult.sarif": "C8_B7QS9IAuh4ZQDqU9CuerBDTo+JJ6k5lRsJWHDfDdz/U=", "AppCheckerResult.sarif": "C8_B7QS9IAuh4ZQDqU9CuerBDTo+JJ6k5lRsJWHDfDdz/U=",
"AppTests\\2.json": "C8_omA4KVA0ye8qkU+fMWC8nSkoW42AEHM4XBnnYkUJCys=",
"Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=", "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=",
"Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=", "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=",
"Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=", "Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=",
"Controls\\4.json": "C8_umfokkX5Z9jPDTHuz3F8girX9SCINWFWHZdS1xNzcF8=", "Controls\\4.json": "C8_wqC6C8g30UkB0v+9vLYfzLBFhxbcNeQ2GyT61UsjT7g=",
"Header.json": "C8_/b4bkv7dNeqlURc8zOxlWU1wAsJewoHfQUHX0JXbJLM=", "Header.json": "C8_Qg7xVeKEGTVB5j7l86qzxYHaMle5WLFLIaUZencBMhk=",
"Properties.json": "C8_h6DSGX2t7DCVqr0W9zVgKgZm6HMHtrtLOK7dWwj62Sw=", "Properties.json": "C8_h6DSGX2t7DCVqr0W9zVgKgZm6HMHtrtLOK7dWwj62Sw=",
"References\\DataSources.json": "C8_j1tKKAOYDTkGHfiN7TTDXqWDGAT05nDhkMTD/v32als=", "References\\DataSources.json": "C8_j1tKKAOYDTkGHfiN7TTDXqWDGAT05nDhkMTD/v32als=",
"References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
...@@ -34,5 +36,5 @@ ...@@ -34,5 +36,5 @@
"References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=",
"Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs="
}, },
"ServerStampedChecksum": "C8_zK65XJBHgp0vzyG5ggL3RhF6ZncMDfHVOitGcR9O1lI=" "ServerStampedChecksum": "C8_JIJBnyI2QGCmx37QTlvsEFTUpPtX3fOnFHStPYxtTbU="
} }
\ No newline at end of file
{
"ControlStates": {
"2082bd44-3dd1-43ad-9f56-e87204d4031a": {
"AllowAccessToGlobals": true,
"ControlPropertyState": [
"DisplayName",
"Description",
"TestStepsMetadata"
],
"HasDynamicProperties": false,
"IsAutoGenerated": false,
"IsComponentDefinition": false,
"IsDataControl": true,
"IsFromScreenLayout": false,
"IsGroupControl": false,
"IsLocked": false,
"LayoutName": "",
"MetaDataIDKey": "",
"Name": "2082bd44-3dd1-43ad-9f56-e87204d4031a",
"OptimizeForDevices": "Off",
"ParentIndex": 0,
"PersistMetaDataIDKey": false,
"Properties": [
{
"Category": "Data",
"PropertyName": "DisplayName",
"RuleProviderType": "Unknown"
},
{
"Category": "Data",
"PropertyName": "Description",
"RuleProviderType": "Unknown"
},
{
"Category": "Data",
"PropertyName": "TestStepsMetadata",
"RuleProviderType": "Unknown"
}
],
"StyleName": "",
"Type": "ControlInfo"
},
"6ca9d7c2-f54d-418a-aa75-1937d061df3b": {
"AllowAccessToGlobals": true,
"ControlPropertyState": [
"DisplayName",
"Description"
],
"HasDynamicProperties": false,
"IsAutoGenerated": false,
"IsComponentDefinition": false,
"IsDataControl": true,
"IsFromScreenLayout": false,
"IsGroupControl": false,
"IsLocked": false,
"LayoutName": "",
"MetaDataIDKey": "",
"Name": "6ca9d7c2-f54d-418a-aa75-1937d061df3b",
"OptimizeForDevices": "Off",
"ParentIndex": 0,
"PersistMetaDataIDKey": false,
"Properties": [
{
"Category": "Data",
"PropertyName": "DisplayName",
"RuleProviderType": "Unknown"
},
{
"Category": "Data",
"PropertyName": "Description",
"RuleProviderType": "Unknown"
}
],
"StyleName": "",
"Type": "ControlInfo"
},
"Test_7F478737223C4B69": {
"AllowAccessToGlobals": true,
"ControlPropertyState": [],
"IsAutoGenerated": false,
"IsComponentDefinition": false,
"IsDataControl": true,
"IsFromScreenLayout": false,
"IsGroupControl": false,
"IsLocked": false,
"LayoutName": "",
"MetaDataIDKey": "",
"Name": "Test_7F478737223C4B69",
"OptimizeForDevices": "Off",
"ParentIndex": 0,
"PersistMetaDataIDKey": false,
"Properties": [],
"StyleName": "",
"Type": "ControlInfo"
}
},
"TopParentName": "Test_7F478737223C4B69"
}
\ No newline at end of file
...@@ -247,12 +247,34 @@ Screen1 As screen: ...@@ -247,12 +247,34 @@ Screen1 As screen:
HoverColor: =RGBA(251, 188, 159, 1) HoverColor: =RGBA(251, 188, 159, 1)
HoverFill: =RGBA(0, 0, 0, 0) HoverFill: =RGBA(0, 0, 0, 0)
Icon: =Icon.Send Icon: =Icon.Send
OnSelect: |- OnSelect: |
=If(Creativity1.Value=false, Set(Creativity,0.3), Set(Creativity,0.9)); =If(
If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(10) & textinput1.Text & Char(10) & Char(10) & "GPT: " & ConnectAzureOpenai.Run(textinput1.Text, Creativity).assi & Char(10))); Creativity1.Value = false,
Set(
Creativity,
0.3
),
Set(
Creativity,
0.9
)
);
If(
!IsBlank(textinput1.Text),
Set(
varResp,
varResp & Char(10) & textinput1.Text & Char(10) & Char(10) & "<b>GPT:</b> " & ConnectAzureOpenai.Run(
textinput1.Text,
Creativity
).assi & Char(10)
)
);
Reset(textinput1); Reset(textinput1);
Notify(
Notify("ChatGPT asked", NotificationType.Success, 1000); "ChatGPT asked",
NotificationType.Success,
1000
);
PressedBorderColor: =RGBA(0, 0, 0, 0) PressedBorderColor: =RGBA(0, 0, 0, 0)
PressedColor: =RGBA(251, 188, 159, 1) PressedColor: =RGBA(251, 188, 159, 1)
PressedFill: =RGBA(0, 0, 0, 0) PressedFill: =RGBA(0, 0, 0, 0)
......
"'6ca9d7c2-f54d-418a-aa75-1937d061df3b' As TestSuite":
Description: =""
DisplayName: ="Suite"
"'2082bd44-3dd1-43ad-9f56-e87204d4031a' As TestCase":
Description: =""
DisplayName: ="Case"
Test_7F478737223C4B69 As AppTest:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment