File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
cypress-tests/cypress/e2e/happyPath/platform
commonTestcases/workspace Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -37,18 +37,16 @@ describe("App Version Functionality", () => {
37
37
let currentVersion = "" ;
38
38
let newVersion = [ ] ;
39
39
let versionFrom = "" ;
40
- before ( ( ) => {
41
- cy . apiLogin ( ) ;
42
- cy . apiCreateApp ( data . appName ) ;
43
- cy . logoutApi ( ) ;
44
- } ) ;
40
+
45
41
beforeEach ( ( ) => {
46
- cy . apiLogin ( ) ;
47
- cy . visit ( '/my-workspace' )
42
+ cy . defaultWorkspaceLogin ( ) ;
43
+ cy . skipWalkthrough ( ) ;
48
44
} )
49
45
50
46
it ( "Verify the elements of the version module" , ( ) => {
51
- navigateToAppEditor ( data . appName ) ;
47
+ data . appName = `${ fake . companyName } -App` ;
48
+ cy . apiCreateApp ( data . appName ) ;
49
+ cy . openApp ( )
52
50
cy . get ( appVersionSelectors . appVersionLabel ) . should ( "be.visible" ) ;
53
51
cy . get ( commonSelectors . appNameInput ) . verifyVisibleElement (
54
52
"have.value" ,
@@ -68,9 +66,10 @@ describe("App Version Functionality", () => {
68
66
} ) ;
69
67
70
68
it ( "Verify all functionality for the app version" , ( ) => {
71
- navigateToAppEditor ( data . appName ) ;
69
+ data . appName = `${ fake . companyName } -App` ;
70
+ cy . apiCreateApp ( data . appName ) ;
71
+ cy . openApp ( )
72
72
cy . get ( '[data-cy="widget-list-box-table"]' ) . should ( "be.visible" ) ;
73
- cy . skipEditorPopover ( ) ;
74
73
75
74
cy . dragAndDropWidget ( "Toggle Switch" , 50 , 50 ) ;
76
75
verifyComponent ( "toggleswitch1" ) ;
Original file line number Diff line number Diff line change @@ -206,8 +206,7 @@ describe("User permissions", () => {
206
206
it ( "Should verify Create/Update/Delete workspace variable permission" , ( ) => {
207
207
common . navigateToWorkspaceVariable ( ) ;
208
208
cy . get ( '[data-cy="alert-info-text"]>>.text-muted' ) . verifyVisibleElement (
209
- "have.text" ,
210
- "Workspace variables will no longer be supported after April 30, 2024. To maintain optimal performance, please make the switch to Workspace constants"
209
+ "have.text" , "Can't add or edit workspace variables as we are deprecating them soon. Please use Workspace constant instead."
211
210
) ;
212
211
cy . get (
213
212
'[data-cy="go-to-workspace-constants-option-button"]'
You can’t perform that action at this time.
0 commit comments