|
| 1 | +testSuite: |
| 2 | + testSuiteName: Stream Control Tests |
| 3 | + testSuiteDescription: Verify stream control functionality in PowerApps |
| 4 | + persona: User1 |
| 5 | + appLogicalName: NotNeeded |
| 6 | + |
| 7 | + testCases: |
| 8 | + - testCaseName: Verify StreamUrl Property |
| 9 | + testCaseDescription: Verify that the StreamUrl property is set and retrieved correctly. |
| 10 | + testSteps: | |
| 11 | + SetProperty(StreamVideo1.StreamUrl, "URL"); |
| 12 | + Assert(StreamVideo1.StreamUrl = "URL"); |
| 13 | +
|
| 14 | + - testCaseName: Verify Autoplay Property |
| 15 | + testCaseDescription: Verify that the Autoplay property is set and retrieved correctly. |
| 16 | + testSteps: | |
| 17 | + SetProperty(StreamVideo1.Autoplay, true); |
| 18 | + Assert(StreamVideo1.Autoplay = true, "Expected StreamVideo1.Autoplay to be true"); |
| 19 | +
|
| 20 | + - testCaseName: Verify ShowTitle Property |
| 21 | + testCaseDescription: Verify that the ShowTitle property is set and retrieved correctly. |
| 22 | + testSteps: | |
| 23 | + SetProperty(StreamVideo1.ShowTitle, false); |
| 24 | + Assert(StreamVideo1.ShowTitle = false, "Expected StreamVideo1.ShowTitle to be false"); |
| 25 | +
|
| 26 | + - testCaseName: Verify StartTime Property |
| 27 | + testCaseDescription: Verify that the StartTime property is set and retrieved correctly. |
| 28 | + testSteps: | |
| 29 | + SetProperty(StreamVideo1.StartTime, 10); |
| 30 | + Assert(StreamVideo1.StartTime = 10, "Expected StreamVideo1.StartTime to be 10"); |
| 31 | +
|
| 32 | + - testCaseName: Verify ContentLanguage Property |
| 33 | + testCaseDescription: Verify that the ContentLanguage property is set and retrieved correctly. |
| 34 | + testSteps: | |
| 35 | + SetProperty(StreamVideo1.ContentLanguage, "en-US"); |
| 36 | + Assert(StreamVideo1.ContentLanguage = "en-US", "Expected StreamVideo1.ContentLanguage to be 'en-US'"); |
| 37 | +
|
| 38 | + - testCaseName: Verify TabIndex Property |
| 39 | + testCaseDescription: Verify that the TabIndex property is set and retrieved correctly. |
| 40 | + testSteps: | |
| 41 | + SetProperty(StreamVideo1.TabIndex, 1); |
| 42 | + Assert(StreamVideo1.TabIndex = 1, "Expected StreamVideo1.TabIndex to be 1"); |
| 43 | +
|
| 44 | + - testCaseName: Verify Tooltip Property |
| 45 | + testCaseDescription: Verify that the Tooltip property is set and retrieved correctly. |
| 46 | + testSteps: | |
| 47 | + SetProperty(StreamVideo1.Tooltip, "Stream Video Tooltip"); |
| 48 | + Assert(StreamVideo1.Tooltip = "Stream Video Tooltip", "Expected StreamVideo1.Tooltip to be 'Stream Video Tooltip'"); |
| 49 | +
|
| 50 | + - testCaseName: Verify DisplayMode Property |
| 51 | + testCaseDescription: Verify that the DisplayMode property is set and retrieved correctly. |
| 52 | + testSteps: | |
| 53 | + SetProperty(StreamVideo1.DisplayMode, "Edit"); |
| 54 | + Assert(StreamVideo1.DisplayMode = "Edit", "Expected StreamVideo1.DisplayMode to be 'Edit'"); |
| 55 | +
|
| 56 | + - testCaseName: Verify X Position Property |
| 57 | + testCaseDescription: Verify that the X position is set and retrieved correctly. |
| 58 | + testSteps: | |
| 59 | + SetProperty(StreamVideo1.X, 100); |
| 60 | + Assert(StreamVideo1.X = 100, "Expected StreamVideo1.X to be 100"); |
| 61 | +
|
| 62 | + - testCaseName: Verify Y Position Property |
| 63 | + testCaseDescription: Verify that the Y position is set and retrieved correctly. |
| 64 | + testSteps: | |
| 65 | + SetProperty(StreamVideo1.Y, 200); |
| 66 | + Assert(StreamVideo1.Y = 200, "Expected StreamVideo1.Y to be 200"); |
| 67 | +
|
| 68 | + - testCaseName: Verify Width Property |
| 69 | + testCaseDescription: Verify that the Width property is set and retrieved correctly. |
| 70 | + testSteps: | |
| 71 | + SetProperty(StreamVideo1.Width, 1280); |
| 72 | + Assert(StreamVideo1.Width = 1280, "Expected StreamVideo1.Width to be 1280"); |
| 73 | +
|
| 74 | + - testCaseName: Verify Height Property |
| 75 | + testCaseDescription: Verify that the Height property is set and retrieved correctly. |
| 76 | + testSteps: | |
| 77 | + SetProperty(StreamVideo1.Height, 720); |
| 78 | + Assert(StreamVideo1.Height = 720, "Expected StreamVideo1.Height to be 720"); |
| 79 | +
|
| 80 | + - testCaseName: Verify Visible Property |
| 81 | + testCaseDescription: Verify that the Visible property is set and retrieved correctly. |
| 82 | + testSteps: | |
| 83 | + SetProperty(StreamVideo1.Visible, true); |
| 84 | + Assert(StreamVideo1.Visible = true, "Expected StreamVideo1.Visible to be true"); |
| 85 | +
|
| 86 | + - testCaseName: Verify ZIndex Property |
| 87 | + testCaseDescription: Verify that the ZIndex property is set and retrieved correctly. |
| 88 | + testSteps: | |
| 89 | + SetProperty(StreamVideo1.ZIndex, 5); |
| 90 | + Assert(StreamVideo1.ZIndex = 5, "Expected StreamVideo1.ZIndex to be 5"); |
| 91 | +
|
| 92 | +testSettings: |
| 93 | + headless: false |
| 94 | + locale: "en-US" |
| 95 | + recordVideo: true |
| 96 | + extensionModules: |
| 97 | + enable: true |
| 98 | + browserConfigurations: |
| 99 | + - browser: Chromium |
| 100 | + channel: msedge |
| 101 | + timeout: 600000 |
| 102 | + |
| 103 | +environmentVariables: |
| 104 | + users: |
| 105 | + - personaName: User1 |
| 106 | + emailKey: user1Email |
| 107 | + passwordKey: NotNeeded |
| 108 | + |
0 commit comments