'Is there any way to set Priority for any test case like we have in TestNG during execution in Cypress?

I have a suite name "Customer Profile" in the Customer.spec.js file, under that there are many 'it' blocks like below. here I want to run the 'Delete profile' Test case at the end of the suite as it is dependent on creating customers and sharing the same user_id to update and manage customers. #Note: I want this to be at the Test case level.

describe('Customer profile',function(){

it('Create Customer', function(){ });

it('Edit Customer Customer', function(){ });

it('Manage Customer', function(){ });

it('Delete Customer', function(){ });

})



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source