@@ -22,29 +22,34 @@ describe('Org Notifications page', () => {
2222 } ) ;
2323
2424 it ( 'Adds Slack notification' , ( ) => {
25+ cy . waitForNetworkIdle ( '@idle' , 1000 ) ;
2526 const slackData = testData . organizations . notifications . slack ;
2627
2728 notifications . doAddNotification ( 'slack' , slackData ) ;
2829 } ) ;
2930 it ( 'Adds Rocketchat notification' , ( ) => {
31+ cy . waitForNetworkIdle ( '@idle' , 1000 ) ;
3032 const rocketData = testData . organizations . notifications . rocketChat ;
3133 notifications . doAddNotification ( 'rocketChat' , rocketData ) ;
3234 } ) ;
3335 it ( 'Adds Teams notification' , ( ) => {
36+ cy . waitForNetworkIdle ( '@idle' , 1000 ) ;
3437 const teamsData = testData . organizations . notifications . teams ;
3538 notifications . doAddNotification ( 'teams' , teamsData ) ;
3639 } ) ;
3740 it ( 'Adds Email notification' , ( ) => {
41+ cy . waitForNetworkIdle ( '@idle' , 1000 ) ;
3842 const emailData = testData . organizations . notifications . email ;
3943 notifications . doAddNotification ( 'email' , emailData ) ;
4044 } ) ;
4145 it ( 'Adds Webhook notification' , ( ) => {
46+ cy . waitForNetworkIdle ( '@idle' , 1000 ) ;
4247 const webhookData = testData . organizations . notifications . webhook ;
4348 notifications . doAddNotification ( 'webhook' , webhookData ) ;
4449 } ) ;
4550
4651 it ( 'Edits notification' , ( ) => {
47- cy . waitForNetworkIdle ( '@idle' , 500 ) ;
52+ cy . waitForNetworkIdle ( '@idle' , 1000 ) ;
4853 notifications . doEditNotification ( ) ;
4954 } ) ;
5055
@@ -57,15 +62,16 @@ describe('Org Notifications page', () => {
5762 slack : { name : slackName } ,
5863 } = testData . organizations . notifications ;
5964
60- cy . waitForNetworkIdle ( '@idle' , 500 ) ;
65+ cy . waitForNetworkIdle ( '@idle' , 1000 ) ;
6166 notifications . doDeleteNotification ( webhooknName ) ;
62- cy . waitForNetworkIdle ( '@idle' , 500 ) ;
67+ cy . waitForNetworkIdle ( '@idle' , 1000 ) ;
6368 notifications . doDeleteNotification ( emailName ) ;
64- cy . waitForNetworkIdle ( '@idle' , 500 ) ;
69+ cy . waitForNetworkIdle ( '@idle' , 1000 ) ;
6570 notifications . doDeleteNotification ( teamsName ) ;
66- cy . waitForNetworkIdle ( '@idle' , 500 ) ;
71+ cy . waitForNetworkIdle ( '@idle' , 1000 ) ;
6772 notifications . doDeleteNotification ( rocketChatName ) ;
68- cy . waitForNetworkIdle ( '@idle' , 500 ) ;
73+ cy . waitForNetworkIdle ( '@idle' , 1000 ) ;
6974 notifications . doDeleteNotification ( slackName ) ;
75+ cy . waitForNetworkIdle ( '@idle' , 1000 ) ;
7076 } ) ;
7177} ) ;
0 commit comments