@@ -13,7 +13,8 @@ describe("create and manage group", () => {
1313 } ) ;
1414 it ( "add test user" , ( ) => {
1515 cy . visit ( "/settings/identities/users" ) ;
16- cy . waitTextVisible ( "Platform" ) ;
16+ cy . waitTextVisible ( "Settings" ) ;
17+ cy . wait ( 1000 ) ;
1718 cy . clickOptionWithText ( "Invite Users" ) ;
1819 cy . waitTextVisible ( / s i g n u p \? i n v i t e _ t o k e n = \w { 32 } / ) . then ( ( $elem ) => {
1920 const inviteLink = $elem . text ( ) ;
@@ -37,7 +38,7 @@ describe("create and manage group", () => {
3738
3839 it ( "create a group" , ( ) => {
3940 cy . visit ( "/settings/identities/groups" ) ;
40- cy . waitTextVisible ( "Platform " ) ;
41+ cy . waitTextVisible ( "Settings " ) ;
4142 cy . clickOptionWithText ( "Create group" ) ;
4243 cy . waitTextVisible ( "Create new group" ) ;
4344 cy . get ( "#name" ) . type ( group_name ) ;
@@ -52,7 +53,7 @@ describe("create and manage group", () => {
5253
5354 it ( "add test user to a group" , ( ) => {
5455 cy . visit ( "/settings/identities/users" ) ;
55- cy . waitTextVisible ( "Platform " ) ;
56+ cy . waitTextVisible ( "Settings " ) ;
5657 cy . get ( ".ant-tabs-tab-btn" ) . contains ( "Groups" ) . click ( ) ;
5758 cy . clickOptionWithText ( group_name ) ;
5859 cy . clickTextOptionWithClass ( ".ant-typography" , group_name ) ;
@@ -76,7 +77,7 @@ describe("create and manage group", () => {
7677
7778 it ( "update group info" , ( ) => {
7879 cy . visit ( "/settings/identities/groups" ) ;
79- cy . waitTextVisible ( "Platform " ) ;
80+ cy . waitTextVisible ( "Settings " ) ;
8081 cy . clickOptionWithText ( group_name ) ;
8182 cy . clickOptionWithSpecificClass ( ".ant-typography" , 0 ) ;
8283 cy . clickOptionWithTestId ( "EditOutlinedIcon" ) ;
@@ -94,7 +95,7 @@ describe("create and manage group", () => {
9495
9596 it ( "user verify to edit the discription" , ( ) => {
9697 cy . visit ( "/settings/identities/groups" ) ;
97- cy . waitTextVisible ( "Platform " ) ;
98+ cy . waitTextVisible ( "Settings " ) ;
9899 cy . contains ( `Test group EDITED ${ test_id } ` ) . should ( "be.visible" ) . click ( ) ;
99100 cy . get ( '[data-testid="EditOutlinedIcon"]' ) . eq ( 1 ) . click ( ) ;
100101 cy . contains ( "Test group description" ) . should ( "be.visible" ) . type ( " EDITED" ) ;
@@ -107,7 +108,7 @@ describe("create and manage group", () => {
107108
108109 it ( "user verify to add the owner" , ( ) => {
109110 cy . visit ( "/settings/identities/groups" ) ;
110- cy . waitTextVisible ( "Platform " ) ;
111+ cy . waitTextVisible ( "Settings " ) ;
111112 cy . contains ( `Test group EDITED ${ test_id } ` ) . should ( "be.visible" ) . click ( ) ;
112113 cy . get ( ".anticon.anticon-plus" ) . click ( ) ;
113114 cy . get ( '[aria-label="Close"]' ) . should ( "be.visible" ) ;
@@ -125,7 +126,7 @@ describe("create and manage group", () => {
125126
126127 it ( "test User verify group participation" , ( ) => {
127128 cy . visit ( "/settings/identities/groups" ) ;
128- cy . waitTextVisible ( "Platform " ) ;
129+ cy . waitTextVisible ( "Settings " ) ;
129130 cy . hideOnboardingTour ( ) ;
130131 cy . clickOptionWithText ( `Test group EDITED ${ test_id } ` ) ;
131132 cy . get ( ".ant-tabs-tab" ) . contains ( "Members" ) . click ( ) ;
@@ -134,7 +135,7 @@ describe("create and manage group", () => {
134135
135136 it ( "remove group" , ( ) => {
136137 cy . visit ( "/settings/identities/groups" ) ;
137- cy . waitTextVisible ( "Platform " ) ;
138+ cy . waitTextVisible ( "Settings " ) ;
138139 cy . get (
139140 `[href="/group/urn:li:corpGroup:${ test_id } "]` ,
140141 ) . openThreeDotDropdown ( ) ;
0 commit comments